【问题标题】:receive 10002 error from paypal doDirectPaymentMethod从贝宝 doDirectPaymentMethod 收到 10002 错误
【发布时间】:2016-11-02 07:04:48
【问题描述】:

我发送了一个请求 http://api-3t.paypal.com/nvp/ 但我收到了 10002 错误,并且我的 api 签名和用户名和密码是 true 发票编号是用随机 C# 创建的 10 位数字。 我的代码是:

string strNVP = "METHOD=DoDirectPayment" +
                    "&VERSION=" + ApiVersion +
                    "&PWD=" + ApiPassword +
                    "&USER=" + ApiUsername +
                    "&SIGNATURE=" + ApiSignature +
                    "&PAYMENTACTION=Sale" +
                    "&IPADDRESS=151.243.189.92" +
                    "&RETURNFMFDETAILS=0" +
                    "&CREDITCARDTYPE=" + creditCard.type +
                    "&ACCT=" + creditCard.number +
                    "&EXPDATE=" + expirationMonth + "20" + expirationYear +
                    "&CVV2=" + creditCard.cvv2 +
                    "&STARTDATE=" +
                    "&ISSUENUMBER=" +
                    "&EMAIL=MatinF@outlook.com" +
                    //the following  represents the billing details
                    "&FIRSTNAME=" + billingFirstName +
                    "&LASTNAME=" + billingLastName +
                    "&STREET=" + billingAddress1 +
                    "&STREET2=" + "" +
                    "&CITY=" + Address[8].ToString() +
                    "&STATE=" + stateName +
                    "&COUNTRYCODE=SW" +
                    "&ZIP=" + Address[5].ToString() +
                    "&AMT=" + TotalPrice +//orderdetails.GrandTotal.ToString("0.0")+
                    "&CURRENCYCODE=SEK" +
                    "&DESC=Test Sale Tickets" +
                    "&INVNUM=" + InvoiceNumber;

【问题讨论】:

    标签: asp.net-mvc api paypal paypal-sandbox payment


    【解决方案1】:

    这似乎是基于收件人version 122 for doDirect APIs 更新的限制问题。

    (10002) 您已超出接收限制。此交易无法完成

    Click here for more info

    【讨论】:

      猜你喜欢
      • 2012-01-23
      • 2012-06-15
      • 1970-01-01
      • 1970-01-01
      • 2016-05-27
      • 2016-02-10
      • 1970-01-01
      • 2014-08-25
      • 2015-09-14
      相关资源
      最近更新 更多