2016-06-30 38 views
0

Ich sende eine Anfrage http://api-3t.paypal.com/nvp/, aber ich erhalte die 10002 Fehler und meine API-Signatur und Benutzername und Passwort ist wahr die Rechnungsnummer ist 10-stellige Nummer, die in zufälligen C# erstellt wird. mein Code:empfangen 10002 Fehler von paypal doDirectPaymentMethod

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 protected]" + 
        //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; 

Antwort