#mlo-checkout-fulfillment
1 messages · Page 1 of 1 (latest)
mlo-checkout-fulfillment
👋 @steel lance You likely want to read https://stripe.com/docs/payments/checkout/fulfill-orders
Otherwise there's https://stripe.com/docs/payments/checkout/custom-success-page too
Clear, but this for the checkout on stripe while if I manage the checkout via my custom frontend?
Ah sure sorry you never mentioned that and you said /success which is more common with Checkout. So how are you integrating exactly? Are you using PaymentElement?
Yes, I miss the success page but I want to create a reconfirmation system before showing data to a person
You didn;t really answer my question about your integration. Are you using PaymentElement? Are you talking about the return_url you configure when you call confirmPayment()?
Yes
Okay so once you get to your success page you should already know who they are. You have a cookie/session with them already since you created their PaymentIntent, know their customer id, etc. So what your code does is on that page on your server you retrieve the PaymentIntent to check its status and whether it was paid successfully or not and then display the result client-side
So you tell me to set a cookie with the payment intent or subscription id.
And check the status on the order success page?