Javascript for Return Shipping on PayPal button does NOT work
demalpas
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-12-2016
09:58 AM
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.
1 REPLY 1
sharpiemarker
Esteemed Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-15-2016
08:38 AM
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. 🙂

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Pay for shipping using PayPal & create aibill via PayPal? in About Payments (Archive)
- add button cart display error in About Payments (Archive)
- not elgible for buyer protection SELLER GETS AWAY WITH THEFT in About Protections (Archive)
- not elgible for buyer protection SELLER GETS AWAY WITH THEFT in About Payments (Archive)
- MultiOrder Shipping not working in About Business (Archive)