Paypal沙盒直接支付内部错误10001超时处理请求。

时间:2022-03-15 08:03:54

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:

这是在一个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

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

我可以取得平衡,当我故意发送错误时,我可以产生其他错误,但是DoDirectPayment或do授权返回:

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?

为什么会出现这个错误?

4 个解决方案

#1


9  

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

是的,我也有同样的想法。我在他们的产品URL上测试了我的代码,它运行得很好。

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>

考虑到他们如此专注于开发人员,他们的API是多么的可怕。我可以在他们的社交网络x.com上获得分数并关注其他人,但是我不知道API的当前版本是什么!(你必须查看网页的源代码,并在HTML注释中找到它)

#2


6  

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

从我所读到的内容来看,这可能是一种畸形的数据。在我的情况下,我发送了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.

我没有在文档中读到任何关于表单编码的内容,但是当我改变它的时候,PP服务器就变得友好多了。

#3


1  

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

我相信,它的薪酬伙伴们抵御了攻击。在代码中有特定的操作过程

#4


0  

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.

通过沙箱控制面板,如果服务器认为它正在受到攻击,这些错误消息将被发送给用户。

#1


9  

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

是的,我也有同样的想法。我在他们的产品URL上测试了我的代码,它运行得很好。

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>

考虑到他们如此专注于开发人员,他们的API是多么的可怕。我可以在他们的社交网络x.com上获得分数并关注其他人,但是我不知道API的当前版本是什么!(你必须查看网页的源代码,并在HTML注释中找到它)

#2


6  

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

从我所读到的内容来看,这可能是一种畸形的数据。在我的情况下,我发送了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.

我没有在文档中读到任何关于表单编码的内容,但是当我改变它的时候,PP服务器就变得友好多了。

#3


1  

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

我相信,它的薪酬伙伴们抵御了攻击。在代码中有特定的操作过程

#4


0  

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.

通过沙箱控制面板,如果服务器认为它正在受到攻击,这些错误消息将被发送给用户。