【发布时间】: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