Post by joshhatche » Thu Sep 05, 2013 2:05 am

I am working on this website:

http://www.spcracingbatteries.com

and I want to put this code into the checkout page:

Code: Select all

<script type="text/javascript" data-pp-pubid="377971ab88" data-pp-placementtype="120x90"> (function (d, t) {
"use strict";
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
n.src = "//paypal.adtag.where.com/merchant.js";
s.parentNode.insertBefore(n, s);
}(document, "script"));
</script>
but everywhere I put it - disables the page with a syntax error.

Can anyone help me out here?

Newbie

Posts

Joined
Fri Jun 28, 2013 2:45 am

Post by butte » Wed Sep 11, 2013 2:24 am

The safer way is just to let customers choose deferred payment when they plop into PayPal, but PayPal has begun letting merchants derive benefit from customers using the deferral. You may need to go carefully over everything PayPal's (sometimes questionable) instructions offer. If PayPal said to plant that in checkout, then the error may divulge where it should go.

So, what is the error shown or logged? And which OC version are you using? Bear in mind that this could be worse, you are at least not seeing the all-white nullity which means the machine reached a certain point and simply quit, leaving nothing for the browser to paint (often a stray, extra, or short ";" causes that).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am
Who is online

Users browsing this forum: No registered users and 20 guests