Paypal Sandbox 直接付款内部错误 10001 超时处理请求

发布于 2024-10-09 12:01:57 字数 771 浏览 4 评论 0原文

这是在 MVC2 项目中,所以我在 ASP 中使用 C#。 这是我发送到 https://api-3t.sandbox.paypal.com/nvp 的内容

VERSION = 65.0
SIGNATURE = AFcWxV21C7fd0v3bYYYRCpSSRl31AxdW2pQp.tWHTjGNcHflR-LJhJ0t
USER = seller_1283487740_biz_api1.gmail.com
PWD = 1283487748
AMOUNT = 50.00
CREDITCARDTYPE = Visa
ACCT = 4031477440127509
EXPDATE = 12/2015
CVV2 =123
IPADDRESS = 127.0.0.1
METHOD = DoDirectPayment

我可以 GetBalance,当我故意发送错误的内容时,我可能会产生其他错误,但 DoDirectPayment 或 DoAuthorization 返回此:

TIMESTAMP = 2010-12-24T03:35:10Z
CORRELATIONID = 2ca329fdbe3c0
ACK = Failure
L_ERRORCODE0 = 10001
L_SHORTMESSAGE0 = Internal Error
L_LONGMESSAGE0 = Timeout processing request

为什么我会收到此错误?

This is in an MVC2 project, so I'm using C# in ASP.
This is what I'm sending to https://api-3t.sandbox.paypal.com/nvp:

VERSION = 65.0
SIGNATURE = AFcWxV21C7fd0v3bYYYRCpSSRl31AxdW2pQp.tWHTjGNcHflR-LJhJ0t
USER = seller_1283487740_biz_api1.gmail.com
PWD = 1283487748
AMOUNT = 50.00
CREDITCARDTYPE = Visa
ACCT = 4031477440127509
EXPDATE = 12/2015
CVV2 =123
IPADDRESS = 127.0.0.1
METHOD = DoDirectPayment

I can GetBalance, I can produce other errors when I intentionally send something wrong, but DoDirectPayment or DoAuthorization returns this:

TIMESTAMP = 2010-12-24T03:35:10Z
CORRELATIONID = 2ca329fdbe3c0
ACK = Failure
L_ERRORCODE0 = 10001
L_SHORTMESSAGE0 = Internal Error
L_LONGMESSAGE0 = Timeout processing request

Why Am I getting this error?

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

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

发布评论

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

评论(4

谷夏 2024-10-16 12:01:57

是的,我也得到同样的事情。我在他们的生产 URL 上测试了我的代码,效果很好。

考虑到他们对开发人员的关注程度,令人惊讶的是他们的 API 是多么糟糕。我可以在他们的小社交网络 x.com 上获得积分并关注其他人,但我不知道 API 的当前版本是什么!?! (您必须查看网页的源代码并发现它嵌入在 HTML 注释中)

Yeah, I'm getting the same thing. I tested my code on their production URL and it worked just fine.

Given how much they are focused on developers, it's amazing how horrible their API is. I can get points and follow other people on their little social network, x.com, but I CAN'T TELL WHAT THE CURRENT VERSION OF THE API IS!?! (You have to view the source of the webpage and find it embedded in an HTML comment) </rant>

说好的呢 2024-10-16 12:01:57

根据我所读到的内容,这可能是数据格式错误的迹象。就我而言,我发送表单是

multipart/form-data

因为

application/x-www-form-urlencoded

我没有阅读有关表单编码的文档中的任何地方,但是一旦我更改了它,PP 服务器就变得更加友好。

From what I've read around, this can be a sign of malformed data. In my case, I was sending the form as

multipart/form-data

instead of

application/x-www-form-urlencoded

I hadn't read anywhere in the docs about form encoding, but as soon as I changed it the PP server got a lot more friendly.

我也只是我 2024-10-16 12:01:57

我相信它的 PayPal 防御功能能够抵御攻击。代码中存在某些执行操作的过程

I believe its Pay Pals defence againest attacks. Theres certain procedures that action in the code

如梦 2024-10-16 12:01:57
Error codes:
* 100 Access denied
* 105 Order already exists
* 106 DID ID: DID_ID NOT found
* 107 Invalid Protocol
* 108 DID: DIDNUMBER NOT found
* 109 DID: DIDNUMBER in Pending/Remove status
* 110 DID: DIDNUMBER NOT renewed
* 111 Invalid status code. Valid codes: 0 - Disable, 1 - Enable
* 113 Order NOT found for DIDNUMBER
* 114 Order already canceled for DIDNUMBER
* 115 ORDER: Cannot cancel not pending order for DIDNUMBER. Please, use did_cancel 
* 120 UNIQ: UNIQUEKEY NOT found
* 121 No cities for this country
* 150 Sandbox error. DIDs max limit reached
* 200 Internal Server Error

如果服务器认为它受到攻击,则通过沙盒控制面板向用户提供这些错误消息。

Error codes:
* 100 Access denied
* 105 Order already exists
* 106 DID ID: DID_ID NOT found
* 107 Invalid Protocol
* 108 DID: DIDNUMBER NOT found
* 109 DID: DIDNUMBER in Pending/Remove status
* 110 DID: DIDNUMBER NOT renewed
* 111 Invalid status code. Valid codes: 0 - Disable, 1 - Enable
* 113 Order NOT found for DIDNUMBER
* 114 Order already canceled for DIDNUMBER
* 115 ORDER: Cannot cancel not pending order for DIDNUMBER. Please, use did_cancel 
* 120 UNIQ: UNIQUEKEY NOT found
* 121 No cities for this country
* 150 Sandbox error. DIDs max limit reached
* 200 Internal Server Error

Through a Sandbox control panel these error messages are given to a user if the server believes that it is under-attack.

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