Skip to main content

Overview

Shopify does not allow third-party payment providers like Flex to directly accept payment for subscriptions. Flex uses a post-purchase reimbursement flow so customers can still use their HSA/FSA funds. With this setup:
  • Customers complete subscription purchases with a standard payment method (credit card, ShopPay, or any Shopify-supported method).
  • On the Thank You page, the Flex reimbursement block invites them to get reimbursed with their pre-tax HSA/FSA dollars.
  • They complete a quick consultation with Flex to verify eligibility, then one-click submit a claim from the Flex Portal.
  • Merchants are billed per reimbursement letter generated.
Using reimbursements outside Shopify? View the Reimbursements overview.

Customer journey

  1. Customer completes subscription checkout using a standard payment method.
  2. On the Thank You page, they see the Flex reimbursement block. Its call-to-action invites them to get reimbursed using your pre-tax HSA/FSA dollars.
  3. Clicking Get reimbursed opens a Flex consultation to verify their eligibility.
  4. Once approved, the customer can one-click submit a claim directly from the Flex Portal and receives their Letter of Medical Necessity (LMN).
  5. The customer submits the itemized receipt alongside their LMN to reimburse each invoice.
  6. The Letter of Medical Necessity is valid for 1 year.

Integration steps

Make sure to reinstall the Flex Extensions app (formerly Flex Marketing) to take advantage of the subscription solution.
  1. In Shopify Admin, go to Online Store → Themes and click Customize.
  2. From the top dropdown, select Checkout and customer accounts, then switch from Checkout to the Thank you page.
  3. Click Add block, select the Flex reimbursement block, and drag it where you’d like it to appear (e.g., directly under the Order status).
  4. Click Save, then exit the editor.
💡 Tip: The block has two optional settings:
  • Minimum order subtotal, hide the block on smaller orders. Enter an amount (before shipping and taxes) and the block only appears when the order subtotal meets it. Leave it blank to show the block on every qualifying order.
  • Payment link: leave it blank. It’s only used by merchants on the legacy Flex Marketing app. If you recently installed or reinstalled the app, you’re on the latest version and don’t need it.

When the block appears

The block only appears on orders where reimbursement can help:
  • The order includes at least one subscription item. One-off purchases can pay with Flex directly at checkout instead.
  • Flex hasn’t already determined that every item in the order is HSA/FSA-ineligible. This uses the product eligibility synced by the Flex Extensions app; items Flex hasn’t classified yet don’t hide the block.
  • If you set a Minimum order subtotal, the order subtotal meets it.
In the checkout editor preview, the block is always shown so you can see and configure it.

Limitations

  • Shopify subscriptions can’t use HSA/FSA cards directly. Customers pay with a standard method and get reimbursed afterward.
  • Customers must complete a separate reimbursement step after each invoice.
  • LMNs may only be used to reimburse invoices dated the same day or up to one year in the future.
    After that, customers should request a new LMN.

Example email & LMN

Flex email titled Your Letter of Medical Necessity with a View LMN button

Email customers receive

Example Letter of Medical Necessity with patient, diagnosis, and provider sections

Example Letter of Medical Necessity

Customers receive the LMN after completing the reimbursement consultation and will also recieve and itemized receipt from Flex. They can submit these documents to their HSA/FSA administrator for reimbursement.

FAQs

A document signed by a medical professional verifying that a product/service is medically necessary for HSA/FSA reimbursement.
No, Shopify does not support third-party payment methods for subscriptions. Customers pay with a standard method and use the reimbursement process afterward.
Ask the customer to confirm eligibility with their HSA/FSA administrator. If denied, have them share the provider’s written response so we can review. (FSA rules can vary by employer.)
Usually no. Most FSA providers require purchases in the same calendar year. Some allow a short grace period. Customers should confirm with their provider.

Install the Flex Extensions app

The Flex Extensions app (formerly Flex Marketing) is required for HSA/FSA checkout. It syncs your catalog to Flex, keeps HSA/FSA eligibility up to date on your products, and adds eligibility badges and blocks to your storefront.