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