#Nick Ortega - Update Payment Intent
1 messages · Page 1 of 1 (latest)
Are you getting an error when you try to update the payment intent?
Yes I am trying to update the amount on the payment element but its giving me this error
Can you send me that request ID req_KjLB...
Too easy to type the wrong char when trying to figure it out from an image. Text of the IDs and errors are very helpful
req_KjLBpS75MT4psQ
So the error message is
"This PaymentIntent's payment_method_types could not be updated because it has a status of succeeded. You may only update the payment_method_types of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action.",
So that means the payment is already successful. Did you maybe mix up the payment intent IDs? Or is your integration actually trying to change this after the payment was successful?
Nick Ortega - Update Payment Intent
What I am trying to do is just change the amount that the initial create PaymentIntent has, and I'm trying to update the amount via update PaymentIntent but it looks like I am trying to update it too late
The image on the left is the initial amount, and the $50 is what I am trying to change the amount but its not working and I am not sure where I am going wrong
That code looks fine from what I can see, the issue with that specific payment intent is that you confirmed the payment client side before trying to update it
Client side confirmation: https://dashboard.stripe.com/test/logs/req_ETiL4AnHRZPFSX
Update call after: https://dashboard.stripe.com/test/logs/req_KjLBpS75MT4psQ
Are you trying to place a hold and then capture a different amount or something?