Clickbank recurring billing code

1 replies
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
#billing #clickbank #code #recurring

Trending Topics