1) Enable Postscript On Checkout

Go to Checkout Settings page in ReCharge

Under the CSS Editor, you might be able to see a section that reads “Enable Javascript on Page 1 of Checkout”

IF YOU DO NOT SEE THIS BOX -- Please contact ReCharge and ask them to enable Javascript on your checkout.

Add the following text to this box:

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);

2) Enable Postscript on “Thank You” Page

Scroll down the checkout settings page to the “Thank You Page” section as seen below:


Enter the following text:

<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>


Scroll down to the very bottom and click “Save”

Your ReCharge checkout will now have a unchecked SMS box that asks for phone number:

3) Setting up ReCharge Abandoned Cart Automations

  1. Login and use the left navigation to select "Automations".
  2. Create a new automation by selecting "Create an Automation" on the upper right.
  3. Users can select "ReCharge: Checkout Started" for an automation trigger and set a cancellation trigger for "ReCharge: Order Created" to ensure that the automation ends when a customer has completed their purchase.

That’s it, you’re done! Please let us know if you have any questions. We're here to help.

Did this answer your question?