#Mukesh Gupta

1 messages · Page 1 of 1 (latest)

gaunt tideBOT
toxic granite
#

Hello Vanya

ocean star
#

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

toxic granite
#

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

ocean star
#

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

toxic granite
#

actually I do not have that id, but this happens always. I can send you video for the same

ocean star
#

Please do.

toxic granite
#

it is stripe console where u can see that payment was charged

#

you see ?

ocean star
#

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?

toxic granite
#

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

ocean star
#

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.

toxic granite
#

yes, and how I will know the status ?

#

is there some track id ?

ocean star
#

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.

toxic granite
#

hmm

#

actually my client is pushing for this issue a lot

#

and he had issues with his customer

ocean star
#

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.