Stripe - Simple question about "Current period ending date" (not showing anything)

Hey everyone :waving_hand:

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):

  1. customer.subscription.deleted
  2. customer.subscription.update
  3. invoice.paid
    4.invoice.payment_failed

I have only few things that i want and they are:

  1. if i canceled from Stripe the subscription >the user should get in the stripe status field “canceled” > THIS IS WORKING PERFECTLY ALREADY/

  2. 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

  3. 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!

This topic was automatically closed after 70 days. New replies are no longer allowed.