简体   繁体   English

从paypal获取详细信息?

[英]Get details from paypal?

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

There are possibilites to do PayPal integrations. 有可能进行PayPal集成。 See their PayPal SOAP API Overview . 查看他们的PayPal SOAP API概述 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. 还有一些替代方案可以让用户登录到paypal,但你必须先将它们重新指向paypal。 There are ways to get the adress that they provided in the purchase but you cannot authenticate them on PayPal via your site. 有一些方法可以获得他们在购买时提供的地址,但您无法通过您的网站在PayPal上对其进行身份验证。

The Website PayPal Payments Pro allows for some additional features. 网站PayPal Payments Pro允许一些额外的功能。

Express Checkout lets you accept PayPal payments on your website. 快速结账可让您在自己的网站上接受PayPal付款。 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. 他们不必花时间输入财务和运输信息,因为他们的信息已存储在他们的PayPal帐户中。

  1. Your customer chooses to pay with PayPal by entering their email address and PayPal password, without leaving your website. 您的客户选择通过输入他们的电子邮件地址和PayPal密码来支付PayPal,而无需离开您的网站。
  2. Your customer makes the payment using PayPal. 您的客户使用PayPal付款。
  3. The payment information is sent to PayPal using PayPal Express Checkout API operations. 使用PayPal Express Checkout API操作将支付信息发送到PayPal。
  4. The funds from the transaction are sent to your PayPal account. 交易中的资金将发送到您的PayPal帐户。

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. 您只需使用Advanced Personal Data API端点即可。 The steps are as follows: 步骤如下:

1) Use the permissions API to get an access token for your user. 1)使用权限API为您的用户获取访问令牌。 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. 2)获得令牌后,使用您从oauth令牌获得的签名构建高级个人数据请求。 This should include address information. 这应该包括地址信息。

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

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