What can you tell me about "Current Subscription" - Bubble Stripe Plugin

Quick question for those that know a thing or two about the bubble stripe plugin…

It adds a data field to the user for “Current Subscription” as well as a data field (list) for “all subscriptions”

What I am trying to determine is how bubble populates the “current subscription” field. What does it consider to be the current subscription?

Is it meant to just be a way to handle workflows and actions? Or are there other properties about a subscription (first on the list? most recently created?) that make it the “Current” subscription?

Thanks.

I just did a quick test for you.

Here are my findings.

When you choose ‘Update existing subscription’ it just replaces the subscription each time so there is always just one. So referencing Current User’s Stripe Customer Subscription and Current User’s Stripe Customer Subscriptions will be the same value.

When you don’t, however, it will put the Current User’s Stripe Customer Subscription as the most recent subscription but will have both subscriptions in the Current User’s Stripe Customer Subscriptions list.

Does that help? :blush:

That is helpful.

So the singular subscription is just updated to whatever subscription was worked on or updated recently?

Yeah. It seemed like it was just the most recent one that I updated took that spot.

1 Like