Check User's Stripe Subscription

I am using the Stripe plugin built by Bubble and it is working fine with payments and processing.

Basically, I have a button and behind this button is a page for paid users only to access. I currently have it so that if a user clicks on the button, then a popup displays for them to choose which Stripe plan they would liike (unless they have already paid for it via the app). The dilemma is that users will be subscribing via the app and a website built on a different platform, the common ground being Stripe. My goal is that Stripe recognizes the user’s email and knows which plan they have paid for on either the app or website.

I have seen API Connector recommended to accomplish this but I am unsure of how to integrate that.

Please let me know how I could go about resolving this.

You should setup Stripe webhooks so that when someone pays on a different platform, you can receive a webhook and upgrade their account automatically.

In terms of the other website, would they already have an account created on your bubble app?

T
Learn no code → nocodify.com

1 Like

If the user uses the same email address when they purchase the subscription and to signup for your application, that shouldn’t be a problem. Stripe creates a ‘customer’ object and that customer object has an email address attached to it. You can very easily setup an API call to get the customer object from stripe when a user sign up for your app and then from that you can access the data related to any subscriptions they have.

If the user is already signed up to your app and they go to a different website to purchase a subscription, a webhook can be setup to provide the event notification to your application. You would then be able to run workflow actions to process the users subscription status and reference the customers email address to make the changes in your database to the correct User.

If you are looking to learn all you should know for setting up a Stripe Integration and have full control and autonomy of how it functions for your unique use case, consider checking out my stripe integration course. It covers everything from creating customers in Stripe and your database, webhooks, api calls, shopping cart for multiple subscriptions (think 1 subscription to access blog content and a second subscription to access video content) and more. I created it to allow others to ensure the most important feature of their application (monetization) is done properly and they have all the knowledge they need to maintain it and customize it.

Learn More

Boston85719 is an expert Bubbler with a decade experience as an educator. Real name Matthew, he has been actively building SaaS apps, marketplace apps, scheduling apps and more for clients, himself and for sale as templates.

As an official Bubble Bootcamp Instructor, he leads Bubble Bootcamps on a regular basis.

Always willing to offer advice via the Bubble Forum, Matthew also offers Private Personal and Group Training Sessions.

Through his site, NoCodeTrainer, Matthew provides a range of tutorials with editor access to help you jumpstart your Bubble development.

Always accessible you can send Matthew a private message via the forum or send an email directly with your requests.

Be sure to checkout the Stripe Integration Course when you are ready to integrate Stripe payments to start monetizing your application via product sales or subscriptions.

Stripe Integration Course

NoCodeTrainer.com

1 Like

Thank you. I will begin looking into webhooks and how to use it.

To answer your question, not necessarily. On the website there will be a Flipbook, the user will then have to pay for the Flipbook. If the same user signs up for an account via the app, I want Stripe to scan the list of emails in the paid database and give the user access based on their email address.