Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tap to Pay] Is there a way to cancel the payment screen on iOS? #682

Open
phil-moonward opened this issue May 2, 2024 · 1 comment
Open

Comments

@phil-moonward
Copy link

Currently I am unable to programatically dismiss the screen that prompts the user to tap their card to pay on iOS. I would like to be able to set a manual timeout, currently Apple just informs the user that the reader has timed out and prompts them to try again. I thought this might not be possible due to restrictions by Apple, until I came across this in their documentation. https://developer.apple.com/documentation/proximityreader/paymentcardreadersession/cancelread()

Is there any way to achieve this using the Stripe RN SDK? I have tried a few methods following what's written in the docs & SDK reference with no luck.

@nazli-stripe
Copy link
Collaborator

Hey @phil-moonward unfortunately this is not supported by the native iOS SDK today, but the team is going to add support in an upcoming release. Once it's released on iOS SDK we'll include it in RN SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants