I am having a problem with PayPal orders, and I'm not sure it is a paypal problem.

Unfortunately, it is an intermittent problem. Most of the time PayPal works fine, so I think my basic set-up is OK.

I have done all the troubleshooting I can find (e.g. the wiki).

I'm running Zen 1.3.8a and PayPal Express Checkout. I have "PayPal IPN - Website Payments Standard" installed but disabled, and "PayPal Express Checkout" installed and enabled.

I did run extras/ipncheck.php and got a successful result. When I ran the extras/curltest.php?paypal=1 test, I got the following result:

ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF

It's not obvious to me whether this is OK or not.

I have the de-bug log on - but its not very helpful to me. It seems like transactions go along just fine and then stop. I can't figure out what is the thing making some fail and others successful.

As for errors, most orders PayPal process just fine, but about 10% of the time I'll get a 'payment received' email from PayPal but the cart doesn't get the message. I don't get an order confirmation from the cart, and the cart doesn't record the order (even though the customer successfully paid). I can tell what they ordered from the PayPal notification email, but I have to manually adjust the inventory.

There are a couple of other things that happened last week (like an order from NJ getting charged shipping from the wrong zone, and another order that came through both PayPal and the cart with a total charge, but no itemized list of what they ordered).

I had two customers complete an order, (they tell me they got a PayPal receipt). But the order never processed and funds never transfered.

I had a customer yesterday that said " The site wouldn't work to take me to PayPal to pay for my order. I wanted to pay with MC on my PayPal account. It simply stopped working and I couldn't get back to try it all again." I included the last two error logs at the end. It seemed to be just fine, but then stopped.

When I did a test credit card transaction, it was fine until I clicked "buy now" on PayPal. Then instead of going to the thanks for shopping page on my site - I got a page not found error. But the transaction processed correctly anyway.

Here are the last two error logs for the most recent failed transaction.

2008-10-24 04:32:58
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 45
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.8a
)


Request Parameters: {SetExpressCheckout}
Array
(
[LOCALECODE] => US
[PAYMENTACTION] => Sale
[email] => [email protected]
[PHONENUM] => 250-723-1721
[AMT] => 75.56
[RETURNURL] => http://papergardenprojects.com/store/ipn_main_handler.php?type=ec
[CANCELURL] => http://papergardenprojects.com/store/index.php?main_page=checkout_shipping&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => USD
[USER] => cathy_api1.papergardenprojects.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************rs6p
)


Response:
Array
(
[TOKEN] => EC-8Y2549945Y186390U
[TIMESTAMP] => 2008-10-24T09:32:59Z
[CORRELATIONID] => 39cf89037eec1
[ACK] => Success
[VERSION] => 3.2
[BUILD] => 730995
[CURL_ERRORS] =>
)


SetExpressCheckout, Elapsed: 480ms -- Success

Oct-24-2008 04:35:42
PayPal test Log - ec_step2 $_REQUEST data
In function: ec_step2()
Data in $_REQUEST =
Array
(
[type] => ec
[token] => EC-8Y2549945Y186390U
[PayerID] => 53VVLSXXDUEFU
[zenid] => gdqg9j7765qe75p84976paqjq6
)

=================================


Thank you for any help you can offer!