Skip to main content

Set Up Your Recharge Integration

   Before you get started: Recharge offers multiple checkout platform options to best suit your business needs. This guide will show how t...

Updated today

Before you get started: Recharge offers multiple checkout platform options to best suit your business needs. This guide will show how to set up the Postscript x Recharge integration for both the Recharge Checkout on Shopify and Shopify Checkout checkout platform options. To identify your store's checkout platform, check here.

Postscript integrates with Recharge, the leading subscription payment platform designed for merchants to set up and manage dynamic recurring billing across the web and mobile, allowing you to share information between the two solutions.

Why You Should Set Up Recharge


  • Quickly create a subscription program and integrate it with your top tools and payment processors.

  • Create a better subscription experience for your customers that increases lifetime value and overall engagement.

  • Avoid customer churn by allowing subscribers to skip or delay deliveries, as well as swap out products.

  • Gain insight into revenue, customers, and subscriptions with robust analytics.

Configure Recharge Integration by Checkout Platform


Shopify Checkout Recharge Checkout

Recharge setup.gif
  1. Head to the Apps section within the Postscript app.

  2. In the upper right corner search Recharge. Click the Recharge icon.

  3. Scroll down and select Install and notice the integration is automatically enabled.

    • To disable it at any time, you can click the Recharge icon within Postscript's Apps section and select the toggle bar in the upper right corner of the Recharge page.

Eligible Recharge Automation Triggers

Now that your integration is all set up, you can begin creating Recharge automations in Postscript! If your checkout platform is Shopify Checkout, use the triggers listed below for your Recharge Automations.

Trigger Name

Definition

Checkout Started

Customer has started the checkout process

Order Created

Customer has created an order

Recharge: Charge Failed

Method of payment failed

Recharge: Customer Activated

Customer was activated meaning you have added a subscription to a customer who didn't have an active subscription previously.

ReCharge: Customer Created

Customer has made their first purchase

Recharge: Customer Deactivated (No Subscription Active)

The last subscription a Recharge customer has expires meaning they no longer have any active subscriptions.

Recharge: Subscription Begins

Customer has activated a subscription

Recharge: Subscription Renewal

Customer's confirmation of renewal

Recharge: Upcoming Charge (3 Days)

Reminder of upcoming charge for subscription

Note: If your checkout platform is Shopify Checkout, use the triggers Checkout Started and Order Created, not Recharge: Checkout Started or Recharge: Order Created. The latter triggers listed are for Recharge Checkout only.

  1. From your Shopify account, open Recharge in your Apps list.

  2. Select the wrench icon in the top-right corner, then select Checkout from the options listed in the drop-down. On this page, you will be pasting important CSS code in two locations: the Checkout CSS Editor and the Thank You page CSS Editor.

Checkout CSS Editor

    1. Scroll down to the CSS Editor.

    2. Below this editor, select the Enable Javascript on page 1 of checkout checkbox.

    3. Paste the below code into the editor that appears once you've selected the checkbox:

      var ps_script = document.createElement('script'); ps_script.type = 'text/javascript'; ps_script.src = 'https://sdk.postscript.io/integrations/sdk-min.js'; document.head.appendChild(ps_script);

Note: If you do not see the Enable Javascript on page 1 of checkout checkbox below the CSS Editor, then contact Recharge and ask them to enable Javascript on your checkout.

Thank You Page CSS Editor

      1. Continue scrolling down the Checkout page.

      2. Locate the Thank you page section.

      3. Paste the below code into the Thank you page editor:

        <script> window.ps__order_id = #{{id}}; var ps_script = document.createElement('script');ps_script.type = 'text/javascript'; ps_script.src = 'https://sdk.postscript.io/integrations/sdk-min.js';document.head.appendChild(ps_script);</script>
      4. Scroll to the bottom of the page and select Save. Now your Recharge checkout page will display an unchecked SMS opt-in checkout box and compliant opt-in language.

Eligible Recharge Automation Triggers

Now that your integration is all set up, you can begin creating Recharge automations in Postscript! If your checkout platform is Recharge Checkout on Shopify, use the triggers listed below for your Recharge Automations.

Trigger Name

Definition

Recharge: Checkout Started

Customer has started the checkout process

Recharge: Order Created

Customer has created an order

Recharge: Charge Failed

Method of payment failed

Recharge: Customer Activated

Customer was activated meaning you have added a subscription to a customer who didn't have an active subscription previously.

ReCharge: Customer Created

Customer has made their first purchase

Recharge: Customer Deactivated (No Subscription Active)

The last subscription a Recharge customer has expires meaning they no longer have any active subscriptions.

Recharge: Subscription Begins

Customer has activated a subscription

Recharge: Subscription Renewal

Customer's confirmation of renewal

Recharge: Upcoming Charge (3 Days)

Reminder of upcoming charge for subscription

Get Support


Have questions? Please feel free to reach out to our wonderful Support team at [email protected] or via live chat. You can also submit a support request here!

Need ongoing channel strategy guidance? Please fill out this form and we'll connect you to one of our certified partners.

Did this answer your question?