#b.v-checkout

1 messages · Page 1 of 1 (latest)

tawdry pond
#

Hi! If you use Checkout Session, then the PaymentIntent will be automatically created for you.

harsh flax
#

Oh, okay. Let me rephrase. If i create payment with payment intent will my customer still get an email with a link to payment page which stripe generated? I'm not sure if that page is the same as Checkout session?

tawdry pond
#

If you manually create a PaymentIntent, then you need to build a page to collect the payment details yourself with Payment Element, and no emails will be sent (unless you meant a receipt after the payment).
If you use Checkout Session, everythign is handled for you. That's why we recommend useing Checkout Sessions.

harsh flax
#

Okay, thanks. And can i add idempotency key to that checkout session to avoid duplicate payments?

tawdry pond
#

Yes you can add idempotency keys to all Stripe requests.

#

That could prevent you from creating duplicate Checkout Sessions.