Chatrixa Developers

PrestaShop Module

WhatsApp phone verification for PrestaShop 1.7 / 8 checkout and address forms.

Download: chatrixaotp.zip

What it does

Requirements

Installation

  1. Download chatrixaotp.zip above.
  2. In the PrestaShop back office: Modules → Module Manager → Upload a module, choose the zip.
  3. Open the module configuration:
    • Enable checkout verification
    • Chatrixa URL — e.g. https://chatrixa.com
    • API Token — from Chatrixa → Developer Tools → Access Tokens (full access, or Specific permissions with Send and verify OTP codes — otp:send)
    • Optional template name and language
  4. Save.

How it works

Piece Role
displayHeader hook Registers the widget JS on order and address pages
Front controller module/chatrixaotp/verify AJAX send / check actions proxied to the Chatrixa OTP API
actionValidateCustomerAddressForm hook Adds a validation error to the phone field when it has not been verified

The verified number lives in the signed customer cookie and enforcement runs in server-side form validation, so it cannot be skipped by manipulating the widget. Enforcement scope: it applies whenever an address form with a phone field is submitted (new address, or editing an existing one). A returning customer who reuses an already-saved address without editing it is not re-verified.