Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Hi,

    I just upgraded my client's site from 1.3.7 to 1.3.8a and whenever customer use Paypal, the store is getting - IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.


    Is this a bug in 1.3.8a? Should I revert back to 1.3.7?

    Thanks,
    Prana

    Jan 13 2008 23:10 -- IPN PROCESSING INITIATED.
    *** Originating IP: 66.211.170.66 notify.paypal.com

    Jan 13 2008 23:10 -- IPN INFO - POST VARS received (sorted):
    Array
    (
    [address_city] => Yokohama
    [address_country] => Japan
    [address_country_code] => JP
    [address_name] => Deleted by me
    [address_state] => Kanagawa
    [address_status] => unconfirmed
    [address_street] => Deleted by me
    [address_zip] => 225-0003
    [business] => [email protected]
    [charset] => windows-1252
    [contact_phone] =>
    [custom] => zenid=ee7c0bdc935b1afeb15e4b175fa7f77c
    [first_name] => Junko
    [item_name] => USA Online Store at spaceclearing.com Purchase
    [item_number] => Store Receipt
    [last_name] => Matsuzaka
    [mc_currency] => USD
    [mc_fee] => 17.96
    [mc_gross] => 452.75
    [notify_version] => 2.4
    [payer_status] => unverified
    [payment_date] => 20:10:42 Jan 13, 2008 PST
    [payment_fee] => 17.96
    [payment_gross] => 452.75
    [payment_status] => Completed
    [payment_type] => instant
    [quantity] => 1
    [receipt_id] => 5201-9978-9031-8614
    [receiver_email] => [email protected]
    [residence_country] => JP
    [shipping] => 0.00
    [tax] => 0.00
    [txn_id] => 21C908593L551533K
    [txn_type] => web_accept
    [verify_sign] => AUaxvSojqajxsiGA9qXfGuCulUctA8UN-sz.FXi4ukss-E0avzJocdkF
    )


    Jan 13 2008 23:10 -- IPN INFO - POST VARS to be sent back for validation:
    To: www.paypal.com:80
    POST /cgi-bin/webscr HTTP/1.1
    Host: www.paypal.com
    Content-type: application/x-www-form-urlencoded
    Content-length: 1027
    Connection: close

    Array
    (
    [mc_gross] => 452.75
    [address_status] => unconfirmed
    [payer_id] => 7M2NLKY7JVAHY
    [tax] => 0.00
    [address_street] => 3-16-22-202 Shin Ishikawa
    Aoba
    [payment_date] => 20:10:42 Jan 13, 2008 PST
    [payment_status] => Completed
    [charset] => windows-1252
    [address_zip] => 225-0003
    [first_name] => Deleted by Me
    [mc_fee] => 17.96
    [address_country_code] => JP
    [address_name] => Deleted by me
    [notify_version] => 2.4
    [custom] => zenid=ee7c0bdc935b1afeb15e4b175fa7f77c
    [payer_status] => unverified
    [business] => [email protected]
    [address_country] => Japan
    [address_city] => Yokohama
    [quantity] => 1
    [verify_sign] => AUaxvSojqajxsiGA9qXfGuCulUctA8UN-sz.FXi4ukss-E0avzJocdkF
    [contact_phone] =>
    [txn_id] => 21C908593L551533K
    [payment_type] => instant
    [last_name] => Deleted by me
    [address_state] => Kanagawa
    [receiver_email] => [email protected]
    [payment_fee] => 17.96
    [receiver_id] => BJVFD583H4BCU
    [txn_type] => web_accept
    [item_name] => USA Online Store at spaceclearing.com Purchase
    [mc_currency] => USD
    [item_number] => Store Receipt
    [residence_country] => JP
    [receipt_id] => 5201-9978-9031-8614
    [payment_gross] => 452.75
    [shipping] => 0.00
    [cmd] => _notify-validate
    )


    Jan 13 2008 23:10 -- IPN INFO - Confirmation/Validation response
    SUCCESS

    Jan 13 2008 23:10 -- Breakpoint: 1 - Collected data from PayPal notification

    Jan 13 2008 23:10 -- IPN INFO :: Transaction email details.
    From IPN = [email protected] | [email protected]
    From CONFIG = [email protected]

    Jan 13 2008 23:10 -- Breakpoint: 2 - Validated transaction components

    Jan 13 2008 23:10 -- Breakpoint: 3 - Communication method verified

    Jan 13 2008 23:10 -- IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.

    Jan 13 2008 23:10 -- Breakpoint: 4 - Details: txn_type=unique ordersID = 0 IPN_id=0

    Relevant data from POST:
    txn_type = unique
    parent_txn_id = None
    txn_id = 21C908593L551533K

    Jan 13 2008 23:10 -- Breakpoint: 5 - Transaction type (txn_type) = unique
    =========
    Last edited by babygekko; 15 Jan 2008 at 03:43 PM. Reason: Delete names

  2. #2
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    So what happens is:

    1. Buyer places an order
    2. Order goes through (shipping OK, select Paypal as payment method)
    3. Buyer pays
    4. Order doesn't show up in Zen Cart!

    Is this a bug?

  3. #3
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    I am also getting IPN FATAL ERROR :: Could not find stored session in DB, cannot re-create session as PayPal IPN transaction.

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

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    What order-total modules do you have listed in Admin->Modules->Order Total? (including whether they're enabled or disabled)
    .

    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. #5
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Standard. unchanged (see screenshot)

    I'm going to send you a PM of admin login so you can see it....

    can you please help?
    Attached Images Attached Images  

  6. #6
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    I have reverted to 1.3.7 as there are way too many orders not recorded and my client may have to call each of these customers..

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

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Quote Originally Posted by babygekko View Post
    IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.
    Those are normal. That means that the PayPal transaction being processed is being treated as a new order ... which is exactly what you want it to do.
    .

    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.

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

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Quote Originally Posted by babygekko View Post
    Jan 13 2008 23:10 -- Breakpoint: 5 - Transaction type (txn_type) = unique
    =========
    It shouldn't end at step 5 though.

    That's why I asked you about order-totals modules in case one of those might be the cause of problems.
    Quote Originally Posted by babygekko View Post
    I have reverted to 1.3.7 as there are way too many orders not recorded and my client may have to call each of these customers..
    But I guess it doesn't matter now ...
    .

    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.

  9. #9
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Quote Originally Posted by DrByte View Post
    It shouldn't end at step 5 though.

    That's why I asked you about order-totals modules in case one of those might be the cause of problems.

    But I guess it doesn't matter now ...
    I cannot get the orders to show up if echeck is used either. I have ZebCart version 1.3.8, just installed it like 2 weeks ago. Getting the same thing:

    IPN NOTICE :: Could not find matched txn_id record in DB

    Here is the log:

    Jun 27 2008 8:28 -- IPN PROCESSING INITIATED.
    *** Originating IP: 66.211.170.66 notify.paypal.com

    Jun 27 2008 8:28 -- IPN INFO - POST VARS received (sorted):
    Array
    (
    [business] => [email protected]
    [charset] => windows-1252
    [custom] => zenid=hjipssaltlgbhm9eknrfvmrnq1
    [first_name] => Timothy
    [item_name] => 495DollarShoppingCart Purchase
    [item_number] => Store Receipt
    [last_name] => Maxey
    [mc_currency] => USD
    [mc_fee] => 0.33
    [mc_gross] => 1.00
    [notify_version] => 2.4
    [payer_email] => [email protected]
    [payer_id] => 3ZB6UQG9XJ8NN
    [payer_status] => verified
    [payment_date] => 15:20:18 Jun 24, 2008 PDT
    [payment_fee] => 0.33
    [payment_gross] => 1.00
    [payment_status] => Completed
    [payment_type] => echeck
    [quantity] => 1
    [receiver_email] => [email protected]
    [receiver_id] => XTXYUX38WS272
    [residence_country] => US
    [shipping] => 0.00
    [tax] => 0.00
    [txn_id] => 7CP37178F9394663F
    [txn_type] => web_accept
    [verify_sign] => AZmbBrDhfi4YtGN7WMw2sYEFLyN.AbgtH00jz14Uv5kvN.9NkzWaGAHg
    )


    Jun 27 2008 8:28 -- IPN INFO - POST VARS to be sent back for validation:
    To: www.paypal.com:80
    POST /cgi-bin/webscr HTTP/1.1
    Host: www.paypal.com
    Content-type: application/x-www-form-urlencoded
    Content-length: 728
    Connection: close

    Array
    (
    [payment_date] => 15:20:18 Jun 24, 2008 PDT
    [txn_type] => web_accept
    [last_name] => Maxey
    [residence_country] => US
    [item_name] => 495DollarShoppingCart Purchase
    [payment_gross] => 1.00
    [mc_currency] => USD
    [business] => [email protected]
    [payment_type] => echeck
    [verify_sign] => AZmbBrDhfi4YtGN7WMw2sYEFLyN.AbgtH00jz14Uv5kvN.9NkzWaGAHg
    [payer_status] => verified
    [tax] => 0.00
    [payer_email] => [email protected]
    [txn_id] => 7CP37178F9394663F
    [quantity] => 1
    [receiver_email] => [email protected]
    [first_name] => Timothy
    [payer_id] => 3ZB6UQG9XJ8NN
    [receiver_id] => XTXYUX38WS272
    [item_number] => Store Receipt
    [payment_status] => Completed
    [payment_fee] => 0.33
    [mc_fee] => 0.33
    [shipping] => 0.00
    [mc_gross] => 1.00
    [custom] => zenid=hjipssaltlgbhm9eknrfvmrnq1
    [charset] => windows-1252
    [notify_version] => 2.4
    [cmd] => _notify-validate
    )


    Jun 27 2008 8:28 -- IPN INFO - Confirmation/Validation response
    SUCCESS

    Jun 27 2008 8:28 -- Breakpoint: 1 - Collected data from PayPal notification

    Jun 27 2008 8:28 -- IPN INFO :: Transaction email details.
    From IPN = [email protected] | [email protected]
    From CONFIG = [email protected]

    Jun 27 2008 8:28 -- Breakpoint: 2 - Validated transaction components

    Jun 27 2008 8:28 -- Breakpoint: 3 - Communication method verified

    Jun 27 2008 8:28 -- IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.

    Jun 27 2008 8:28 -- Breakpoint: 4 - Details: txn_type=unique ordersID = 0 IPN_id=0

    Relevant data from POST:
    txn_type = unique
    parent_txn_id = None
    txn_id = 7CP37178F9394663F

    Jun 27 2008 8:28 -- Breakpoint: 5 - Transaction type (txn_type) = echeck-cleared

    Jun 27 2008 8:28 -- IPN INFO :: Currency/Amount Details:
    PayPal email address = [email protected]
    | mc_currency = USD
    | submitted_currency = USD
    | order_currency = USD
    | mc_gross = 1.00
    | converted_amount = 1.00
    | order_amount = 1

    Any ideas? I can see that the "cutomer" has orders, but when you click on the "customer's" orders in the admin of zen cart, nothing shows up... Thanks!

  10. #10
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB

    Also what's weird, is in the database, it added another order. Well it appears the IPN added another order and marked it as a 3 (Delivered) that is what I have it doing after "completed." So now there are 2 order in the db, weird.

    But I also cannot see the order in the admin still, so I am going to look at the query on the orders page to see why not, why they are not coming up... Order totals come up etc, but no detail etc.. Let me know what you think

 

 

Similar Threads

  1. v154 IPN ERROR:: Could not find stored session {} in DB;
    By lruskauff in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 4 Aug 2015, 12:45 AM
  2. Replies: 3
    Last Post: 29 Jul 2010, 03:21 PM
  3. IPN WARNING::Could not find matched txn_id record in DB
    By ottojan in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Jun 2007, 10:27 AM
  4. IPN WARNING::Could not find matched txn_id record in DB
    By rush_woman in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 9 Feb 2007, 04:18 PM
  5. Paypal IPN "email address not matched"
    By flakrat in forum Addon Payment Modules
    Replies: 9
    Last Post: 12 Oct 2006, 11:28 PM

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