Trying to subscribe user to a plan with stripe plugin

hi bubblers..


when i try to subscripe a user to a plan it doesnt go to the payment window but just says “you subscription has been updated” and it retrieves some of the data that i ask for in in the workflow but not all of it..

does anyone have an indea why is that?

It is because your user has already signed up for a plan. You can try logging out, creating a new users, then you can see how the process looks from the beginning if you want. If they already have a subscription, all they are doing is updating it to the plan that you are putting there. Does that make sense?

1 Like

thank you.. that do make sense.. but if i clear out stripe data in the database shouldnt it then indetifies as not have an subscription or what do it use as a refenrece for that?

also.. how do i retrieve the customer id from stripe with this workflow.. it doesnt seem to send that info back again

You can’t clear the stripe data from the database if you are using the Bubble stripe plugin. They are hidden fields. You can show them on the front end and see the values that way. You just access the Customer ID by using Current User’s Stripe… Customer ID or whatever field you need. Like subscription status, etc.

Does that help? :blush:

1 Like

thank you.. that helped a lot.. :smiley:

last question.. because i also see that the data from current_period start and current_period_end gets saved to bubble either with this workflow

The data should be in the Current User’s Stripe Subscription…

1 Like

thank you very much.. that helped alot :smiley:

1 Like

i tried out the end and start date.. it still doesnt save that data in the bubble database on the user

Which field are you looking at specifically? Can you take a screenshot?

i figured a way to do it with a webhook instead :sweat_smile:
but thank you again for you help with the rest of it :blush:

1 Like

Glad you got it working. :blush::raising_hands: