未显示paypal稍后按钮

ffscu2ro  于 2021-09-23  发布在  Java
关注(0)|答案(1)|浏览(360)

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

// 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');
    }
});
kupeojn6

kupeojn61#

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

相关问题