通过 PayPal GetVerifiedStatus API 验证用户

发布于 2024-12-11 06:36:48 字数 705 浏览 0 评论 0原文

我一直在尝试让 GetVerifiedStatus API 工作,但它就是不起作用。

我尝试过使用有效的电子邮件地址 http://www.dev-tool.com /pptester/NVP/CallType.aspx?ServiceID=51&CallTypeID=53 以及直接和通过curl,但它们都会给出“Api 凭据不正确”的错误。 有谁知道该怎么做?

然后我还有另一个问题,paypal说GetVerifiedStatus API 接受电子邮件、名字和姓氏。 (如中所述)

但是有这个 说他成功使用电子邮件、密码和签名验证了...有人知道密码和签名从哪里来吗?

谢谢

I have been trying to get this GetVerifiedStatus API to work but it just doesn't work.

I have tried using a valid email address on
http://www.dev-tool.com/pptester/NVP/CallType.aspx?ServiceID=51&CallTypeID=53
As well as directly and through curl but they all give error of 'Api credentials are incorrect'.
Does anyone know how to do it?

Then I have another question, paypal says that GetVerifiedStatus API takes in email,first name and last name. (as mentioned in )

However there is this guy who says that he verified using email, password and signature successfully... anybody has any idea where do password and signature comes in it from?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

幸福还没到 2024-12-18 06:36:48

您所指的链接正在谈论 API 用户名、密码和签名。

要使用 GetVerifiedStatus,您必须发送电子邮件、firstName、lastName 和 matchCriteria。
另请参阅 https://www.paypal-biz.com/development/ 第 63 页文档/PP_AdaptiveAccounts.pdf

The link you're referring to is talking about an API username, password and signature.

To use GetVerifiedStatus, you must send email, firstName, lastName and matchCriteria.
See also page 63 of https://www.paypal-biz.com/development/documentation/PP_AdaptiveAccounts.pdf

甜心小果奶 2024-12-18 06:36:48

要使用 GetVerifiedStatus.php,您需要执行以下操作:

  1. 创建一个帐户 paypal sandboc
  2. 创建预配置帐户
  3. 单击 API 和支付卡凭据以查看您的帐户凭据
  4. 使用您在第 3 步中获得的凭据更新以下代码

    //PayPal API 凭证
    $API_UserName = "sbapi_1287090601_biz_api1.paypal.com"; //待办事项
    $API_Password = "1287090610"; //待办事项
    $API_Signature = "ANFgtzcGWolmjcm5vfrf07xVQ6B9AsoDvVryVxEQqezY85hChCfdBMvY"; //待办事项
    
    //PayPal沙盒登录电子邮件
    $API_SANDBOX_EMAIL_ADDRESS = "[电子邮件受保护]"; <<<<<<<这是您的登录电子邮件地址
    

希望这会有所帮助。

To use GetVerifiedStatus.php here is what you have to do:

  1. Create an account paypal sandboc
  2. Create a preconfigured account
  3. Click on API and Payment Card Credentials to view your account credentials
  4. Update the following code with the credentials you got from step 3

    //PayPal API Credentials
    $API_UserName = "sbapi_1287090601_biz_api1.paypal.com"; //TODO
    $API_Password = "1287090610"; //TODO
    $API_Signature = "ANFgtzcGWolmjcm5vfrf07xVQ6B9AsoDvVryVxEQqezY85hChCfdBMvY"; //TODO
    
    //PAYPAL SANDBOX LOGIN EMAIL
    $API_SANDBOX_EMAIL_ADDRESS = "[email protected]"; <<<<< THIS IS YOUR LOGIN EMAIL ADDRESS
    

I hope this help.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文