简体   繁体   English

PayPal PayPalCheckoutSdk 获取付款人的账单地址

[英]PayPal PayPalCheckoutSdk get billing adress of payer

i'm using the PayPalCheckoutSdk with php8.我正在使用 PayPalCheckoutSdk 和 php8。 I can do an order and accept the Order.我可以下订单并接受订单。 But I never get the Billing Address.但我从来没有得到帐单地址。

I used to use this Code https://developer.paypal.com/docs/checkout/reference/server-integration/set-up-transaction/ and for completing the Transaction I used this https://developer.paypal.com/docs/checkout/reference/server-integration/capture-transaction/我曾经使用此代码https://developer.paypal.com/docs/checkout/reference/server-integration/set-up-transaction/并完成交易我使用此https://developer.paypal.com/文档/结帐/参考/服务器集成/捕获交易/

For our System i need to get the Billing Adress and the Shipping Adress.对于我们的系统,我需要获取账单地址和送货地址。 How can I get it with the PayPal Checkout SDK?如何使用 PayPal Checkout SDK 获得它? https://github.com/paypal/Checkout-PHP-SDK https://github.com/paypal/Checkout-PHP-SDK

When PayPal processes payments, any information about the funding source -- including the billing address -- is kept private to payers' accounts.当 PayPal 处理付款时,有关资金来源的任何信息(包括帐单地址)都对付款人的帐户保密。 This is a reason to prefer using PayPal to make payments on random websites, as that information is kept private by design and cannot be compromised.这是更喜欢使用 PayPal 在随机网站上进行付款的一个原因,因为该信息是通过设计保密的,不会受到损害。

Only shipping information (if applicable) is provided in the response.回复中仅提供运输信息(如果适用)。

If you need more billing information from customers, you can collect it yourself.如果您需要客户提供更多账单信息,您可以自行收集。 Or if you are a large merchant who habitually collects this information, you can ask PayPal to include it in their API responses and they may consider such a request from a reputable company with established business history, but it will not be there normally.或者,如果您是习惯收集此信息的大型商家,您可以要求 PayPal 将其包含在他们的 API 响应中,他们可能会考虑来自具有良好业务历史的信誉良好的公司的此类请求,但通常不会出现。

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

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