Discussions
any problems using lightbox for checkout process? paypal button?
I'm using a type of lightbox called colorbox which works with JQuery. It does allow me to place an order from within the lightbox window, but the paypal link breaks out of the process by loading the paypal page in the parent window.
This is the paypal button's onclick javascript:
document.forms['cart'].elements['redirect'].value='https://checkout.netsuite.com/app/site/backend/paypal/expresscheckout.nl?c=659197&n=3&ck=Q1Bv9I9XAUdYy_r4&vid=Q1Bv9I9XAWBYy5ik&cktime=87901&cart=3191',true, document.forms['cart'].onsubmit != null ? (document.forms['cart'].onsubmit() ? document.forms['cart'].submit() : false) : document.forms['cart'].submit();return false;