This extension is to help verify minimum age requirement on a magento website
1 - Vendor: Lemon
2- module: Veripass
3- create 2 customer custom attributes(is_verifed and id_card)
is_verified is a checkbox
id_card is an image
4 - Create a magento page which is a replica of this [login to view URL]
(just the text and form fields, ignore the design) after the user uploads a picture and his email address, if the email doesn’t exist in the customer
database, throw an error, if the user exist, save the image to the customer attribute (id_card).
5 - Create an admin page or grid where the admin goes and see the people that have uploaded their id_Cards
The admin clicks on the picture to expand it, to verified that the IDcard matches the name of the customer.
If the admin marks the checkbox is_verfied to true/yes, the id_card is deleted and any order that has been put to on hold by the observer is released. see #6
6 - create and observer.
before every order is saved, it first check if the customer age is verified, by checking the custom attribute is_verified. if the attribute returns false/no, you run a function that automatically ping a server through an API and return data, I can provide the function, let’s call it verify_age()
here are the params: customer_id, customer_firstname,customer_lastname,address,city,state,postcode,
if the function returns “Fail” we send an email to the customer and ask him to upload an IDcard to the page that you just created see #4
If the function return “Pass”, we do nothing.
I have a limited budget of $250. great for a beginner looking for reviews.