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>