Login workflow issues with Stripe subscription validation and 2-device limit

Hello Bubble Community,

I need help troubleshooting an existing Bubble application. I have been working on this issue for approximately one month and would really appreciate some guidance.

My application includes:

  • User login and signup.

  • Stripe subscriptions (active and trialing).

  • A maximum of two devices per user.

  • Browser Device Information - BEP plugin.

  • A USER_DEVICE data type containing device_id, device_name, user, and is_active.

The problem:

I have experienced login problems and inconsistent device validation. I need existing registered devices to log in normally while blocking a third device.

My login workflow includes:

  1. Log the user in.

  2. Check Stripe subscription status.

  3. Check registered devices.

  4. Register a new device if the user has fewer than two.

  5. Show a device-limit popup and block access when the limit is reached.

What I have already checked:

  • Device fingerprint values.

  • USER_DEVICE search constraints.

  • Workflow conditions.

  • Issue Checker.

  • Subscription status conditions.

I suspect that the subscription validation and device-limit workflows may be interfering with each other, but I have not confirmed the cause.

My questions:

  1. What is the correct workflow order for login, Stripe subscription validation, and a two-device limit?

  2. Could a Terminate Workflow action or conditional logout prevent device registration?

  3. What is the safest way to temporarily disable the device limit without affecting login, Stripe, or user data?

I would prefer to fix the existing workflows rather than rebuild the application.

Any specific suggestions would be greatly appreciated. Thank you!

In similar setups I did the device check first and kept the Stripe check as its own step. A Terminate workflow in the middle can quietly skip the register-device action with no error. To debug, add a temporary popup after each step to see which one actually runs. To switch the limit off safely, put a yes/no setting in the condition of the device step instead of deleting it. Also check the device search isn’t counting old inactive devices.