Skip to main content
recharge checkout with order protection
The Order Protection widget integrates with Recharge and your Shopify store, enhancing the subscription order experience for users with all relevant information in one place.The widget addition to the cart and order subscription emails simplifies the claim-filing process for users reducing friction and eliminating the need for manual navigation to the Order Protection website.

Installation

1

Generate an API Token

Access the Recharge admin page: Recharge Admin
  • Go to Apps -> API Tokens in the Sidebar.
  • Click "Create an API Token" in the top right button.
  • Choose a Token Nickname and set your contact e-mail.
For the permissions, select the following:
  • Orders: Read access
  • Subscriptions: Read and Write access
  • Customers: Read access
API Token
2

Integrate Recharge within the Order Protection Platform

For this step, speak with your Onboarding and Implementation manager to properly set up the API token and applicable webhooks. We are working on a Recharge integration app to make this onboarding process more seamless in the future.
3

Install Recharge Integration Manager on Shopify

These changes are done within the Shopify platform.
To install the Recharge Integration Manager on Shopify, follow these steps:
  • In the left navigation, go to Sales Channels and select Online Store shopify online store
  • Within the Theme Settings, select Edit Code Edit Code
  • Open the theme.liquid file and insert the following code in the header contents: Paste code
theme.liquid
4

Recharge Notification Emails

Navigate to the Settings > Notifications > Customer NotificationsCustomer NotificationsIn the Order Processing section, click Order confirmation. On the email tab, select edit code.Edit CodeAdd the following code to the Order Confirmation template in the email body (HTML) section after all contents and before the footer
confirmation email
5

Preview

Select Preview and you can elect to send a Test email. Exit Settings.Preview
Once set up, Order Protection will be added to all cart instances within Shopify subscription orders using Recharge. Customers can choose to opt-in or opt out of Order Protection for their subscription orders.
Customers will be able to file/edit claims per your normal store settings once an order confirmation email has been sent.
Did you know? You can customize the Order Protection widget styling specifically for your subscription portal. When creating a new widget, select Subscription as the widget type to create a dedicated subscription widget.Widget type selector with Subscription option highlightedWidgets list showing a Subscription widget typeFor full customization options, visit the Widget Customization page.