Case Study
A subscription-based weight loss service with custom logic for high-risk payment workflows.
A subscription-based weight loss service with custom logic for high-risk payment workflows.
Gettrim, part of XO Medical, is a UK-based pharmacy offering prescription weight loss treatments, including Wegovy and Mounjaro. The platform is built on a subscription model that supports long-term care, with medication adjusted over time based on each patient’s treatment stage. The service prioritizes clarity and consistency, allowing users to stay on track without needing to manage details manually.
Because Gettrim operates in a regulated medical category, Shopify Payments wasn’t available. Most subscription tools rely on this integration, so the team needed an alternative way to process recurring payments, track subscription changes, and guide users through the onboarding process.
Without a replacement in place, the platform faced:
Gettrim needed a setup that could support medical subscriptions without breaking their existing flow or creating extra work for the team.
We partnered with XO Medical’s team to develop a system that integrated with their existing Shopify setup, while meeting the compliance requirements for high-risk transactions. The build focused on modular tools that reduced friction and gave the team control over subscription logic and customer flows.
Used Stripe to process payments outside of Shopify’s native system. This allowed Gettrim to remain compliant while providing customers with a smooth checkout experience that was compatible across devices.
Set up automation to manage customer data, confirm transactions, and sync updates between systems, including treatment plan changes and order handling.
Weight loss plans require dosage increases over time. We built server-side logic to auto-adjust subscriptions every 26 days, ensuring that each patient received the correct concentration on schedule. Swap logic was added to adapt based on individual user needs.
Subscription data and treatment history were stored using Shopify meta fields. These allowed the backend to reference and update plans without relying on third-party plugins. This kept records clean and aligned with how Gettrim delivers care.
We supported the rollout with targeted emails, helping customers understand the new payment process and manage their subscriptions. This reduced drop-offs and helped build trust during a sensitive purchase journey.
Rather than work against the platform’s constraints, we built with them in mind. The system was designed to extend Shopify’s core capabilities instead of replacing them, using Stripe Payment Links for high-risk transactions, Zapier to automate subscription workflows, and server-side logic to manage treatment adjustments.
This setup enabled the team to maintain existing operations, introduce more intelligent workflows, and remain compliant without complicating the tech stack. The result is a subscription platform that operates with less friction, adapts to patient needs, and provides Gettrim with complete control over how the service scales.
You don’t need to have everything mapped out. We’re happy to take a look, ask the right questions, and help you explore what’s possible.
Let’s Talk Today