What's the difference between a payment preview and a payment?

A preview is read-only: it computes subtotal, tax, and total with no side effects, so call it freely as the user changes quantities, addresses, or coupons on a cart page. Creating a payment is the write step — it persists the payment and creates the Stripe PaymentIntent ready to confirm — so call it once, when the user clicks Pay.

Read more about this in the documentation

Related questions

Still need help?

If this didn't answer your question, our team is one message away.

Contact support