Skip to content

Phone OTP Login & Registration changelog

All notable changes to Phone OTP Login & Registration (kv_phone_otp_login) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • WhatsApp Cloud API: stores that installed 1.0.1 through the CS-Cart Upgrade Center kept the old default Graph API version v23.0 (the move to v25.0 was skipped on that path; Meta supports v23.0 only until 2027-10-08, after which WhatsApp codes would fail). The move is now done once on the first synchronization of this release, whichever way the add-on was upgraded: a stored value of exactly v23.0 becomes v25.0, then a flag is set and later choices of the merchant (including v23.0) are never changed again. The old default and a deliberately entered v23.0 look the same, so a store that chose v23.0 on purpose is moved once as well; enter it again if you need it. Any other version is never touched. Settings and data are kept.
  • Rate limits can no longer be bypassed with a forged X-Forwarded-For header; new “Trusted proxies” setting (Settings > Client IP). Before, the per-IP limits of code requests and wrong codes used the visitor address from CS-Cart’s fn_get_ip(), which believes X-Forwarded-For and other headers any visitor can send, so sending a new fake address with every request reset the limit. The add-on now uses the connection address (IPv6 visitors are counted per /64 network) and reads a forwarded header only from a proxy: it works out of the box behind Cloudflare (the official ranges are built in) and behind private reverse proxies such as nginx, Varnish (the 4.21 full page cache) or a load balancer on a loopback or private address, where X-Forwarded-For is read from the right and the first non-proxy address is the visitor. A proxy with a public address goes into the new “Trusted proxies” list; $config['kv_client_ip_mode'] / $config['kv_client_ip_trusted_proxies'] in config.local.php set it for every Kavio Labs add-on. Settings and data are kept on upgrade.
  • WhatsApp Cloud API: the default Graph API version is now v25.0, the version of Meta’s current authentication-template documentation (v23.0 is supported by Meta only until 2027-10-08). The upgrade moves stores that still have the old default; a version entered by the merchant is kept.
  • WhatsApp Cloud API: Graph error code 1 (invalid request) is no longer reported as a temporary error.
  • Sign in with phone number under every sign-in form (header pop-up, sign-in page, checkout) with a one-time code by SMS or WhatsApp.
  • Registration by phone with a short form (name and e-mail configurable), and phone verification in the customer profile.
  • Providers: Twilio, any SMS gateway with an HTTP API, WhatsApp Cloud API authentication templates (copy-code button), WhatsApp with SMS fallback; test mode with codes on screen for test numbers.
  • Security: hashed and expiring codes bound to the session, limited attempts, rate limits per number, IP address and store, allowed countries, no account discovery, CSRF-checked requests.
  • Number handling: E.164 normalisation, country selector with calling codes, matching of numbers saved in customer profiles.
  • Sign-in log with filters and a provider test send.
  • Domain-bound licence check and self-healing upgrades.