-
Notifications
You must be signed in to change notification settings - Fork 65
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
Getting stuck in Tap to Pay Screen when using auto-reconnect #338
Comments
@ronzohan Thanks for reporting this issue. I noticed that in the video, you are backgrounding the application immediately after pushing the "pay" button. Does this issue happen if you background the application after the payment screen is already being displayed? Can you share a payment intent when this issue is happening so we can find the logs? |
No, if the payment screen is shown, then when to try to background the app it will simply dismiss the tap to pay payment screen first.
Unfortunately Ron is on holiday until the 10th of Jan. I will try to replicate on my device and if I can replicate then I will reply here with an payment intent id |
Hi @maggiewhite-stripe I did reproduce it once |
I think I found a relative reliable way to reproduce:
|
@yliu342 Thank you! I was able to pull up the logs on our end from |
@yliu342 Apple has asked if you can provide a sysdiagnose (iOS system log file) to help them debug. The instructions on how to collect a sysdiagnose are here: |
Hi @maggiewhite-stripe, if it helps, I've also been able to reproduce it again with this payment intent I've also uploaded the sysdiagnose in this Google Drive link since it was quite large (~300mb) to be attached here in GitHub |
@ronzohan Thank you for the quick response! I shared the sysdiagnose with Apple and the reader serial number for the payment intent you shared. |
Summary
I'm encountering a bug right now that happens when you try to collect payment and then try to background the app. In most occasions, the Tap to Pay screen will just Cancel automatically. But sometimes, the Tap to Pay screen will show up but it will get stuck.
The
TapToPayConnectionConfigurationBuilder
is currently set to auto-reconnect on reader disconnection in the setup above.Code to reproduce
Here is a video showing me trying to reproduce it (at around 00:10 where the Tap to Pay screen gets stuck). https://drive.google.com/file/d/1-FHLkrYrhhFiOqWqUhqAo3PqWlgsEmnV/view?usp=sharing
iOS version
iOS 18.1.1
Installation method
SPM
SDK version
4.1.0
Other information
The text was updated successfully, but these errors were encountered: