Magento Cash on Delivery Verification Extension

Page 1

Cash On Delivery Verification for Magento 2

Cash On Delivery Verification Extension for Magento 2 by MageComp helps store owners to avoid bogus & fake orders by verifying customers’ mobile number when they prefer cash on delivery payment method.

Table of Content

1. Configuration

2. SMS Gateway API Settings

3. OTP Text Settings

4. Test SMS API

5. COD Verification on Checkout

6. Phone Number Validation

1. Configuration

Note:

If you don’t want all SMS add-ons to be installed, you can go for any one SMS addon installation.

For example, Magecomp_Mobileloginmsg91

● SMS Addons are already added to our standard extension package.

● One SMS Addon is required to get a dropdown in SMS API configuration.

Once you have successfully installed the extension, go to Store -> Configuration to configure the extension for use.

● Cash On Delivery Verification: Option to enable or disable Cash on Delivery Verification extension.

● Custom title: Type title to display on store frontend checkout.

2. SMS Gateway API Settings

To verify customer mobile numbers for using the COD payment method, we have integrated the extension with 3 different API Gateways to send OTP messages.

● SMS Gateway: You can select your preferred SMS Gateway from the dropdown option.

● OTP String Type: Select the string type you want to use, either Numeric or Alphanumeric.

● OTP String Length: Select your OTP String length between 1 to 10.

Bulk SMS: By selecting “Bulk SMS” as Gateway, you need to enter the following details to send OTP texts.

MSG91: By selecting “MSG91” as Gateway, you need to enter the following details to send OTP texts.

Twilio: By selecting “Twilio” as Gateway, you need to enter the following details to send OTP texts.

3. OTP Text Settings

The admin can set custom text for sending OTP to customers’ mobile numbers.

● Send OTP Text: Set a custom message for OTP.

● Resend OTP Text: Set a custom message for resend OTP.

If you have selected Msg91 as your SMS Gateway and set DLT Template as your API, the OTP Text Settings will have the following fields.

If you have selected Msg91 as your SMS Gateway and set Campaign Name as your API, the OTP Text Settings will have the following fields.

4. Test SMS API

The extension features test extension functionality of sending OTP message. Simply enter the testing number and message to receive as a part of testing to check whether the functionality of sending OTP is working.

5. COD Verification on Checkout

Once customers add products to their cart, proceed to checkout and select cash on the delivery payment method, they are required to verify their mobile number through OTP. On click of the “Send OTP” button, the extension will send OTP to the billing address mobile number.

Once you get OTP, you have to add it in the text box and click the button to verify your mobile number. Else you can wait or use the “Resend OTP” button to send OTP again.

During the Cash on delivery verification process, if the customer aborts the operation and tries to proceed further, the extension will show an error.

6. Phone Number Validation

The admin can validate the mobile number based on the country.

● Show or Hide Country Flag in Mobile Number Field: Enable phone number validation from here.

● Country Digits: Set phone number digits for various countries.

Once the admin sets the phone number validation from the backend, it will be activated in the front end.

Phone number validation on the frontend shipping page

Phone number validation on the frontend billing page

If anything goes wrong, please contact us at support@magecomp.com

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.