简体   繁体   English

贝宝Express结帐和地址验证API

[英]paypal Express checkout and address verify API

What is the differece between paypal Express checkout addressstatus field and AddressVerify address match field ? paypal Express结帐地址状态字段和AddressVerify地址匹配字段之间有什么区别? both does the same address check ? 两者都检查相同的地址吗? if yes then no need to call addressverify API if we get it in express checkout response ? 如果是,那么如果我们在快速结帐响应中得到它,则无需调用addressverify API? Am I correct ? 我对么 ?

https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/AddressVerify_API_Operation_NVP/ https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/AddressVerify_API_Operation_NVP/

https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetExpressCheckoutDetails_API_Operation_NVP/ https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetExpressCheckoutDetails_API_Operation_NVP/

The ADDRESSSTATUS or PAYMENTREQUEST_n_ADDRESSSTATUS that is returned in the GetExpressCheckoutDetails API call gives you the status of the street address on file with PayPal. ADDRESSSTATUS API调用中返回的ADDRESSSTATUSPAYMENTREQUEST_n_ADDRESSSTATUS会为您提供PayPal文件上街道地址的状态。 The values that you would have returned for this variable are None, Confirmed, and Unconfirmed. 您将为此变量返回的值为“无”,“已确认”和“未确认”。

The AddressVerify API allows you to verify the address without having to send the buyer through the Express Checkout flow and it will tell you if the address is a confirmed address on file with PayPal. AddressVerify API允许您验证地址,而不必通过Express Checkout流程发送买家,它会告诉您该地址是否是PayPal记录的已确认地址。 In addition to this, it will also tell you if the street matched, the zip code matched, and will provide the country code on file for the PayPal email address. 除此之外,它还会告诉您街道是否匹配,邮政编码是否匹配,并提供PayPal电子邮件地址的国家/地区代码。 You will also get a token back with the AddressVerify API that contains encrypted information about the member's email address and postal address. 您还将使用AddressVerify API返回令牌,该令牌包含有关成员的电子邮件地址和邮政地址的加密信息。 If you pass the value of the token in the HTML variable address_api_token of Buy Now buttons, PayPal prevents the buyer from using an email address or postal address other than those that PayPal verified with this API call. 如果您在“立即购买”按钮的HTML变量address_api_token中传递令牌的值,则PayPal会阻止买方使用电子邮件地址或邮政地址,而不是通过此API调用验证过的电子邮件地址或邮政地址。 The token is valid for 24 hours. 令牌有效期为24小时。

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

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