#mlo-checkout-fulfillment

1 messages · Page 1 of 1 (latest)

lofty remnantBOT
pale heron
#

mlo-checkout-fulfillment

steel lance
#

Clear, but this for the checkout on stripe while if I manage the checkout via my custom frontend?

pale heron
#

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?

steel lance
#

Yes, I miss the success page but I want to create a reconfirmation system before showing data to a person

pale heron
#

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()?

steel lance
#

Yes

pale heron
#

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

steel lance
#

So you tell me to set a cookie with the payment intent or subscription id.
And check the status on the order success page?