Hi bubblers..
im struggling hard to get this stripe setup to work as i want to.. and hope someone out there have time to can guide me a bit..
to tell a bit about what i have tried and what works and not works…:
to get the data from a checkout session works perfectly.. i get the data i need and want from that event.. but i also need something to define what product/plan they have signed up to because in my application i have some content that you need a specific plan to get..
so i tried to find a way to retrieve the product id and make my restrictions in bubble based on that.. i also by use a webhook for customer.subscription.created get that data from stripe.. but no client reference id so i cant place that data on the user unless i refere to the customer id.. but then if the customer.subscription.created worklow runs before the checkout session it doesnt have the customer id to reference check on.. and the data doesnt get saved..
so alright.. this is crap.. and doesnt work for me.. so i now try to use entitlement features instead to see if i can get that to work as i want it to.. but again.. i dont have a client reference id to reference to and then cant save the data on the user..
i have been trying figuring this out for months now and watch tons of YT videos.. asked a few times in here and written with bubble support.. so i really hope that there is someone out there that can spare some time to help me out with this..
as you can see in the workflow here.. it runs the checkout session with no problem:
but then when i want to run the second workflow where it use the users customer id as a reference it cant find the user: