#Nick Ortega - Update Payment Intent

1 messages · Page 1 of 1 (latest)

vast bloomBOT
dense haven
#

Are you getting an error when you try to update the payment intent?

woven ether
#

Yes I am trying to update the amount on the payment element but its giving me this error

dense haven
#

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

woven ether
#

req_KjLBpS75MT4psQ

dense haven
#

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

woven ether
#

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

dense haven
#

Are you trying to place a hold and then capture a different amount or something?