Sweetmag delivered this in two connected phases: an OTP security upgrade, followed by a full technical audit and platform stabilisation once checkout issues emerged.
OTP Migration: Twilio to Firemobile
Sweetmag migrated AA Pharmacy's OTP verification from Twilio to Firemobile, introducing a 60-second OTP expiry, a 60-second cooldown between requests to prevent spamming, rate limiting capped at 10 requests per hour per device or phone number, and CAPTCHA verification to block bot abuse, all integrated smoothly into Shopify's existing login, registration, and checkout flows without disrupting the user experience.
Technical Audit: Diagnosing the Checkout Issue
When customers began experiencing checkout failures, Sweetmag conducted a comprehensive technical audit covering account registration and OTP behaviour, order fulfilment through the Anchanto OMS integration, and add-to-cart functionality, tracing the root causes to unmaintained customisations and conflicts introduced by AA Pharmacy's unverified Shopify theme.
Moving to a Shopify-Certified Theme
Based on the audit findings, Sweetmag rebuilt AA Pharmacy's approved UI/UX design on a Shopify-certified theme, giving the site a stable, sustainable foundation for all future integrations and customisation, rather than continuing to build on top of a theme that kept conflicting with platform updates.
Preserving Existing Integrations
Throughout the rebuild, Sweetmag ensured AA Pharmacy's existing OTP flow, membership/account registration, and Anchanto WMS integration remained fully functional against Shopify's latest APIs, updating deprecated API endpoints, webhooks, and synchronisation tasks so order sync, inventory updates, and fulfilment continued working without disruption.