Hey everyone ![]()
I’m using the official Stripe plugin in Bubble and I have a subscription working perfectly - the user is subscribed, the subscription ID is saved in the database, and I can access things like the Plan Name using:
Current User’s Stripe Customer subscription’s Plan name
But when I try to display the next billing date by:
Current User’s Stripe Customer subscription’s Current period ending date
it’s not showing data at all . No error, just empty.
How can i show to the user his next billing date?
also - another annoying thing:
when user is purchase - then his db field named “stripe status” is turning to active, which is great
but then, if this is a monthly subscription, then after 1 month, in the next billing data, the subscription is turning into “paid” and not “active”.
those are the webhook i choose (this is what i understand from others that i need to setup):
- customer.subscription.deleted
- customer.subscription.update
- invoice.paid
4.invoice.payment_failed
I have only few things that i want and they are:
-
if i canceled from Stripe the subscription >the user should get in the stripe status field “canceled” > THIS IS WORKING PERFECTLY ALREADY/
-
if in the billing date the charge was made successfully i guess i want to update the stripe status field into “active” even if it’s active already > NOT WORKING YET
-
in in the billing date the charge was not made successfully due to different reasons (no balance in cc, the user dispute the sale, the cc expiration data is over etc) i want to update the user stripe status to> not active or something else> NOT WORKING YET
Thank you so much!