Difference between Checkout.Session and PaymentIntent in STRIPE?

Viewed 1204

I am new to coding so bear my stupid questions. I am working on STRIPE and using NODE JS. Stripe docs are difficult to understand, can anyone help me explaining the difference between Checkout.session.create and PaymentIntent.

Thanks.

1 Answers

Please refer to the Stripe documentation at here

You create Session for fully hosted (pre-built) payment page.

You create PaymentIntent when you need to integrate your custom payment flow.

Related