Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 31st May 2014, 03:35 PM   #1
Clayton Terao
War Room Member
 
urban renewal's Avatar
 
Join Date: 2009
Location: Seattle
Posts: 107
Thanks: 10
Thanked 34 Times in 28 Posts
Default
ClickBank Recurring Upsell Checkbox Issue
Share on: 
fb share twitter share gplus share more share

I'm trying to set up a recurring payment upsell in ClickBank. Before they approve it, I need to have a checkbox on the offer page that they must check before adding the continuity offer to their order.

I've read every thread I could find on this, and I've got it ***Mostly*** there. However, I'm having one small problem.

When someone clicks on the add-to-order link without clicking the checkbox, it still processes the order.

However, if someone first checks the checkbox, and then unchecks the checkbox, they cannot click on the add-to-order link without triggering the "you need to agree to the terms" warning (which is normal).

Also, the checkbox behaves perfectly, while I'm logged into Wordpress, but acts the way I described when I'm not logged in.

Is there something I'm missing in this code that would keep the initial unchecked checkbox from triggering the warning message?

My site is on WordPress, and I manually put the <head> code into the header.php file directly before the </head> tag.

(Go easy on me, I am not an experienced programmer by any stretch of the imagination...)

This is the code in the <head> tag
Code:
<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("Please check the box and agree to the payment terms of this recurring product.");
}

cbrblaccpt


</script>
And this is the code in the body tag for the checkbox, accept link, and decline link:

Code:
<form action="#">

<input type="checkbox" id="agreeCheckbox" onclick="toggleAccept()">
<label for="agreeCheckbox">Check if you accept the billing agreement of $67.00 today and
$47.00 / month then click the link below. You are free to cancel at any
time.</label>
<br/>

<a href="http://productnumber.vendor.pay.clickbank.net/?cbur=a" id="accept" onclick="mustAccept(); return false;">Yes, add this to my order.</a>
</form>

<a href="http://productnumber.vendor.pay.clickbank.net/?cbur=d">No thank you, I am not interested in this offer.</a>

-Clayton

http://www.ClaytonTerao.com

I'm a conversion consultant who helps you make more money online with your business.
urban renewal is offline  
Closed Thread


Bookmarks

Tags
checkbox, clickbank, issue, recurring, upsell


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:14 PM.