The Order Protection widget integrates with Ordergroove and your Shopify store,
enhancing the subscription order experience for users with all relevant
information in one place.The widget addition to the cart simplifies the claim-filing process for users reducing friction and eliminating the need for manual navigation to the Order Protection website.
Installation
Generate an API Token
Access the Ordergroove admin page: Ordergroove
Admin
- Go to
Developersmenu and click onAPI Keys - Click on
Createbutton - Enter a Name and Email
- Name:
Order Protection - Email:
[email protected] - Allow bulk queries?: Yes
- Name:
- Click on
Savebutton - Copy the
API Keyfor Step 3

Create a Webhook
Since Ordergroove does not have a way to automate the creation of webhooks, we will need to create them manually.
- Go to
Developersmenu and click onWebhooks - Click on
Createbutton - Enter a Name and Email
- Webhook Name:
Order Protection - Webhook URL:
https://subscriptions.production.orderprotection.com/api/v1/webhooks/ordergroove/[PLATFORM_DOMAIN]/webhook- Replace
[PLATFORM_DOMAIN]with your platform domain. e.g. for Shopify it would beexample.myshopify.com
- Replace
- Webhook Name:
- For events, tick only
subscription.create- Note: there is a similar event called
subscriber.create, please note to tick the correct one
- Note: there is a similar event called
- No actions on
Advance Settings - Click on
Savebutton - Copy the
Verification Keyfor Step 3

Integrate Ordergroove within the Order Protection Platform
Within the Order Protection app, do the following:
-
Navigate to
Integrationsin the left navigation. -
Find the Ordergroove block under the
Availabletab. - Take the API token you created in Step 1 and the Webhook Verification Key you created in Step 2 and add it to the corresponding fields and save.
-
Once saved, click on the
Activetab and the API token and Webhook Verification Key fields within the Ordergroove block will have a hidden value. This means that your token and webhook successfully uploaded.
Install Scripts in Ordergroove's Subscription Manager
-
Go to
Subscriptionsmenu and click onSubscription Manager -
Click on
Advancedtoggle button -
On the side menu, click on
View -
Click on
ADD NEW FILE, and name itorderprotection.liquidwith content:orderprotection.liquid -
Go to
/views/order/main.liquid, enter new line after{% include 'order-summary/main' %}and add:Like below:order/main.liquid
-
Lastly, go to
/scripts/script.jsand add the following code to the bottom of the file:script.js
Once set up, Order Protection will be added to all cart instances within
Shopify subscription orders using Ordergroove. 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.

