Paypal Express 结帐使帐单信息预填
Paypal Express checkout make billing information prefilled
在使用 curl 使用 paypal Express 结账时,我们是否可以传递一些参数来使账单信息(如名字、姓氏、phone、城市预填在 'payment with debit card/credit card' 页面上?我的数据库中有所有这些详细信息,不希望用户在 paypal 付款页面上再次输入。
参考- https://github.com/paypal/codesamples-php/blob/master/Merchant/sample/code/SetExpressCheckout.php
如果您使用的是 RestAPI,您可以创建 Web 体验配置文件,在其中设置 address_override
address_override整数
"Determines if the PayPal pages should display the shipping address supplied in this call, rather than the shipping address on file with PayPal for this buyer. Displaying the address on file does not allow the buyer to edit the address. Allowed values: 0 or 1. When set to 0, the PayPal pages should display the address on file. When set to 1, the PayPal pages should display the addresses supplied in this call instead of the address from the buyer’s PayPal account."
这里有一些信息https://developer.paypal.com/docs/integration/direct/rest-experience-overview/
如果您使用的是经典 API 地址覆盖有类似的内容
在使用 curl 使用 paypal Express 结账时,我们是否可以传递一些参数来使账单信息(如名字、姓氏、phone、城市预填在 'payment with debit card/credit card' 页面上?我的数据库中有所有这些详细信息,不希望用户在 paypal 付款页面上再次输入。
参考- https://github.com/paypal/codesamples-php/blob/master/Merchant/sample/code/SetExpressCheckout.php
如果您使用的是 RestAPI,您可以创建 Web 体验配置文件,在其中设置 address_override
address_override整数 "Determines if the PayPal pages should display the shipping address supplied in this call, rather than the shipping address on file with PayPal for this buyer. Displaying the address on file does not allow the buyer to edit the address. Allowed values: 0 or 1. When set to 0, the PayPal pages should display the address on file. When set to 1, the PayPal pages should display the addresses supplied in this call instead of the address from the buyer’s PayPal account."
这里有一些信息https://developer.paypal.com/docs/integration/direct/rest-experience-overview/
如果您使用的是经典 API 地址覆盖有类似的内容