#swoopdog-PaymentIntent

1 messages · Page 1 of 1 (latest)

primal cairn
#

It's up to you really. Theoretically before confirm you can adjust they PaymentIntent amount as many times as you want. Since it's an "intent" it's make sense to represent a cart

chilly shell
#

Thank you! I have a follow up question. I'm using an idempotency key while creating a payment intent to prevent duplicates.

If I want to do the same while updating the payment intent, do I need to use a different idempotency key for each update request?

primal cairn
#

Yes you should. Idempotency key is only for retrying the exact same request, not for multiple update intentionally

chilly shell
#

Ah ok! Thank you!