【问题标题】:paypal later button not being displayed贝宝稍后按钮未显示
【发布时间】:2021-09-19 18:24:05
【问题描述】:

我尝试了以下贝宝代码,但未显示贝宝稍后按钮。是否会显示任何有条件的或仅显示我们的地理位置

  // Loop over each funding source / payment method
paypal_sdk.getFundingSources().forEach(function(fundingSource) {

    // Initialize the buttons
    var button = paypal_sdk.Buttons({
        fundingSource: fundingSource
    });

    // Check if the button is eligible
    if (button.isEligible()) {

        // Render the standalone button for that funding source
        button.render('#paypal-button-container');
    }
});

【问题讨论】:

    标签: javascript paypal sdk


    【解决方案1】:

    各种因素决定了“后付款”的资格,例如交易的货币、买方的位置和意图,以及它不是保险库或订阅交易。尝试使用货币美元和位于美国的买家,例如在沙盒(非实时)模式下,您可以在 SDK 脚本的查询字符串参数中传递参数 &buyer-country=US 以进行测试。

    【讨论】:

    • 添加买家国家/地区后,我可以看到 paypal 稍后按钮,谢谢
    猜你喜欢
    • 2021-06-07
    • 2015-12-21
    • 1970-01-01
    • 2020-03-17
    • 2014-08-27
    • 2014-08-30
    • 2013-02-02
    • 2021-04-24
    • 2013-01-24
    相关资源
    最近更新 更多