I need a module or extension that will authenticate a domain, perhaps by a group I provide in the admin panel.

I want ONLY users with @apple.com to be allowed to register with my Magento site. They will enter in their email address, a script will verify that it is @apple.com and it will allow that user to register, with an email that will verify their account is ready.

  • 1
    Welcome to Magento.SE! Don't be too put off, but asking shopping questions are frowned upon. – Ben Lessani - Sonassi May 13 '13 at 17:58
  • Hm? this is a Development question – diz0pe May 13 '13 at 19:10
  • @teamsonassi I'm pretty sure this was directly addressed during the Area51 proposal stage, and module recommendations are specifically allowed. Third party modules are such a key part of the Magento ecosystem and a StackExchange site would be worse without them. – Alan Storm May 14 '13 at 1:05
  • @AlanStorm I'm just going off [this]( meta.magento.stackexchange.com/questions/73/…) - where it states overly vague, non-researched questions are not allowed. – Ben Lessani - Sonassi May 14 '13 at 6:55

You could make a very simple extension with an observer hooking into customer_save_before doing any of the validation you require.

You'd probably want to have some JS validation before that though - otherwise, you'll have quite a few annoyed people who have typed in all their details on registration only to be penalised for not being an Apple fanboy apple.com email user.

  • and throw an exception if the validation fails. the message will show up on the frontend – Fabian Blechschmidt May 13 '13 at 18:01
  • I like your example, and your second point--I planning to have multiple stores and I only want validation for that store view. Could this be done that way? – diz0pe May 13 '13 at 19:14
  • 1
    Sure, just put a conditional statement in for the store view. – Ben Lessani - Sonassi May 13 '13 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.