Input fields resetting if going back from Stripe Checkout Page

Hi community!

Im building an app where the user configures some options in a form and depending on the selection the price of the service is X or Y.

The issue is when starting checkout in Stripe Page, in case I want to go back to change some options all input data is lost and I have to start from scratch.

How can I keep the data in case the user clicks back from Stripe Checkout Page?

Thanks & regards

You would have to store the information in a thing, pass the unique id of that thing to stripe as a ‘client_reference_id’ and set your return URL in stripe to send back that unique id in the querystring.

Your bubble page would need to load the record when there is a URL parameter.

Stripe info: Stripe API reference – Create a Checkout Session – PHP

With your stripe integration can you choose the cancel url?