Javascript for Return Shipping on PayPal button does NOT work

demalpas
New Community Member

I am trying to install the PayPal provided JavaScript code to display a clickable image promoting a new PayPal service - namely that Returns are now provided free of charge to people who pay by PayPal.

This is the provided code:

<script type="text/javascript"> var mpt = new Date(); var mpts = mpt.getTimezoneOffset() + mpt.getTime(); document.write("<script type=\"text\/javascript\" src=\"https:\/\/altfarm.mediaplex.com\/ad\/js\/\?sz=180x180&lc=en_GB&enc_id=&mpt=" + mpts + "&mpvc=\"><\/script>"); </script> <noscript> <a href="https://adfarm.mediaplex.com/ad/nc/?sz=180x180&lc=en_GB&enc_id="><img src="https://adfarm.mediaplex.com/ad/nb/?sz=180x180&lc=en_GB&enc_id=" alt="Click Here" border="0"></a> </noscript>


The direction given is to install it where you want it to display on the page.

I have tried the code - it does not work (for me anyway!) and nothing at all displays.

Has anyone got it to work? If so please enlighten me - thank you. 

Login to Me Too
1 REPLY 1

sharpiemarker
Esteemed Advisor
Esteemed Advisor

For one thing, the url leads to adfarm.mediaplex.com and does not seem like official PayPal code.  Where did you get the code from?


Kudos & Solved are greatly appreciated. 🙂
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.