Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Clickbank recurring billing code (https://www.warriorforum.com/programming/867211-clickbank-recurring-billing-code.html)

ragstworiches 11th November 2013 10:53 AM

Clickbank recurring billing code
 
Hi Guys,

I'm trying to get this code to work, does anyone know how it install it, the sample code doesnt seem to do anything?

Sample Recurring Billing Code

The following is an example of some simple code you could put on your PitchPlus Upsell Pitch Page to allow for Recurring Billing products to be sold in your One-Click Upsell flow. It is very important that you collect and pass the cbrblaccpt parameter to ClickBank if you are selling a recurring billing product. You must collect acceptance to terms from the consumer to set this value or your flow will not be approved.

<script type="text/javascript">
function toggleAccept() {
var acceptLink = document.getElementById("accept");
var agreeCheckbox = document.getElementById("agreeCheckbox");
if (agreeCheckbox.checked) {
acceptLink.onclick=function() {
window.location=this.href + "&cbrblaccpt=true";
return false;
}
} else {
acceptLink.onclick=function() {
mustAccept();
return false;
}
}
}
function mustAccept() {
window.alert("By clicking accept, you agree to the payment terms of this recurring product.");
}
cbrblaccpt

</script>

Any help appreciated,

Phil

project1010 11th November 2013 12:12 PM

Re: Clickbank recurring billing code
 
Place this all code on Header section


All times are GMT -6. The time now is 02:34 AM.