Customers cannot sign up to the same plan twice
  • 26 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Customers cannot sign up to the same plan twice

  • Dark
    Light

Article summary

This rule is designed to prevent any customer from being signed to the same plan more than once.

For example, you offer a free trial plan and don't want customers to be able to sign up to it more than once on the Members Portal or the Passport app while also preventing admins from doing the same on the Admin Panel.

All you need is the ID of the plan that customers shouldn't be able to sign up to more than once.

Don't know know your plan's ID?

Find your plan ID before you get started.


  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click Add rule

  3. Click on Manual entry

  4. Name your validation rule.

  5. Add a Description for your rule to let other admins know what it does at a glance.

  6. Toggle on This rule is active.

  7. Select Contracts in the Record Type drop-down list.

  8. Add the Error message to display if the validation rule is not met.

  9. Add the following code snippet to the Formula field.

record.Tariff.Id <> 123 OR WasInPlan(record, 123) = false OR userHasAnyRoles = true
  1. Replace 123 with your plan ID.

Your validation rule should look similar to the example below, with your own plan ID instead of 123456789.
VR_NoDoubleSignupSamePlan

  1. Click the Save Changes button.


All done! We recommend testing your rule by trying to sell the relevant plan to a dummy customer who's already signed up to this plan. If you receive the error message defined in the rule, you're good to go!


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence