Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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;
0