#harefx.dev-PaymentIntent

1 messages · Page 1 of 1 (latest)

median girder
#

Now with confirm = false, I'm following this flow: Create Payment Intent (BE) -> Generate PaymentElement (FE) -> Confirm Payment

#

This is correct and recommended

#

Creating a PaymentIntent with confirm=true, meaning you want to both creating and confirming at the same time, hence require a PaymentMethod (a Payment Method is required anyway when you want to confirm)

#

That way you create collect Card Information beforehand, then pass to server and let server handle both creation and confirmation at the same time based on the provided PaymentMethod Id