#sunnylbk

1 messages ยท Page 1 of 1 (latest)

placid iceBOT
sinful harness
dusk geyser
#

Got it, thanks!

sinful harness
#

Any time!

dusk geyser
#

On a related note, is there a way to add back button once payment is successful without us having to configure a separate page?

sinful harness
#

You control where your cusotmers are routed when they successfully complete payment via the success_url that you provide when creating the Checkout Session:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-success_url
Similarly, the cancel_url parameter is used to indicate where customers should be directed if they click on the back button in the Checkout Session instead of completing the payment process.

dusk geyser
#

Yes, if we create a checkout session, we can configure this. How do we achieve this if we use Stripe's embedded pricing table? In pricing table configuration, I didn't see an option to redirect to a page, it has option to specify an entire page on sucess. We still want to use Stripe's success page, only that we want the users to be redirected back to where they initiated the payment

placid iceBOT
sinful harness
#

To do that with Pricing Tables, you'll want to select the option to not use a Stripe-provided confirmation page, which allows you to provide the URL that customers should be redirected to upon success:

dusk geyser
#

Got it, thanks!