Installation
Overview · Configuration · Usage · Developer notes · FAQ
Requirements
Section titled “Requirements”- CS-Cart or CS-Cart Multi-Vendor 4.17.2 – 4.21.x, PHP 7.2.5 – 8.3 with the cURL extension.
- For live use, one provider account: Twilio, another SMS gateway with an HTTP API, or a WhatsApp Business account on the Cloud API with an approved template of the Authentication category. Test mode needs nothing.
- No cron job is needed.
Install
Section titled “Install”- In the admin panel go to Add-ons → Manage add-ons, click the + (Upload & install add-on) button and upload
kv_phone_otp_login-1.0.0.zip. - The add-on is installed and switched on in test mode: nothing is sent, and for the test numbers in the settings the code is shown on the sign-in page. Try the flow on the storefront: Sign in → Sign in with phone number.
- Enter your license key on the License tab of the settings (see License). Without a key the add-on works for 14 days.
- Connect a provider on the SMS or WhatsApp tab, send yourself a code with Users → Phone sign-in log → Send a test code, then set Send codes by to SMS or WhatsApp.
- Limit Allowed countries to the countries you sell to.
Upgrading
Section titled “Upgrading”Upload the new zip over the installed add-on in Add-ons → Manage add-ons (or install the Upgrade Center package). Settings, verified numbers and the log are kept. On the next admin page the add-on completes the upgrade by itself (new tables, settings and texts are added).
Uninstalling
Section titled “Uninstalling”Add-ons → Manage add-ons → Phone OTP Login & Registration → Uninstall removes the add-on’s tables (verified numbers, codes, log), settings and texts. Customer accounts stay; customers who registered by phone can set a password with Forgot your password? if they have an e-mail address, or you can set one for them in the admin panel.