I'm playing a few hours with this strange error.
I'm using Magento 18.104.22.168 & PayPal Payments Pro (Includes Express Checkout). I'm sure I have set all the creds correctly. Debug modes & Sandbox is turned on.
Neither Payments Pro nor Express Checkout is working.
What is in the
2014-11-09T12:13:24+00:00 DEBUG (7): Array ( [url] => https://api-3t.sandbox.paypal.com/nvp [DoDirectPayment] => Array ( [PAYMENTACTION] => Sale [IPADDRESS] => XXX.XXX.XXX.XXX [RETURNFMFDETAILS] => 1 [AMT] => 242.65 [CURRENCYCODE] => USD [INVNUM] => 3025276 [NOTIFYURL] => http://store.example.org/us/paypal/ipn/ [EMAIL] => email@example.com [CREDITCARDTYPE] => **** [ACCT] => **** [EXPDATE] => **** [CVV2] => **** [ISSUENUMBER] => [ITEMAMT] => 235.00 [TAXAMT] => 0.00 [SHIPPINGAMT] => 7.65 [L_NUMBER0] => D261 [L_NAME0] => Product Name [L_QTY0] => 1 [L_AMT0] => 235.00 [BUSINESS] => [FIRSTNAME] => Dr. Elizabeth A. [LASTNAME] => Asante [MIDDLENAME] => [SALUTATION] => [SUFFIX] => [COUNTRYCODE] => US [STATE] => CA [CITY] => Fresno [STREET] => XXXX E Madison Ave [ZIP] => XXXXX [PHONENUM] => +1 XXX-XXX-XXXX [SHIPTOCOUNTRYCODE] => US [SHIPTOSTATE] => CA [SHIPTOCITY] => Fresno [SHIPTOSTREET] => XXXX E Madison Ave [SHIPTOZIP] => XXXXX [SHIPTOPHONENUM] => +1 XXX-XXX-XXXX [SHIPTOSTREET2] => [STREET2] => [SHIPTONAME] => Dr. Elizabeth A. Asante [METHOD] => DoDirectPayment [VERSION] => 72.0 [USER] => **** [PWD] => **** [SIGNATURE] => **** [BUTTONSOURCE] => Magento_Cart_Community ) [response] => Array ( [TIMESTAMP] => 2014-11-09T12:13:24Z [CORRELATIONID] => 6f2bd705b0a21 [ACK] => Failure [L_ERRORCODE0] => 10001 [L_SHORTMESSAGE0] => Internal Error [L_LONGMESSAGE0] => Timeout processing request ) [__pid] => 2271 )
The similar is in the
exception.log file says that
Exception' with message 'PayPal response hasn't required fields. and right after that
exception 'Mage_Core_Exception' with message 'There was an error processing your order. Please contact us or try again later.'.
The store currency is set properly.
arg_separator.output = "&"
In the PayPal Sandbox I have created a business account and a customer account. Business account's API is used in the Magento's backend (PayPal settings).
What else have I set up to make it working properly?
Actually I read about this solution, but I don't know how to do that in the PayPal's Sandbox UI.
Any answer would be appreciated!