#rock_17

1 messages · Page 1 of 1 (latest)

slate torrentBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

chilly saddle
#

hi there!

#

so you have a failed PaymentIntent, and you want to retry it with a new Payment Method?

crisp thunder
#

Yes

#

What i want to do is when a customer updated the card details then i want to retry their payment

#

But I recieved a stripe error that card attached to the paymentIntent is deleted probably becase it is updated.

chilly saddle
#

can you clarify what you mean by "when a customer updated the card details"? you mean creating a new Payment Method?

crisp thunder
#

I meant that they can add a new payment method yes.

#

If ther card expires then they update it or if they generaly want to change their card

chilly saddle
#

But I recieved a stripe error that card attached to the paymentIntent is deleted probably becase it is updated.
can you share the request ID (req_xxx)? you can find it here https://dashboard.stripe.com/test/logs

crisp thunder
#

req_AMLP0aP3ZeEy0R

chilly saddle
#

thanks! give me a few minutes to look into this.

#

you are trying to confirm a PaymentIntent with a deleted payment method, it's expected not to work.

#

make sure to set payment_method and use the new Payment Method ID when confirming the PaymentIntent

crisp thunder
#

i.e. while retrying the payment I have to set a payment_method also

chilly saddle
#

if you are changing the payment method, then yes

crisp thunder
#

Thankyou very much for your time

chilly saddle
#

happy to help 🙂