Magento 2 Order Verification

Magento 2 Order Verification extension help prevent fake orders by validating the orders at the checkout, via OTP sent to the mobile numbers.

 

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. API Settings
  4. OTP Custom Message Settings
  5. Order Verification in Frontend

 

  1. Extension Installation
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
    • php bin/magento cache:flush
  • That’s it.

 

  1. Configuration
    For configuring the extension, log in to Magento 2, move to Stores > Configuration > Order Verification where you can find various settings to enable the extension.
  • Order Verification: Enable the Order Verification extension from here.
  • Enable for Payment methods: Select payment methods for which you want to enable order verification.
  • Allowed Customer Groups: Select the customer groups for which you want to enable order verification.


  

  1. API Settings
    Here, you can select the SMS gateway to send SMS for the order verification. Make SMS gateway API settings here.
  • API Provider: Select the SMS gateway API.
  • Sender ID: Enter sender ID provided by the SMS gateway while registration.
  • API Key: Enter API key provided by the SMS gateway while registration.
  • API URL: Enter API URL provided by the SMS gateway while registration.
  • Message Type: Select the message type you are going to send for the order verification.
  • OTP Length: Set length of the OTP for the order verification.


  

 

  1. OTP Custom Message Settings
    Here, you can set customer text for the OTP SMS you will be sending to the customers for the order verification.
  • Send OTP Text: Add text for sending OTP to the customers.
  • Resend OTP Text: Enter text for the resend OTP message to the customers.


  

  1. Order Verification in Frontend
    Once the extension is enabled, whenever a customer of a specific customer group tries to place an order using a specified payment method, he gets OTP message on the registered mobile number for the order verification.
     

 

  • OTP SMS on Registered Mobile Number
    Customers get OTP SMS on their registered mobile number.


  

  • Resend OTP
    If customers don’t get OTP SMS, they request “Resend OTP” and they get another OTP SMS on their registered mobile number.


  

 

  • Order Verification Successful
    Once the customer enters the correct OTP and click verify button, order verification success message is displayed and order gets placed successfully.