Recharge integration

Modified on Thu, 15 Jan at 3:00 AM

ReCharge V.2.0 uses Shopify Checkout to process subscription payments, and if you use this version, there is nothing special you should do about it. Installing both apps (PPS NPS app by HulkApps and Recharge) will make it work for you.


However, if you use ReCharge V.1.0, here is what you should do:


Copy our script and paste it into the Recharge script editor, and our Post Purchase NPS app widget will be visible in the checkout page.


You just need this code snippet, and that's it


<script>
window.HulkAppsPPS = {
is_recharge: true,
first_name: "{{first_name}}",
last_name: "{{last_name}}",
email: "{{email}}",
order_id: "{{id}}"
};

var HulkAppsPPSScript = document.createElement('script');
HulkAppsPPSScript.src = "https://post-purchase-survey.hulkapps.com/hulk_post_purchase_survey.js";
document.getElementsByTagName('head')[0].appendChild(HulkAppsPPSScript);
</script>


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article