贝宝Express结帐和地址验证API [英] paypal Express checkout and address verify API

查看:102
本文介绍了贝宝Express结帐和地址验证API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

paypal Express结帐地址状态字段和AddressVerify地址匹配字段之间有什么区别?两者都检查相同的地址吗?如果是,那么如果我们在快速结帐响应中得到它,则无需调用addressverify API?我说得对吗?

What is the differece between paypal Express checkout addressstatus field and AddressVerify address match field ? both does the same address check ? if yes then no need to call addressverify API if we get it in express checkout response ? 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/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. The values that you would have returned for this variable are None, Confirmed, and Unconfirmed.

通过 AddressVerify API ,您可以进行验证地址,而不必通过Express Checkout流程发送买家,它会告诉您该地址是否是PayPal确认的已确认地址.除此之外,它还会告诉您街道是否匹配,邮政编码是否匹配,并提供PayPal电子邮件地址的国家/地区代码.您还将使用 AddressVerify API ,其中包含有关成员的电子邮件地址和邮政地址的加密信息.如果您在立即购买"按钮的HTML变量address_api_token中传递令牌的值,则PayPal会阻止买方使用电子邮件地址或邮政地址,而不是通过此API调用经过PayPal验证的电子邮件地址或邮政地址.该令牌的有效期为24小时.

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. 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. You will also get a token back with the AddressVerify API that contains encrypted information about the member’s email address and postal address. 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. The token is valid for 24 hours.

这篇关于贝宝Express结帐和地址验证API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