Integrate OTP with Shopify

To integrate Login OTP with Shopify, you need to first create an OTP widget. This article guides you through the process for different channels — SMS, Email, WhatsApp, and Voice — and provides all necessary references for configuration and testing.


Step 1: Create an OTP Widget

Start by creating an OTP widget in your desired channel.


Step 2: Select Your Communication Channel

Once the OTP widget is created, choose the communication channel for delivering OTPs. Refer to the relevant section below based on your preferred channel.


A. OTP via SMS

To send OTPs through SMS, you must complete the DLT registration process.

References for SMS integration:

  1. DLT Registration Process

  2. Entity Registration on DLT Platform

  3. DLT Header Registration (PingConnect Manual)

  4. SMS Content Approval on DLT Platform

Next Steps:

  • Map your DLT Entity (PE) ID with the approved Header (Sender ID).
    Map your SMS content template on the MSG91 API or Panel.

Note: MSG91 provides a default SMS template to use until your DLT template is approved.


B. OTP via Email

For sending OTPs via Email:

  • Select Email as the channel in your OTP widget.

  • Verify your domain before sending OTPs.

Reference:
Transactional Email Setup on MSG91


C. OTP via WhatsApp

To send OTPs via WhatsApp:

  • Select WhatsApp as the delivery channel in your OTP widget.

Requirements:

  1. Meta Business Account

  2. Fresh phone number

Reference for WhatsApp integration:
WhatsApp Number Integration & Onboarding


D. OTP via Voice

To send OTPs via Voice:

  • Select Voice as the primary channel in your OTP widget.

  • You can use the default voice option (random caller ID) or configure a custom caller ID purchased via MSG91.

References for Voice integration:

  1. Number Subscription for Voice

  2. Using Voice Services on MSG91


Step 3: Test Your OTP Widget

After configuring the widget:

  1. Send a test OTP through your selected channel.

  2. Ensure successful delivery.


Step 4: Integrate with Shopify

Once testing is successful, send an email to [email protected] to integrate the OTP widget with Shopify.