-
Notifications
You must be signed in to change notification settings - Fork 993
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
[Feature] Programmatically close the Apple Pay payment sheet? #3558
Comments
I added,
into
as a quick fix, since I want to continue doing the clientSecret check on the api. |
Hello, this feature is not available today but thank you for the suggestion. We revisit our roadmap periodically and will keep this idea in mind. |
@yihong-stripe Any updates on this? In some error scenarios we need to dismiss the Apple Pay sheet in order to show the user an error message. Ideally we'd have access to the It's right there but again it's private so we cant access it. Apple allows this with a straight up Apple Pay implementation; it's the SDK that is limiting this. |
Do you mean @yuki-stripe ? |
Yes sorry! 🤦♂️ |
## Summary See https://stripe.slack.com/archives/C0353FPANQ0/p1736808910348399 ## Motivation https://jira.corp.stripe.com/browse/MOBILESDK-2987 #3558 ## Testing Added unit test, does not actually test we call `cancel` under the hood though. Manually tested calling the cancel API after I receive the payment method: https://github.com/user-attachments/assets/810e8608-771e-4b7e-9b1c-31e4e8f5177b ## Changelog See CHANGELOG
You'll be able to programmatically dismiss the sheet by calling a new |
Awesome I will keep a look out for that thanks @yuki-stripe 🙌 |
This is out in https://github.com/stripe/stripe-ios/releases/tag/24.4.1! |
I really need to be able to programmatically close the Apple Payment sheet, I used to be able to on an older SDK, is it still possible?
Many Thanks
The text was updated successfully, but these errors were encountered: