Docs
address, api, checkout, create, customer, email, have, make, multiple, one, Page, same, subscription, UI, user, restrict
35484171
2020-10-01T06:12:40Z
2025-02-20T05:25:22Z
1129
0
0
248217
Can I restrict having one subscription per customer?
Summary
You can restrict users from creating multiple subscriptions and customer records with the same email address using Chargebee's checkout page in the UI or the API.
If you are using Hosted Pages: Disable “Allow customers to have multiple subscriptions” and make “Email” field mandatory in the Checkout & Self-serve portal. Refer to this article for a detailed explanation.
If you are using APIs:
To restrict users from signing up more than 1 subscription,
On your sign up page, collect the customer's email ID as a primary check.
Once the customer submits their email ID, use our List Customers API, with the email[
Now that you have the customer ID, use our List Subscriptions API, with the customer_id[
Note: You can also use the status filter parameter to fetch only the active subscriptions.
If the response returns with a subscription ID, then the customer already has an active subscription.
If there are no subscription IDs with a response then the customer has no active subscription and they can access the checkout page.
The above workflow requires development effort at your end. Contact support to know more.