简体   繁体   English

PayPal API 如何设置信用卡或银行对账单上显示的内容

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

The question is about PayPal API create button: can we specify what will appear in the client credit card statement?问题是关于 PayPal API 创建按钮:我们可以指定客户信用卡账单中会出现什么吗?

To be more precise: when the client will check his card statement, he will see PAYPAL.... after the PAYPAL...: with the paypal.Buttons, can we choose what will be shown like the name of the product or invoice number?更准确地说:当客户检查他的卡对帐单时,他会看到 PAYPAL.... 在 PAYPAL... 之后:使用 paypal.Buttons,我们可以选择将显示的内容,如产品名称或发票数字?

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

createSubscription or createOrder.... 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');

If the client pays with a credit card or a bank account in his paypal account, is there a way to specify what will appear in the client credit card or bank statement?如果客户在他的 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 . 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 . It accepts a soft_descriptor parameter.它接受一个soft_descriptor参数。


The Subscriptions API and createSubscription function do not have an equivalent parameter.订阅 API 和 createSubscription function 没有等效参数。 The credit card statement name can be set at the account level via https://www.paypal.com/businessprofile/settings/info/edit信用卡对账单名称可以通过https://www.paypal.com/businessprofile/settings/info/edit在账户级别设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM