Thread: paypal IPN woes

Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40
  1. #31
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: paypal IPN woes

    When you installed the may 10 patch, did you also configure PDT? This should help prevent stuck orders from happening.
    .

    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.

  2. #32

    Default Re: paypal IPN woes

    Yes, I configured PDT after installing the patch.
    No feedback from the clients I found in the stack orders, for some unknown reason they left the Paypal payment page without proceeding.
    I have logs activated, 2 other payments went well in the meanwhile... what I did was to remove Paypal Express Checkout that I am not using.

  3. #33

    Default Re: paypal IPN woes

    I got an email about a payment from Paypal without any Order confirm email...so I thought of another Stuck order, and moved it from Stuck orders to Orders list.
    Soon after , looking at the Log files I realized another log file arrived, from PDT that failed to insert order data because I moved from Stuck orders, so probably if I had waited I had had a good order.
    PDT was 10min late this time.Looking at the previous logged payments, the 2 log files have the same date/time or a difference of 1 min.

    So I realized that the FIRST log file, always reported a warning:

    Code:
     
    -- IPN WARNING :: Currency/Amount Mismatch.  Details: 
    PayPal email address = xxx@xxxx
     | mc_currency = EUR
     | submitted_currency = EUR
     | order_currency = 69
     | mc_gross = 69.00
     | converted_amount = 8.00
     | order_amount = 8  
    VERIFIED
    0
    And the orders were saved by PDT:

    Code:
     
    IPN INFO :: Currency/Amount Details: 
    PayPal email address = xxx@xxxx
     | mc_currency = EUR
     | submitted_currency = EUR
     | order_currency = EUR
     | mc_gross = 69.00
     | converted_amount = 69.00
     | order_amount = 69
    Jun 03 2007 17:11 -- PDT NOTICE :: Order added: 26
    PayPal status: Completed  @ 08:10:47 Jun 03, 2007 PDT
     Trans ID:14302649LU228052B
     Amount: 69.00 EUR
    Do you have any idea of the reason I get a Currency/Amount Mismatch in the IPN request?

    thanks

  4. #34
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: paypal IPN woes

    Quote Originally Posted by m_and_s View Post
    Soon after , looking at the Log files I realized another log file arrived, from PDT that failed to insert order data because I moved from Stuck orders, so probably if I had waited I had had a good order.
    PDT was 10min late this time.Looking at the previous logged payments, the 2 log files have the same date/time or a difference of 1 min.
    The only explanation for PDT being 10 min later is if the customer paid by CC and without a PP account, and was left on the "Click here to create account or here to return to merchant" screen ... and finally came back to your store after choosing one of those options.

    Quote Originally Posted by m_and_s View Post
    So I realized that the FIRST log file, always reported a warning:

    Code:
     
    -- IPN WARNING :: Currency/Amount Mismatch.  Details: 
    PayPal email address = xxx@xxxx
     | mc_currency = EUR
     | submitted_currency = EUR
     | order_currency = 69
     | mc_gross = 69.00
     | converted_amount = 8.00
     | order_amount = 8  
    VERIFIED
    0
    It seems really odd that the order_currency contains a number ... because it's supposed to contain the currency of the transaction.
    I can't see any reason in the code for that mismatch to happen. And, where does the "8" come from?
    Most puzzling.

    The following PDT log segment looks good. Strangely enough, both logs use the same piece of code.
    Quote Originally Posted by m_and_s View Post
    And the orders were saved by PDT:

    Code:
     
    IPN INFO :: Currency/Amount Details: 
    PayPal email address = xxx@xxxx
     | mc_currency = EUR
     | submitted_currency = EUR
     | order_currency = EUR
     | mc_gross = 69.00
     | converted_amount = 69.00
     | order_amount = 69
    Jun 03 2007 17:11 -- PDT NOTICE :: Order added: 26
    PayPal status: Completed  @ 08:10:47 Jun 03, 2007 PDT
     Trans ID:14302649LU228052B
     Amount: 69.00 EUR
    .

    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.

  5. #35

    Default Re: paypal IPN woes

    I checked the other log files, and I found that in all of them, in the first log file for each paypal transaction:

    1. order_currency and mc_gross have the same value of order amount
    2. converted_amount = 8.00
      order_amount = 8 , always, for any kind of order amount

  6. #36
    Join Date
    Apr 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: paypal IPN woes

    Quote Originally Posted by m_and_s View Post
    I checked the other log files, and I found that in all of them, in the first log file for each paypal transaction:

    1. order_currency and mc_gross have the same value of order amount
    2. converted_amount = 8.00
      order_amount = 8 , always, for any kind of order amount
    For those finding this thread with a search on IPN or stuck orders -
    I had the above problem exactly. If your IPN log shows order_currency = 69 (or any number) instead of a currency code like order_currency = EUR or other currency code, it will show converted_amount = 8.00 and order_amount = 8 and no order will be recorded.

    Don't know what causes it but I fixed it without upsetting any config by installing a new zencart to another directory then copying its /zencart/includes/modules/payment directory over the troublesome one. I'm using version 1.3.7.1.

    Hope this helps others so they don't slave for days like I did!

    Thanks Dr Byte for your troubleshooting tips in various threads that helped.

  7. #37
    Join Date
    Apr 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: paypal IPN woes

    Forgot to say IPN/orders was setup and working ok in the new install before I copied the directory(s) over.

  8. #38
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: paypal IPN woes

    Quote Originally Posted by zend View Post
    Forgot to say IPN/orders was setup and working ok in the new install before I copied the directory(s) over.
    I'm having the exact same issue, I've tried copying over the latest payment modules to no avail. Any help is appreciated.

    IPN WARNING :: Currency/Amount Mismatch. Details:
    PayPal email address = [email protected] | mc_currency = USD | submitted_currency = USD | order_currency = 1 | mc_gross = 1.00 | converted_amount = 8.00 | order_amount = 8 VERIFIED 0
    I've tried a few different things from other post's but the problem persists
    Thanks
    -Aaron

  9. #39
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: paypal IPN woes

    Quote Originally Posted by AaronN View Post
    I'm having the exact same issue, I've tried copying over the latest payment modules to no avail. Any help is appreciated.



    I've tried a few different things from other post's but the problem persists
    Thanks
    -Aaron
    Seems as soon as I ask for help, I FIX IT!!
    I copied over the ipn_main_handler.php and that did the trick.
    -Aaron

  10. #40
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: paypal IPN woes

    Thanks for posting the solution you found!
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Newthread for Paypal IPN,i think that is paypal IPN's BUG!!
    By paranoia in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 22 Apr 2008, 02:37 AM
  2. I'm using PayPal Express and PayPal IPN, should I remove PayPal IPN?
    By tj1 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 3 Nov 2007, 05:20 AM
  3. PayPal woes revisited
    By wishy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 May 2007, 09:34 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