About Customer Verification FOR COD
While e-commerce companies want to make it easy for their customers to order via Cash on Delivery, they face a lot of issues in the form on cancellations and bogus orders. Companies try to optimize and streamline their operations and supply chain and these cancellations cost money and are a real pain to handle. When companies do not use cash on delivery verification, the operational costs become prohibitive and as a result, some companies have grudgingly moved towards purely online payments.
This extension helps you to verify the customer’s contact number and take their confirmation regarding the order which they have placed using your website portal.This would be required in case of Cash on Delivery orders.
When customer’s using Cash on Delivery as a payment method, they will be asked to enter a One-Time password in order to complete the order. This One- Time password will be sent to their billing address mobile number.
- This extension will help you to avoid fake online cash on delivery orders by confirming the orders through OTP code confirmation.
- Automatic SMS’s are triggered to the customer when he places a Cash on Delivery order online.
- All details are captured in real time without any human intervention.
- SMS verification message can be configured.
- Automated number format checking.
- Worked with any SMS gateway.
Note: The store owner must have to purchase the sms from sms provider and set the sms api detail and credential in admin along with sms message detail.
Your magento 2 extensions can be installed in a few minutes by going through these following steps
Step 1: Download/purchase the extension
Step 2: Unzip the file in a temporary directory
Step 3: Paste “CODOrderVerification” folder into MagentoRoot/app/code/Doyenhub directory.
Step 4: Disable the cache under System >> Cache Management
Step 5: Enter the following at the command line to setup extension:
bin/magento module:enable Doyenhub_CODOrderVerification –clear-static-content
Note: Clear the store cache, clear your browser cache, domain cookies, and refresh the page.
If you change theme from admin you have to remove pub/static and re-deploy pub/static.
Enter the following at the command line to setup extension:
bin/magento module:disable Doyenhub_CODOrderVerification –clear-static-content
1. Go to, Store >> Configuration >> Doyenhub >> COD Order Verification
Enabled Yes/No (Select ‘Yes’ to enable the extension)
2. Configure SMS gateway settings
Sending Method Get/Post Number Format International number with or without + sign Username SMS gateway username Password SMS gateway password Mobile Number Test SMS receiver mobile number URL SMS gateway url Parameters SMS gateway parameters Download Sample Download the sample file of mobile number regular expression. Export Download the file of mobile number regular expression. Import Import CSV of country mobile number regular expression. Regex Replace preg_replace pattern phone number format. By default, /\.| |\-|\(|\)/ replaces ‘.’, spaces, ‘-‘, ‘(‘ and ‘)’. Do not modify unless necessary. Record Logs Yes/no, Record logs when trying to submit SMS in doyenhub_codorder_verificationlogs.log. NOTE: Store in var/log folder SMS Sending Test Test Now, your sms gateway is working or not.
3. OTP Labels and Messages
Title Link Add title of link for checkout page Title Label Add label of title for checkout page Place Order Error Message Add place order error message OTP Send Error Message Add OTP send error message OTP Send Success Message Add OTP send success message OTP Message Add OTP message of COD verification, ##OTP## this variable used for OTP unique code.
You can enable/disable COD order verification functionality as per your requirement.
2. SMS gateway settings
Parameters: SMS gateway parameters
Download Sample: Download the sample file of mobile number regular expression
Regex Replace: preg_replace pattern phone number format. By default, /\.| |\-|\(|\)/ replaces ‘.’, spaces, ‘-‘, ‘(‘ and ‘)’. Do not modify unless necessary.
Record Logs: Yes/no, Record logs when trying to submit SMS in doyenhub_codorder_verificationlogs.log
NOTE: Store in var/log folder