Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Checkout.Session and PaymentIntent in STRIPE?

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.

like image 948
Imran Abbas Avatar asked Dec 18 '25 16:12

Imran Abbas


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.

like image 150
Ferry To Avatar answered Dec 21 '25 06:12

Ferry To