Clickbank Pitchplus script
In order to use clickbank pitchplus for recurring product, I have to use a code ( javascript ) provided by clickbank. The problem is that when I put this code(I use wordpress), the checkbox turns out to normal box text type.
Here is what clickbank said:
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. <html> <head> <!-- This script content should be placed in the <head> element on your PitchPlus upsell pitch page -> <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."); } </script> </head> <body> <h1>One Click Recurring Upsell Sample Page</h1> <p>It's neat - buy it!</p> <table width="100%"> <tr> <td> <!- This is the accept link which may be placed anywhere in the <body> element of your page. ITEM_BEING_UPSOLD & YOUR_NICKNAME need to be replaced. For users with javascript disabled it will function but they will need to agree to the terms and conditions on the orderform. -> <a href="http://ITEM_BEING_UPSOLD.YOUR_NICKNA...nk.net?cbur=a" id="accept" onclick="mustAccept(); return false;">Accept</a> </td> <td> <!- This is the decline link which may be placed anywhere in the <body> element of your page. ITEM_BEING_UPSOLD & YOUR_NICKNAME need to be replaced -> <a href="http://ITEM_BEING_UPSOLD.YOUR_NICKNAME.pay.clickbank.net? cbur=d">Decline</a> </td> </tr> <tr> <td colspan="2″> <form action="#"> <!- This is the box that the customer must check before accepting the upsell. The text should be adjusted to match the initial purchase amount, recurring amounts & frequency -> <input type="checkbox" onchange="toggleAccept()" id="agreeCheckbox"> <label for="agreeCheckbox">I agree to the following payment terms: An initial payment of $0.00 with recurring payments of $0.00/frequency. I understand that I can cancel at any time.</label> </form> </td> </tr> </table> </body> </html> |
Digital consultant, to help you get the best out of your digital presence.