#arkalezard
1 messages Ā· Page 1 of 1 (latest)
Hello š
How can I help?
I'm using Stripe Payment Sheet in my Kotlin application, and I found an unexpected issue with how it works. I'm looking for ways to make the payment process smoother for my users.
Here's the situation:
- I'm using the latest Stripe Payment Sheet SDK.
- My app requests 3D Secure (3DS) authentication for every transaction.
- Sometimes, the bank asks the user to complete a challenge on their bank account.
Here are the steps:
- The user opens the Stripe Payment Sheet.
- They enter their credit card details.
- The bank asks for a challenge.
- The user closes the Stripe sheet in my app
- Then, they go to their bank app and complete the challenge.
The problem is that even though the purchase is successful, the app doesn't show this information right away. It only updates in the background after the Stripe sheet is closed.
I want to improve this process:
- Is there a way to check if a previous transaction is still pending when I open the Stripe Payment Sheet? This would help avoid multiple transactions happening at the same time.
- Do you have any ideas on how to make the experience better for our customers? This current behavior is causing issues with customer support and sometimes results in double purchases.
Thank you for your help!
I'm a bit confused by this part
- The user closes the Stripe sheet in my app
- Then, they go to their bank app and complete the challenge.
PaymentSheet is equipped to handle 3DS redirects so there's no need to close the sheet and switch the apps
My customers are not all engineers⦠sometimes they are lost
They are closing the stripe sheet that called the 3DS validation in progress
One thing you could do is before they click on the button that presents payment sheet, you can add a text that "please don't close this sheet until payment is complete"
Aside from that, you could temporarily store the PaymentIntent ID that you're confirming
They are not good reader neither
and retrieve its status when the user comes back to the app
And is it possible to reopen a sheet with this id?
Is it possible to cancel this transaction when we are closing the sheet?
You could
How exactly are they closing the sheet?
by clicking the close button or minimizing the app?
Itās dismiss as any sheet in an app.
We didnāt customize your stuff
Close button āļø
By minimizing the app, user is keeping their sheet alive š
So when they dismiss the payment sheet, it should trigger the PaymentSheetResult.Canceled callback
https://stripe.dev/stripe-android/paymentsheet/com.stripe.android.paymentsheet/-payment-sheet-result/index.html
At that point, you could cancel the PaymentIntent