Public Ticket #3899081

auto approval for certain domain(s)

Closed
Comments
33 Tickets 14
Johan started the conversation 1 year ago on April 7, 2025 at 8:50am

Hi

I need to allow auto approval for customers with certain domains, other are not allowed and should be removed/denied. can you advice on a code snippet for that? Is it possible?



2,762
KingsPlugins replied 1 year ago on April 13, 2025 at 9:02pm

Hi Johan,

In principle something like this is possible and I believe I can help with that code snippet, I just need to understand the specific details of the snippet before I can write it.

 

I understand you're looking to automatically approve B2B registrations from specific email domains, so for example if a user registers with an email like [email protected] that user is automatically approved.

 

For registrations that do not match an approved domain, would you prefer to:
   - Auto-reject these registrations, or
   - Have them go through the normal manual approval process?

 

Also please keep in mind that without email verification, anyone could potentially register using an email from your approved domains.

Kind regards,
Stefan

33 Tickets 14
Johan replied 1 year ago on June 9, 2025 at 2:51pm

I would be intrerested in both ways, maybe in a array so several domains are allowed too. 

sometimes a user is auto rejected, and sometimes manually approved. 


Sign In