<html> <head> <!-- This script content should be placed in the <head> element on your 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("You must agree message here..."); } </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_NICKNAME.pay.clickbank.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 data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=56335566&url=http://ITEM_BEING_UPSOLD.YOUR_NICKNAME.pay.clickbank.net?cbur=d" data-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>