Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    8
    Plugin Contributions
    0

    application error PayPal Express Checkout Problems

    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!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express Checkout Problems

    Quote Originally Posted by Mom0fgirls View Post
    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.
    The page-not-found error you got is likely a big part of the key to the problem of orders not showing up in your store. We'll need to get more information about what exactly was happening at that stage:
    - what was the URL in your browser address bar when that page-not-found appeared?
    - in your PayPal logs, there are typically 3 "PayPal_CURL_xxxxxx" files generated with each transaction. Need to see the 3 files from that particular transaction


    When you say that the transaction processed correctly anyway, what exactly do you mean by that? Do you mean you got the payment only? or do you mean you also see the order in your Zen Cart admin? Did you get the Zen Cart order-confirmation email?

    When these orders aren't showing up in your Zen Cart admin, am I correct that neither you nor the customer are getting order-confirmation emails from the store ... only from PayPal?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express Checkout Problems

    I'd recommend turning off the PayPal Website Payments Standard module if you're not using it. Having unused modules configured-but-disabled can sometimes create unexpected results during checkout.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Oct 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout Problems

    Thank you. I'll uninstall the Website Payments Standard module. Sorry this is so long. If there's a more efficient way to show logs please let me know.

    Quote Originally Posted by DrByte View Post
    - what was the URL in your browser address bar when that page-not-found appeared?
    I'm sorry I didn't note the URL. I just tried to reproduce it and the CC payment went through without error (ARGHH!). The intermittent nature of this is one of the frustrations. If it happens again, I'll try to get the URL. I haven't changed anything in Zen yet (e.g. WPS is still installed but disabled).

    Quote Originally Posted by DrByte View Post
    - in your PayPal logs, there are typically 3 "PayPal_CURL_xxxxxx" files generated with each transaction. Need to see the 3 files from that particular transaction
    Note that I've stripped personal information (that was correctly logged) out of these logs. These spots are marked {DATA OK}.

    Paypal_CURL_EC-8TX12178JR4166735_b59v.log


    2008-10-24 07:51:02
    -------------------
    (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
    [ADDROVERRIDE] => 1
    [SHIPTONAME] => {DATA OK}
    [SHIPTOSTREET] => {DATA OK}
    [SHIPTOCITY] => {DATA OK}
    [SHIPTOZIP] => {DATA OK}
    [SHIPTOSTATE] => {DATA OK}
    [SHIPTOCOUNTRYCODE] => US
    [EMAIL] => {DATA OK}
    [PHONENUM] => {DATA OK}
    [AMT] => 42.39
    [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-8TX12178JR4166735
    [TIMESTAMP] => 2008-10-24T12:51:04Z
    [CORRELATIONID] => c6dfb1b44d56
    [ACK] => Success
    [VERSION] => 3.2
    [BUILD] => 730995
    [CURL_ERRORS] =>
    )


    SetExpressCheckout, Elapsed: 373ms -- Success

    Paypal_CURL_EC-8TX12178JR4166735_ZtUi.log


    2008-10-24 07:52:33
    -------------------
    (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: {GetExpressCheckoutDetails}
    Array
    (
    [TOKEN] => EC-8TX12178JR4166735
    [REQBILLINGADDRESS] => 1
    [METHOD] => GetExpressCheckoutDetails
    [USER] => cathy_api1.papergardenprojects.com
    [PWD] => ****************
    [VERSION] => 3.2
    [SIGNATURE] => ****************************************************rs6p
    )


    Response:
    Array
    (
    [TOKEN] => EC-8TX12178JR4166735
    [TIMESTAMP] => 2008-10-24T12:52:34Z
    [CORRELATIONID] => 1b0a95af9649e
    [ACK] => Success
    [VERSION] => 3.2
    [BUILD] => 730995
    [EMAIL] => {DATA OK}
    [PAYERID] => BQG7B26BZDESS
    [PAYERSTATUS] => unverified
    [FIRSTNAME] => {DATA OK}
    [LASTNAME] => {DATA OK}
    [COUNTRYCODE] => US
    [SHIPTONAME] => {DATA OK}
    [SHIPTOSTREET] => {DATA OK}
    [SHIPTOCITY] => {DATA OK}
    [SHIPTOSTATE] => {DATA OK}
    [SHIPTOZIP] => {DATA OK}
    [SHIPTOCOUNTRYCODE] => US
    [SHIPTOCOUNTRYNAME] => United States
    [ADDRESSSTATUS] => Confirmed
    [CURL_ERRORS] =>
    )


    GetExpressCheckoutDetails, Elapsed: 296ms -- Success

    Paypal_CURL_EC-8TX12178JR4166735_ztEm.log


    2008-10-24 07:52:50
    -------------------
    (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: {DoExpressCheckoutPayment}
    Array
    (
    [ITEMAMT] => 39.99
    [SHIPPINGAMT] => 0.00
    [TAXAMT] => 2.40
    [AMT] => 42.39
    [L_NUMBER0] =>
    [L_QTY0] => 1
    [L_NAME0] => Scor Pal
    [L_AMT0] => 39.99
    [L_TAXAMT0] => 2.40
    [SHIPTONAME] => {DATA OK}
    [SHIPTOSTREET] => {DATA OK}
    [SHIPTOCITY] => {DATA OK}
    [SHIPTOSTATE] => {DATA OK}
    [SHIPTOZIP] => {DATA OK}
    [SHIPTOCOUNTRYCODE] => US
    [BUTTONSOURCE] => ZenCart-EC_us
    [TOKEN] => EC-8TX12178JR4166735
    [PAYERID] => BQG7B26BZDESS
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => http://papergardenprojects.com/store/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => USD
    [USER] => cathy_api1.papergardenprojects.com
    [PWD] => ****************
    [VERSION] => 3.2
    [SIGNATURE] => ****************************************************rs6p
    )


    Response:
    Array
    (
    [TOKEN] => EC-8TX12178JR4166735
    [TIMESTAMP] => 2008-10-24T12:52:51Z
    [CORRELATIONID] => db33969d6b718
    [ACK] => Success
    [VERSION] => 3.2
    [BUILD] => 730995
    [TRANSACTIONID] => 99D73860JU0851103
    [RECEIPTID] => 0076-8089-5933-4504
    [TRANSACTIONTYPE] => cart
    [PAYMENTTYPE] => instant
    [ORDERTIME] => 2008-10-24T12:52:50Z
    [AMT] => 42.39
    [FEEAMT] => 1.53
    [TAXAMT] => 2.40
    [CURRENCYCODE] => USD
    [PAYMENTSTATUS] => Completed
    [PENDINGREASON] => None
    [REASONCODE] => None
    [CURL_ERRORS] =>
    )


    DoExpressCheckoutPayment, Elapsed: 2286ms -- Success

    Quote Originally Posted by DrByte View Post
    When you say that the transaction processed correctly anyway, what exactly do you mean by that? Do you mean you got the payment only? or do you mean you also see the order in your Zen Cart admin? Did you get the Zen Cart order-confirmation email?
    In this case, I hit the <BACK> button on my browser and found the PayPal info grayed out. At that point I went to my email, and although there was a delay, eventually I got both PayPal and Zen confirmation emails (and the order was recorded in my cart). That is, although I got a page-not-found error, the transaction did eventually process 100% OK.

    That doesn't always happen. I had a customer earlier today who did the same thing, but the order never went through. She may have closed the browser right away? That transaction only had the 1st CURL log:


    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] => {DATA OK}
    [PHONENUM] => {DATA OK}
    [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&amp;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

    This transaction had 1 more ACTION log then was heard from no more. FWIW here it is:


    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
    )

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

    In this case there was no confirmation from PayPal nor from Zen, and no order ended up in the cart. This customer was from Canada, and some (not all) of my other problems have involved Canadian orders. Some CA orders have gone through fine, though.

    Quote Originally Posted by DrByte View Post
    When these orders aren't showing up in your Zen Cart admin, am I correct that neither you nor the customer are getting order-confirmation emails from the store ... only from PayPal?
    In general, yes. We both get PayPal comfirmations but nothing from the store. There is no order recorded in the store either. So, it looks like there is (at least) a problem with the final PayPal communication back to the store. The page-not-found error may be another issue.

    This is intermittent, though. I've had orders that go through fine each day also. This afternoon one processed (with an eCheck rather than CC) fine. But I also just tested the no-login CC payment path, and it worked fine this time. This is driving me crazy!

    Thanks for wading through all this!! And thank you again for your assistance.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express Checkout Problems

    The next time you get the page-not-found situation, I'd be interested in seeing the PayPal_CURL log for the DoExpressCheckoutPayment step (the 3rd of the 3), as well as the URL that shows in the browser.

    As to the missing emails, at least it's consistently giving both you and the customer the emails, or it's giving none. That's a good sign.

    I'm not sure what's preventing your orders from being saved though. However, uninstalling all modules that are not actually being used will help prevent them from getting mixed up into the process, which does sometimes happen unfortunately.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Oct 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: PayPal Express Checkout Problems

    I had some problems again this morning. Here's the trail of events as best I can recreate them:

    I tried to use paypal express checkout without creating a store account and got the 'can’t display webpage' error when it first transferred to PayPal (tried it twice).

    This is the URL for the “can’t display” page.
    https://www.paypal.com/us/cgi-bin/we...00c8820f2d2c73

    The order did not process. But then when I went back to the store, a new account had been created for the customer – even though the customer never created one. And it shows no orders.

    Here is the error page URL for the second try, same process as above.
    https://www.paypal.com/us/cgi-bin/we...00c8820f2d2c73

    I logged off the site. When I discovered the account automatically set up, I logged on again and with the same PayPal account as above I did the same thing. I purchased an item using the express checkout without logging into an account in the store. This time the order when through – with a record of it in both my shopping cart and in my PayPal account. The customer got a confirmation from my website and paypal.

    But, instead of the “thanks for shopping” page I got an error on page with this URL:
    http://papergardenprojects.com/store...eckout_process

    Then, I started over again making a purchase with an existing store account. I got all the way to through confirm the purchase on PayPal. After confirming the order I got Internet Explorer 'cannot display webpage' error instead of being redirected to my site for the “thanks for shipping page”. But the order processed and its in my cart, paypal account and the customer got a receipt.

    This is the URL for that error page.
    https://www.paypal.com/us/cgi-bin/we...00c8820f2d2c73

    Meanwhile this week I had a bunch of orders that went through fine.

    Any idea what's wrong? I can't understand why express checkouts don't go through the first time, but succeed 5 minutes later. Why all the error on page errors? There are so many paths through the checkout process, it could be path-specific, but I haven't been able to find a pattern. Do you think this a PayPal problem? Might I have something set up incorrectly?

    Thanks for any help you can offer.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express Checkout Problems

    None of what you describe is "normal", and it seems unlikely that it's anything wrong with your PayPal settings.

    It seems like either a problem with your server or a problem with PayPal. It's hard to tell, as you only reported errors when you had PayPal URLs. In the case of your store URL, you didn't state what specific error showed on the page.

    Also, in the cases when you got those errors, what shows in your Paypal debug logs?
    And, importantly, what shows in your webserver's errorlogs as the cause of "page cannot be displayed", if any?
    Have you tried in browsers other than IE to see if more information is shown?
    Are there any PHP errors in the PHP debug logs? (ie: step 2a: https://www.zen-cart.com/tutorials/index.php?article=82 )
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h Sudden Problems with Paypal Express Checkout
    By doooomed in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 15 Feb 2012, 02:28 AM
  2. Paypal IPN and Express Checkout problems
    By timprotech in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 17 Mar 2011, 10:22 PM
  3. Problems with paypal express checkout welcome email
    By paddy_uk2007 in forum General Questions
    Replies: 4
    Last Post: 21 Jan 2011, 10:59 PM
  4. PayPal Express Checkout Problems.. HELP!
    By StrictlyAutoParts in forum PayPal Express Checkout support
    Replies: 12
    Last Post: 18 Dec 2007, 06:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR