找到你要的答案

Q:PayPal REST API SDK: Payment.Get shipping_address deprecated?

Q:贝宝的REST API SDK:付款。得到shipping_address过时吗?

The documentation for the PayPal Rest API SDK for .NET indicates the payer_info.shipping_address is deprecated / obsolete.

https://github.com/paypal/PayPal-NET-SDK/blob/develop/Source/SDK/Api/PayerInfo.cs

Obsolete. Use shipping address present in purchase unit.

What would be the correct field to use to retrieve the payer's shipping address then, using the Get method? I don't see any field called purchase unit or the like returned in the Get method.

I should note, it seems the shipping_address is populated correctly still.

对于贝宝的REST API SDK文档。净表示payer_info.shipping_address是过时的/过时。

https://github.com/paypal/paypal-net-sdk/blob/develop/source/sdk/api/payerinfo.cs

过时的.使用航运地址在采购单位。

什么是正确的字段来检索付款人的航运地址,然后,使用GET方法?我没有看到任何字段称为购买单位或类似的返回方法。

我应该注意到,似乎是正确的shipping_address人口仍。

answer1: 回答1:

I just got a response from PayPal MTS and clarified the documentation is from an older version and is wrong.

https://github.com/paypal/PayPal-NET-SDK/issues/123

我刚得到一个响应从贝宝MTS和澄清文件是从一个旧的版本,是错误的。

https://github.com/paypal/paypal-net-sdk/issues/123

c#  .net  paypal  paypal-rest-sdk