#irisslee95

1 messages · Page 1 of 1 (latest)

winged pewterBOT
balmy jay
#

Payment Intent requires amount to be set. Could you share what the use case is?

lime epoch
#

Hi @balmy jay . I want to create an empty Intent, so I can initialize the Payment Elements in the frontend and then update the amount in the backend.

balmy jay
#

Unfortunately, this is not possible. An amount is required in order to create a Payment Intent

lime epoch
#

So how many ways to initialize Payment Element?

balmy jay
#

Payment Intent and Setup Intent support initialising the Payment Element. If you are going to collect payment method first and charge to customer later, I'd recommend using Setup Intent to save a payment method without amount: https://stripe.com/docs/payments/save-and-reuse

lime epoch
#

Thanks for your support @balmy jay

balmy jay
#

No problem! Happy to help 😄