Follow

Thank you page (end checkout)

When the user has already paid (in most cases in the thank you page), you need to send us a confirmation message including the total amount of the purchase. To do so, the code you need to generate is:

<!-- BrainSINS Code Starts -->
<script type="text/javascript">    
var BrainSINSData = {       
pageType:"thankYou",       
totalAmount: TOTAL  
};
</script> <!-- BrainSINS Code Ends -->

TOTAL should be replaced by the total amount of the purchase.

For instance, if the total value of the purchase is 98.54$ the code you’d generate should be the following one:

<!-- BrainSINS Code Starts -->
<script type="text/javascript">    
var BrainSINSData = {       
pageType:"thankYou",
totalAmount: 98.54
};
</script>
<!-- BrainSINS Code Ends -->

 < Previous

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk