Condition to check if a user has a stripe subscription

Is there any way to check if a user has a subscription?
Because I tried checking if stripe subscription id not empty and it brought wrong results

If a subscription ID is attached to a user, so the user is subscribed or has been subscribed.

Could you please tell us more about the problem? And which plugin you use for Stripe?

Hey @tomerlan5

I am not sure if you are using the Bubble Stripe Plugin or another one.

If you are using the Bubble Plugin, there is an option here:

Screen Shot 2021-03-12 at 10.50.03 AM

This is how you can tell if the user has an ‘active’ subscription or not.

Hope that helps! :blush:


For All Your No-Code Education Needs:

  • One-on-One Tutoring
  • eLearning Hub
  • Video Tutorials

I am using bubble’s stripe plugin.
I tried cancel all subscription on a user action, and the to check subscription ID on the user and it did not follow through as expected, the is empty failed and returned false.
J805 solution might work need to test it out.

1 Like

But when canceled, the subscription is not empty, it’s not active, as stated by @J805

There’s another way to manage subscription monitoring : stripe webhooks. And it works fine, without lot of processing and custom home made workflows.