簡體   English   中英

PayPal API 如何設置信用卡或銀行對賬單上顯示的內容

[英]PayPal API how set what will appear on credit card or bank statement

問題是關於 PayPal API 創建按鈕:我們可以指定客戶信用卡賬單中會出現什么嗎?

更准確地說:當客戶檢查他的卡對帳單時,他會看到 PAYPAL.... 在 PAYPAL... 之后:使用 paypal.Buttons,我們可以選擇將顯示的內容,如產品名稱或發票數字?

https://developer.paypal.com/docs/subscriptions/integrate/

createSubscription 或 createOrder....

<script src="https://www.paypal.com/sdk/js?client-id=SB_CLIENT_ID&vault=true"> </script>
  <div id="paypal-button-container"></div>
paypal.Buttons({
  createSubscription: function(data, actions) {
    return actions.subscription.create({
      'plan_id': 'P-....'
    });
  },
  onApprove: function(data, actions) {
    alert('You have successfully created subscription ' + data.subscriptionID);
  }
}).render('#paypal-button-container');

如果客戶在他的 paypal 賬戶中使用信用卡或銀行賬戶付款,有沒有辦法指定客戶信用卡或銀行對賬單中會出現什么?

The argument passed to createOrder is a v2/checkout/orders creation object, which will have an array of purchase_units, documented here: https://developer.paypal.com/docs/api/orders/v2/#definition-purchase_unit_request . 它接受一個soft_descriptor參數。


訂閱 API 和 createSubscription function 沒有等效參數。 信用卡對賬單名稱可以通過https://www.paypal.com/businessprofile/settings/info/edit在賬戶級別設置

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM