When the user is authenticated, we make sure to check they're not already subscribed to the current organization before redirecting them to checkout.
There is a workaround though: if they log out, we can't check for that. Thus, we directly redirect to checkout. If they enter the same email, everything goes well. When we receive the new subscription event, we simply reconcile it with the existing user account. And boom! Two subscriptions on the same organization!
Currently I can only see two ways to solve this:
In both cases, this adds lot of friction to the checkout process, so not ideal.
Actually, that's unclear! It's clearly an edge-case.
Besides, other creator platforms (LemonSqueezy, but maybe others) are perfectly fine with creating multiple subscriptions for the same shop. Thus, we may decide to lift that constraint completely.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too