6 / 6
Feb 2013

would like to add a linked image (the bill me now banner) - such as this:





http://98.138.87.85/ya/securedownload?mid=20_0_35_158936_AMFWimIAAOPjUPmGLgSVPjrcrDs&pid=2.3&fid=A%2520%252d%2520Denis%2520Action&inline=1&appid=YahooMailClassic&cred=mB5.gewmZ5uodFfwmcLtMqD9VF6I2snstkenIy4xu8k-&ts=1358614544&partner=ymail&sig=UkWEsUPhhnYPMO_pUTp23A--





, below the paypal and credit card images - is this possible?

  • created

    Jan '13
  • last reply

    Feb '13
  • 5

    replies

  • 1.5k

    views

  • 4

    users

  • 4

    links

24 days later

Trying to test additional data added below the images on the cart for my web page



http://www.bunkbedking.com/bunk-bed-twin-mission-cappuccino



raw code is:



<script type="text/javascript" data-pp-pubid="2ea7e009d2" data-pp-placementtype="468x60"> (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>



When I add this as:



jQuery("#tdSell").attr("innerHTML",

"<script type='text/javascript' data-pp-pubid='2ea7e009d2' data-pp-placementtype='468x60'>



(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>");





(escaping " as a single quote ')



I cannot get it to work



HELP!!

Unfortunately, due to the method PayPal requires for embedding a Bill Me Later banner, it does not appear possible to make that work within our cart. We have tested the embed code they provide and require, and while I've been able to get the banner code correctly inserted in our cart overlay, it doesn't actually work to display the banner there.



I suspect the trouble is that the banner embed code expects to render the banner upon page load, whereas our cart javascript adds our cart-overlay code to the page on-demand when a cart button is clicked after the initial page load, so we've got our cart JS asynchronously writing HTML into the page that would load PayPal's banner JS that would write more HTML... a real can of worms there. We've even tried tinkering with the embed code they provide to simplify how it works, which probably isn't kosher according to PayPal's terms for displaying the banner, but still couldn't get it to work anyway.



PayPal had contacted us to express interest in allowing Bill Me Later banners to be embedded in our cart, and we explained the issues above to them with our conclusion that the only way it could work is if they granted us special dispensation to embed the banner as a static image, rather than using their required embed code, but we haven't heard back from them on that proposal.



Meanwhile, it appears you could only use their code to embed the banners in your own site pages, rather than in the cart itself; they do recommend displaying the banner on every page of your site anyway, for persistent buyer awareness of the deferred payment option -- as they put it to us, "in order to achieve the lift in sales and conversion, the financing offer itself needs to be promoted starting from the homepage since we know that the ability to defer payments influences a customer’s buying behavior – and more importantly, their decision to make a purchase today."

great response - I will share it with my Paypal rep



Easiest solution is to embed a static image

That would be the easiest solution, which would at least work with our cart customization code, but that approach may violate PayPal's terms, which seem to specify you must use the embed code they provide.



I have figured out how to obtain the plain HTML that their embed code ultimately generates in the page to display the linked banner image, so that HTML code could be used in our cart customization. I have proposed this approach to our PayPal marketing liaison, so I'm just waiting for word back from her to confirm whether that would be kosher, as we don't want to recommend doing anything that could get our sellers in hot water with PayPal.