-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow setting a network timeout value #234
Comments
Hello @Jenrykster |
It gets stuck on the first screen right after the transaction starts. I was debugging it by turning off the Android device's wifi right before the sumup activity started. I'll try to provide an example video later. |
Sorry for the delay on providing the video. Just to be clear I turned off my internet connection right before clicking on "Cartão" (card payment) to reproduce this issue. Screen.Recording.2024-12-08.at.10.32.32.movThis is the current behavior. But the time spent on the "processing" screen varies randomly, and some of my users have been reporting very long times where they can't interact with the app. |
@Jenrykster thanks for the video 🙏 |
Yeah of course, the app from the video is made using react native so the code below is part of a native module. SumUpPayment payment = SumUpPayment.builder().total(new BigDecimal(value))
.currency(SumUpPayment.Currency.BRL)
.title(title).skipSuccessScreen().build();
SumUpAPI.checkout(activity, payment, REQUEST_CODE_PAYMENT); I guess that the "processing screen" appears right after the call to |
Thanks for the detailed bug report. We will look into it and return to you if any other input is needed. I appreciate 🙏 |
I've noticed that sometimes my app gets stuck on the first "Processing" screen if the network is unstable. Is there any way I can set a fixed timeout so that the user can retry the payment process? Currently, it randomly takes from 20 seconds to 3 minutes for the SDK to return the user to the previous activity.
I could also implement the timeout inside my app but I couldn't find a method that allows me to forcefully cancel the checkout.
The text was updated successfully, but these errors were encountered: