Shopify Integration

The legacy Shopify app was removed from future use in 2016, and current installations have been unsupported since 2017. Critical bugs are showing up, and we expect more bugs will appear in the future. For example, product syncing is no longer functioning, and once the Chargifypay domain redirect is implemented, signups will not work without modifying the Liquid code to reference the Public Signup Pages.

Because there is an excellent alternative in the eShopAdmin application (see below), we will not continue to invest further resources to fix these bugs. Therefore, we cannot recommend using this legacy integration in your production environment. We strongly recommend switching over to the eShopAdmin application. We have been actively working with eShopAdmin, and they are dedicated to maintaining and supporting their integration.

If you have lost your free month coupon to use eShopAdmin, please feel free to contact Note that these coupons will expire on December 17, 2019.

Migration to eShopAdmin

Once you migrate to eShopAdmin, you must delete the legacy Chargify application from Shopify. Keeping both applications installed inside your account will likely cause duplicate orders and products to be created inside Shopify.

eShopAdmin provides all of the components of the legacy integration plus more to provide a full Chargify integration with significantly more functionality. Here are some highlights:

  • Control when an order is generated (at signup, renewal, state change)
  • Include Components and Custom Fields in orders
  • Control the naming convention of Chargify orders
  • Subscriptions Table - Allows customer to manage subscriptions
  • The ability to tag customers based on various criteria (active, customers per product)
  • Publish and update Chargify products in Shopify

Written below is a guide to migrate from the legacy Chargify integration to eShopAdmin in five steps.

Step One – Install and Setup

If you run into any questions along the way, please reach out to eShopAdmin's support team at
  1. Visit the Shopify App Store and install “Chargify Accounts” authored by eShopAdmin Inc. Here is their public page:
  2. Access the downloaded app from your Shopify account.
  3. Choose a plan level based on the size of your Chargify account. All levels allow you to create Shopify orders and sync products and customers to Shopify.
  4. Along the lefthand side, click “Settings.”
  5. Turn on “Allow Remote Synchronization of Data” to allow Shopify to automatically sync Chargify data, including create orders
  6. Under Chargify Settings, enter your Chargify subdomain, API key, and shared key. Instructions to find each will be included on the page.
  7. Fill out the remaining preferences based on what you’d like. Once finished, click “Update Settings” at the bottom of the page.

Each of the following steps corresponds to a step on the “Setup” page within the eShopAdmin application. Please follow along there.

Step Two – Configure Webhooks

The eShopAdmin integration keeps subscriptions in sync through webhooks sent from Chargify to Shopify. Within Chargify, navigate to Config > Settings > Webhooks and follow the instructions from step two inside the eShopAdmin application. Once completed, the webhook setup should resemble the following:

Step Three – Subscription Management Snippet

Install the included snippet and insert it in the shop’s account template to allow customers to view their Chargify subscription information.

Step Four – Syncing Products

Search either product.liquid or product.recurring.liquid for the following code, which replaces the standard “add to cart” button with a “subscribe” button referencing a Public Signup Page:

{% if product.metafields.chargify.hosted_signup_url %}
  <a class="button" style="margin-bottom: 5px" href="{{ product.metafields.chargify.hosted_signup_url }}">Signup</a>
{% else %}
  <input type="submit" id="add-to-cart" class="button" name="add" value="Add to cart" />
{% endif %}

Delete the above code, as it was used for the legacy integration, and replace it with:

{% if product.metafields.chargify-accounts.hosted_signup_url %}
  <a class="button" style="margin-bottom: 5px" href="{{ product.metafields.chargify-accounts.hosted_signup_url }}">Signup</a>
{% else %}
  <input type="submit" id="add-to-cart" class="button" name="add" value="Add to cart" />
{% endif %}

Next, click “Fetch Latest Product and Component Data from Chargify” to populate the table on this page with all Chargify products.

For each Chargify product that is already in your Shopify account, copy its ID from the URL and add it to the associated product in the eShopAdmin product catalog. For example, if the product named “Base” is accessed from the following URL,, then 4321234 should be entered under the Shopify ID column for “Base.” Click the green arrow to establish the connection between products.

Step Five – Syncing Customers

All customers in Chargify should already be inside Shopify due to the legacy integration’s sync. eShopAdmin’s customer sync is based on email address; if the customer already exists inside Shopify with the same email address in Chargify, this sync will not create duplicates.

To populate this page, click the “Sync Manually” page and either sync a particular customer by their email, or sync all Chargify customers.

At this point, the eShopAdmin integration should be fully functional. Please remove the legacy Chargify integration to prevent duplicates from being created by each integration.

Documentation for Legacy Installations Only

As of January 2016 the Chargify app for Shopify is no longer available. Existing installations will not be supported and no new sites can be configured. The following documention is provided for reference. Note that if the Chargify app is deleted in Shopify, it will not be impossible to re-install it.

The Chargify application allows you to subscribe your customers to the products they now buy as one-time purchases in your store. Rather than adding their purchases to the shopping cart, your customers will click “Signup” and then be directed to Chargify’s customizable Public Signup Pages. Once your customers have subscribed to the product in Chargify, you can use all of our great features to manage your recurring revenue business.

The Chargify app allows you to:

  • Setup a site in Chargify
  • Create products in Chargify
  • Copy those products back to Shopify
  • Make “Signup” buttons appear in your Shopify store for each recurring product
  • Manage/bill your recurring product customers in Chargify


To get started, you will need to install the Chargify app in your Shopify store.

  • Login to your Shopify store.
  • Install the Chargify app:
    • In Shopify, click on “Apps” in the navigation bar
    • Click “Visit the app store”
    • Search for “Chargify”
    • Click “Get App”
    • Verify installation by clicking “Install App”

  • If you don’t have an existing Chargify account, you will click “Create a New Chargify Account”. A new Chargify account will automatically be created for you.

  • If you already have an existing Chargify site set up, you will enter your Chargify site’s Subdomain and API Key. Your subdomain can be found by logging into your Chargify account and copying the “subdomain” from the site you wish to link to Shopify:

The API Key can be found in your Chargify account by clicking on the “API Access” tab in the left hand navigation column on the “Home” screen:

  • Click “Connect to My Existing Chargify Site” to complete the installation.

  • Click “Begin Setup For My Chargify Account” to continue:

You’ll then be redirected to your Chargify account where you will setup your gateway credentials, products, and settings.

Gateway Setup

You will need a payment gateway and merchant account to process payments with Chargify. Please note that Shopify Payments is not a Chargify supported gateway, however, Shopify payments is powered by Stripe, which is a supported gateway.

Stripe and are the 2 most popular supported payment gateways. Stripe has an integrated merchant account, while has teamed with Merchant Focus as a preferred merchant account provider.

For more information, see Chargify Supported Payment Gateways.

  • Click on the “Configure Gateway Credentials” link:

Your gateway will automatically be set to the “Chargify Test Gateway”. You will be able to process subscriptions in test mode to prepare for making your products live in your Shopify store. This will help to ensure everything is setup and working properly. (See Gateway Configuration here for more information about the Chargify test gateway and test credit card numbers available to force a successful or failed transaction.)

  • Once you’re ready to process live transactions and have your gateway and merchant account setup, you will click “USE THIS GATEWAY” next to the gateway of your choice:

  • Chargify requires various pieces of information based on which gateway you are using. Follow the instructions and input the required information in each field provided in the form.
  • Please note that the gateway and merchant account in your Chargify account will not be the same as your Shopify account. These are separate services and you will need to setup another merchant account in order to process Chargify transactions.

Product Setup

The Chargify app will create a new site in Chargify, in which you’ll create your new recurring products. Please be aware that there is currently no way to utilize products that you already have in an existing Shopify site.

It is important to understand the distinction between product families, products, components, and coupons within Chargify. You can learn more about how each one relates to the other by reading the “products” portion of our documentation.

Note: A product family is auto-created when you complete your Shopify integration. To change the product family name, go to the catalog section in your Chargify account and click “edit” next to the product family name.

Create a new Product Family

  • Click on the “Catalog” tab
  • Click “Create a New Product Family”
  • Name your product family, add a description (the API handle isn’t necessary for the Shopify integration), and press “Create Product Family”

Create a new Product

  • Click on “Create New Product” under your new product family
  • Fill in the:
    • Product name
    • Description (this description will appear on the Public Signup Page where your customers signup for your recurring subscription products)
    • Billing configuration
    • Advanced options
    • Optional integration configuration
  • Click “Create Product”

Publishing Chargify Products To Shopify

Now that your recurring products are setup in Chargify, you will need to publish them to your Shopify store.

  • Click on the “Integrations” tab in your Chargify account
  • Select “Shopify” from the left column
  • Press “Publish Your Products To Shopify”

Your Chargify products will be retrieved and a screen will appear with all of the products that are available to publish to your Shopify store:

Click “Add to Shopify” next to the product. The product status will update to “hidden”:

  • Press the “Publish in Shopify” link and you will be brought directly to the new product page in your Shopify dashboard (you will need to do this for each product).
  • Add your product photo(s) and additional information.
  • All Chargify products require the product.recurring template in order to work properly. Once a product is published in Shopify, scroll to the bottom of the Shopify product page to ensure that the proper template is selected:

  • When you’re ready to add the product to your Shopify store, change the product from “Hidden” to “Visible”, or select a specific publish date:

Press “Save” and view your new recurring product in your Shopify store!

Note: The “Type” and “Vendor” will automatically populate in your Shopify dashboard when a Chargify product is published. Do NOT change these values. Chargify products require the type to remain “Subscription” and the Vendor will display the product family name from your Chargify account:

Verify The Setup Is Complete

Once the process is complete and you’ve successfully published Chargify products to your Shopify store, you’ll want to verify that the recurring products have a “Signup” button rather than an “Add to Cart” button:

Click on the “Signup” button to ensure the customer is brought to the Chargify Public Signup Page for checkout instead of the Shopify cart.

Note: Some Shopify templates automatically replace the “Add to Cart” button with the “Signup” button, but some do not. If your store still shows the “Add to Cart” button on your recurring subscription product pages, please follow these additional instructions.

Replacing “Add to Cart” with “Signup” Button

  • In your Shopify admin, select “Themes” in the left navigation column.
  • Select “Customize theme”.
  • Select “Template editor” at the top of the page.
  • Select your published theme’s “Template Editor” to edit files:
  • Under the “Templates” section, select the product.recurring.liquid template.

You’ll need to locate the following code:

<input type="submit" id="add-to-cart" class="button" name="add" value="Add to cart" />

