0

我们正在使用贝宝自适应支付嵌入式解决方案,因此我们的买家可以在结账时留在网站上。我们要更改灯箱 CSS。我们该怎么做?查看 PP 自适应支付 API 文档后,我们只能找到 headerImageUrl。我们如何更改标题徽标?可以改变背景吗?

<form action="https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay" target="PPDGFrame"> 
<input id="type" type="hidden" name="expType" value="light">  
<input type="hidden" name="business" value="seller_1328179547_biz@complexintegrations.com">
<input type="hidden" name="shipping" value="5.00">
<input type="hidden" name="amount" value="6">
<input type="hidden" name="headerImageUrl" value="https://domainname.com/images/LOGO%20%281%29.png">
<input id="paykey" type="hidden" name="paykey" value="AP-4N0030004W852052F"> 
<input id="GetShippingAddresses" type="hidden" name="GetShippingAddresses" value="1"> 
<input type="image" src="https://www.paypal.com/en_US/i/bnr/bnr_MSPFbanner_ec2_143x32.gif" id="submitBtn" value="Pay with PayPal" style="height:22px;position:relative;top:5px;">   
</form>      
<script type="text/javascript" language="javascript">
var dgFlow = new PAYPAL.apps.DGFlow({ trigger: "submitBtn" }); 
</script>
4

1 回答 1

0

您不能在灯箱上执行此操作。

不幸的是,除了改变它的宽度之外,没有办法自定义它(而且你必须为此手动破解 JS。)

于 2012-07-23T02:11:48.443 回答