Verification After Login (E-Mail Or Sms)


I am dealing with sensitive data in my webshop and customers will sometimes have to enter health care information when ordering products.

Therefore I need to make sure that the person logging in is in fact that person, and I would therefore like the customer to have to enter a random code sent to their email after every login to verify that they have access to their login-email before they are able to proceed to the order section or view their order details (which for some products may contains sensitive data).


  1. customer logs in to their customer account with their e-mail and password.
  2. customer receives a code via e-mail, and have to enter it to proceed.
  3. customer is logged in and can view their orders containing sensitive data.

    If they fail step number 2 they are not allowed to view their order and have not successfully logged in.

    To complicate it a bit more, I would only like the customer to to do this if they have order one of two products. if their order does not contain one of these two products they should not have to go through the steps outlined above in order to view their order details (or log in to their account).

    Is anyone able to help or have anyone done anything similar?

    PS! I am also open for SMS verification instead of e-mail if that makes it easier

    Thanks! :grin:

    Best regards


Not difficult if products don't change.

Couple of things are not clear.[list]

[]Assuming this is for any order that contains one or more of the products?

]Or just the last order?

[*]Or is this only when trying to view the order? Then your logic would change considerably.


Click the link in my signature for Get a Quote and we can more fully flush out your requirements and get you a quote for the work.

Having experience both this sms and email validation, we will be glad to help you to create this modification. Feel free to contact us using the link from my signature.

Dear Simenkl,

We'd like to help you with this modification.

Contact us to know the price and the timeframes.

More information about us

Best regards, Alt-team.