简体   繁体   中英

Get details from paypal?

是否有可能让用户通过paypal登录mywebsite并让网站检索用户的paypal邮政地址?

There are possibilites to do PayPal integrations. See their PayPal SOAP API Overview . I've mainly seen this being used for validating and charging credit cards.

And there are alternatives that lets the users login to paypal but you have to re-direct them to paypal first. There are ways to get the adress that they provided in the purchase but you cannot authenticate them on PayPal via your site.

The Website PayPal Payments Pro allows for some additional features.

Express Checkout lets you accept PayPal payments on your website. Your customers benefit because paying for items is fast. They don't have to spend time typing in financial and shipping information because their information is already stored in their PayPal account.

  1. Your customer chooses to pay with PayPal by entering their email address and PayPal password, without leaving your website.
  2. Your customer makes the payment using PayPal.
  3. The payment information is sent to PayPal using PayPal Express Checkout API operations.
  4. The funds from the transaction are sent to your PayPal account.

But it seems you cannot let the users login and just retreiv their information without performing a purchase.

I just saw this question, but it is possible to get the postal address without forcing people to make a purchase. You simply need to use the Advanced Personal Data API endpoint. The steps are as follows:

1) Use the permissions API to get an access token for your user. Be sure to ask for the Advanced User Data permission.

2) Once you've got the token, build an advanced personal data request using the signature you'll get from the oauth token. This should include address information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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