Stripe Subscription Integration - Asking for Email & Address

Hey there,
I’m trying to create a subscription based stripe payment gateway.
For export of service, its giving an error stating its mandatory for customer email & address.

I tried using the Stripe plugin by Bubble. It doesn’t have any input fields for Email or address.
Please help!

I tried setting up Stripe.js. It’s too complicated.

I want to set up a recurring subscription. What’s the easiest & safest way to do it?

hey there :slight_smile:

For this particular use-case - I’d totally recommend revisiting standard Bubble plugin.
I love Stripe.js, but right now - simple Bubble one is the way to go here.

The email\address is entered directly to stripe on the UI elements that they are serving within the plugin - make sure your user is logged in when you’re triggering interaction with stripe for your users, and you should be fine.

Cheers!

Thank you for the quick assistance bro. How can I block access to content if someone is not subscribed to a stripe plan?

Something like Hide if current user is subscribed to plan

For that you’ll need to use Stripe Webhooks, and enable an API in your app that will wait for Stripe to come and say there is a problem with a particular subscription payment.

Meaning, you can have the User Status field equals to Active - meaning all is well and user is paying for his stuff.

But if there is an issue with the payment - you’ll need to configure Stripe to call your Bubble App’s API to tell that there is an issue with a particular user payment.

Then you may change your User Status to Suspended, and disable the content\block the access until the user pays.

It sounds tricky, but it actually isn’t :slight_smile:
Give it a shot!

Can you guide me on how to set it up? An hour consultation or something?

I can’t, but I think guys at Copilot are prolly one of the best at handling payments and stuff :slight_smile:

I would suggest either looking into their course curriculum, or reaching out to them direcrly coaching on the payment set up for your case.

Cheers!