I’m building a native app with a premium subscription. With the in-apps purchases not having a set launch date, I want to use the workaround with extrernal website and Stripe checkout. I have the website and Stripe checkout link ready but I don’t know how to connect the payment to the user’s app profile. How do I send the payment confirmation from Stripe checkout to update user’s Premium (yes/no) data set? The same goes for cancelling the subscription through Stripe
Thanks for the response @finitejest. I’ve tried to use the Stripe plugin, but haven’t been successful. My question is about the workflow setup.
How do I tell the external website (with the Stripe checkout link) who the user is and when they complete the payment, how do have it tell Bubble that this particular user completed the payment?
You’d need to set up a webhook on the Bubble side to listen to Stripe so you can capture the result of the transaction and update the database accordingly.
I don’t know about how to pass the user via the checkout link. I’ve only ever set it up via API. Is there a URL variable in the link to pass an email address?
The user always needs to enter their email address at the Stripe checkout so this might be something to use for communication between Stripe and the app?