#Mukesh Gupta
1 messages · Page 1 of 1 (latest)
Hello Vanya
I am getting issue integrating stripe on adnroid
when pressing pay button on stripe form and press hardware back button, it shows cancelled error but actually the payment is charged
Copying your other messages here.
Hi! Let me help you with this.
Could you please share the request ID? req_xxx
I do not have any request id
i am getting issue with stripe
when user presses pay button and then press hardware back button
it shows cancel message but the payment is charged by stripe
I understand.
To investigate that I need more details about your integration.
When you want to accept a payment with Stripe you usually create a PaymentIntent first. Could you share a PaymentIntent ID please? pi_xxx
actually I do not have that id, but this happens always. I can send you video for the same
Please do.
Here is video
it is stripe console where u can see that payment was charged
you see ?
This expected, as the payment was completed in the popup. As per the back button behavour, it's an inconsistency, as the frontend thinks the payment is still ongoing.
How is Stripe integrated in your app?
I am using presentPaymentSheet method
but above is not correct as user point of view and in app how we can handle this ?
as user will think it is cancelled but actually it is charged
I also tried to block backbutton
but seems when paymentSheet is shown it is not blocked
The ✅ is visible before the back button is clicked, so the user will know that the payment was completed.
I will report to the reponsible team to investigate this.
No. You can keep track of our Changelog in stripe-android. I can only report the issue, but I cannot guaranteed when or if it will be fixed.
hmm
actually my client is pushing for this issue a lot
and he had issues with his customer
I understand. Again, the payment is confirmed ✅ before they click the back button. This makes it a minor UI issue, that's why I can't guarantee a quick resolution.