Hint: Search for “Add to Cart” within the text using “Ctrl + F” on a PC or “Command + F” on a Mac.

  • If your product.recurring.liquid template doesn’t include the “Add to cart” code, then your theme uses “Snippets” and you’ll need to replace the “Add to Cart” button in a different location:
    • Under the “Snippets” section, find the corresponding file that matches up with the snippet code referenced in the “product.recurring.liquid” template (for example: {% include 'product' %} would indicate that there is a product.liquid template that contains the “Add to Cart” code shown in step 4.
    • Locate the “Add to cart” reference within the code.
    • Continue to next step.
  • “Add to Cart” input that you’ll replace with the following snippet: {% if product.metafields.chargify.hosted_signup_url %} <a class="button" style="margin-bottom: 5px" href="{{ product.metafields.chargify.hosted_signup_url }}">Signup</a> {% else %} <input type="submit" id="add-to-cart" class="button" name="add" value="Add to cart" /> {% endif %}

Automatic Order Creation Upon Signup/Renewal

Chargify can automatically create orders in your Shopify store when a new subscription is created, or an existing one renews. To enable this functionality, click “Settings” in the top right of the Chargify app, and then enable the “Create a new Order” option, and click “Save Settings”:

Once that option is enabled, Chargify will turn each new signup and subscription renewal into a new Customer (if one does not already exist) and a new Order within your Shopify store.

You can check on the processing status of events between Chargify and your Shopify shop by clicking on the “Logs” link. Events that have successfully synced between Chargify and Shopify are noted as successful. Events that failed to sync because of an error in communication between Chargify and Shopify (internal server error, etc.) can be queued for reprocessing.

Note: Once we have passed a new order/renewal order to Shopify, we cannot cancel or delete it. If we send an order to Shopify and then someone cancels the subscription in Chargify, the order already in Shopify will remain there.

Required Information

Shopify requires both billing and shipping Information for valid Shopify “Orders” to be created.

Events that fail to sync because of incomplete data (customer didn’t provide billing or shipping information, for example,) cannot be re-processed by Chargify. They will simply be rejected by Shopify.

Because of this, it is highly recommended that you require billing and shipping information on any Chargify products that you want to have pushed into Shopify when customers sign up for them or when normal subscription renewals occur.

You can do this by logging into your Chargify site, clicking on the “catalog” tab, and clicking “Edit” for any of the applicable products. Then, choose “Require Shipping Address” and “Require Billing Address”.

Please note that “Require Payment Method” is also needed in order to collect a billing address, however this is enabled by default and should not need to be modified.

These settings will ensure that Chargify has enough information from your customers to create acceptable Orders in Shopify.

It is currently not possible to have Orders created in Shopify without collecting both a credit card and a billing address, (as well as a shipping address,) even if the product is free.

Once you’re set up, you’ll notice new orders are automatically created in your Shopify store as they are generated by Chargify:

Components, Coupons, Taxes, and Adjustments

Charges related to the product and any components will show up as line items in new Shopify orders. Coupons will show up as discounts, and taxes will be applied as such if you have them enabled within Chargify.

A Shopify order created by Chargify represents the total dollar value of the product, components, coupons, and taxes in a given billing period. Chargify will not take into account any mid-period adjustments that you apply towards a subscription, any one-time charges, or any existing subscription balances.

This can lead to your Shopify revenue total being different than your Chargify revenue total, in the event you utilize the balance adjustment at any point during the current billing period, prior to the order being generated.

This also means that if a subscription goes into dunning and then returns to an active state, an order will be sent to Shopify for the charge that went past-due, even if you adjust (or reset) the balance. These orders may need to be manually canceled in Shopify.


  • If a product is archived in Chargify, you must manually delete it from your Shopify store.
  • Updating your API key in Chargify does NOT affect the Shopify integration. If you receive an error after updating your Chargify API key, clear your browser cache and history and try again.

Shopify FAQ

How much does Chargify cost?

When you create a Chargify account through the Shopify app, you are entitled to a one-month free trial. You will then be assessed our regular fees which are based on the number of paying customers and non-paying users on your account. There are no per transaction fees. Our fees are in addition to those assessed by Shopify, your payment gateway and your merchant account provider.

Will my Chargify orders and customer information appear in my Shopify store?

If you choose to enable “Create a new order in my Shopify store upon Chargify subscription creation or renewal” in your Chargify app settings, a new customer will be created in Shopify (if one does not already exist) and orders will flow from Chargify to Shopify at signup and each subsequent renewal If you choose not to enable this setting, no order information will flow into Shopify from Chargify and no customer records will be created.

Does Chargify work in conjunction with any fulfillment software?

Chargify currently does not support any integrations with fulfillment software directly, however, this may change in the future. Most Chargify merchants that ship physical products export their subscriptions to a CSV file and use the data to indicate when a product should be shipped.

If you’ve opted to have orders flow into Shopify from Chargify, each time an order is created Chargify will do an API call to get the SKU of the first variant in the Shopify product page and send it with the order information. This will allow most third party fulfillment applications to pick up the SKU (just like a Shopify order).

Can my customers purchase Shopify and Chargify products and only have to checkout once?

Currently, each Chargify product must be purchased separately. Your customers will need to purchase recurring products through the Chargify Public Signup Page and any one-time Shopify products through the Shopify shopping cart.

How can my customers purchase more than a Quantity of 1?

You can allow multiple quantities of the same recurring product to be purchased at one time by setting up product components and allowing your customer to choose the quantity (or add-on) on the Chargify Public Signup Page.

Will my Shopify variants get sent to Chargify?

No. Variants selected on Shopify product pages do not get sent to the Chargify Public Signup Pages. Custom fields can be created in Chargify to allow customers to input text values for sizes, colors, and other variants that don’t add a cost to the subscription.

If a cost should be added to subscription by adding a variant, a component would need to be setup in Chargify to allow the customer to select the add-on.

How do I charge taxes for my Chargify products?

Chargify allows you to set tax rates per state. These settings must be edited in your Chargify account.

How do I charge shipping fees for my Chargify orders?

You can setup flat rate shipping costs as well as quantity based shipping costs.

Where can I find my Chargify user name and password?

When you sign up for Chargify through Shopify, an account is created in Chargify but no login is provided. You can continue to sign in through Shopify by clicking on the Chargify app.

If you’d like to obtain your Chargify login info, you can click “reset password” in Chargify and not effect the Shopify integration. An email will be sent with password reset instructions and you can begin logging into Chargify directly here.

Does Chargify support my pricing model?

View some of the most common pricing models that Chargify merchants use here.

Can I change the URL on my Chargify Public Signup Page where my customers checkout?

For example, a URL like this example:

Yes, but you will need to contact support for help. If you change your Chargify subdomain, it will break your Shopify integration and Support will need to point it to the new subdomain you’ve chosen.

I installed the Chargify app, but no longer want it, how can I cancel my Chargify account?

Prior to uninstalling the Chargify app, you will want to log into Chargify and delete the Chargify account. This can be done by clicking “Billing & Plans”, then clicking “Delete My Account” and following the prompts.

After the Chargify account has successfully been deleted, you can remove the Chargify app from Shopify.

Please feel free to contact Chargify Support for assistance: 1 (800) 401-2414 or email support.