[英]how can I remove credit card payment option from PayPal Plus's payment selection page
我已經實施了工作正常的 Paypal Plus。 但根據貝寶加上其顯示的付款選擇選項牆,默認情況下顯示三個選項 - 1 - 貝寶 2 - 直接借記 3 - 信用卡
我希望只有貝寶在那里。 那么,如何從 PayPal Plus 的付款選擇頁面中刪除信用卡付款選項?
您可能想嘗試聯系 PayPal 客戶服務。 我認為您無法從帳戶中配置它。
您可以添加fundingSource
參數。 例子:
var button = paypal.Buttons({
fundingSource: paypal.FUNDING.PAYPAL,
createSubscription: function(data, actions) {
return actions.subscription.create({
'plan_id': 'P-2U932934TF985691ALZ3HLEF'
});
},
onApprove: function(data, actions) {
alert('You have successfully created subscription ' + data.subscriptionID);
}
});
// Check if the button is eligible
if (button.isEligible()) {
// Render the standalone button for that funding source
button.render('#paypal-button-container');
}
此鏈接也可能有幫助: https : //developer.paypal.com/docs/checkout/integration-features/standalone-buttons/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.