Home > database >  Stripe is not returning PaymentIntentId
Stripe is not returning PaymentIntentId

Time:01-30

I i am using using Stripe.Checkout; everything is working fine but I can not get PaymentIntentId

I tried to change the stripe mode but what I want is only for testing

CodePudding user response:

When you use Stripe Checkout, you won't have a PaymentIntent, but will have a CheckoutSession instead. Only after the Checkout Session is successfully paid by the customer, you will have a successful PaymentIntent inside the checkout.session.completed webhook event.

  • Related