Note that there are some explanatory texts on larger screens.

plurals
  1. POPaypal error: Timeout processing request
    primarykey
    data
    text
    <p>I'm using Paypal_base.dll to process Paypal transactions in my asp.net website but I'm getting errors. My code looks like:</p> <pre><code> string Response; const string paymentAction = "Sale"; const string currency = "USD"; var caller = new NVPCallerServices(); IAPIProfile profile = ProfileFactory.createSignatureAPIProfile(); profile.APIUsername = ConfigurationManager.AppSettings["APIUsername"]; profile.APIPassword = ConfigurationManager.AppSettings["APIPassword"]; profile.APISignature = ConfigurationManager.AppSettings["token"]; profile.Environment= "SandBox"; caller.APIProfile = profile; var encoder = new NVPCodec(); encoder["VERSION"] = "58.0"; encoder["METHOD"] = "DoDirectPayment"; encoder["PAYMENTACTION"] = paymentAction; encoder["AMT"] = amount; encoder["CREDITCARDTYPE"] = creditCardType; encoder["ACCT"] = creditCardNumber; encoder["EXPDATE"] = expdateMonth; // encoder["CVV2"] = cvv2Number; // encoder["FIRSTNAME"] = firstName; // encoder["LASTNAME"] = lastName; // encoder["STREET"] = city + ", " + state + ", " + countryCode; // encoder["CITY"] = city; // encoder["STATE"] = state; // encoder["ZIP"] = zip; encoder["COUNTRYCODE"] = countryCode; encoder["CURRENCYCODE"] = currency; // Execute the API operation and obtain the response. string pStrrequestforNvp = encoder.Encode(); string pStresponsenvp = caller.Call(pStrrequestforNvp); var decoder = new NVPCodec(); decoder.Decode(pStresponsenvp); Response = decoder["L_LONGMESSAGE0"]; if (decoder["ACK"] == "Success") { } return decoder["ACK"]; </code></pre> <p>The value at Response = decoder["L_LONGMESSAGE0"]; is "Timeout processing request"</p> <p>and decoder["ACK"] gives "Failure" message.</p> <p><strong>caller.Call(pStrrequestforNvp) has this value:</strong></p> <p>TIMESTAMP=2013%2d10%2d02T22%3a40%3a04Z&amp;CORRELATIONID=fa19cc06164da&amp;ACK=Failure&amp;L_ERRORCODE0=10001&amp;L_SHORTMESSAGE0=Internal%20Error&amp;L_LONGMESSAGE0=Timeout%20processing%20request</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload