Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Paypal IPN "email address not matched"

    I have the paypal IPN module installed and have the primary paypal email address entered into the module configuration. I buy something on my store, get redirected to Paypal site, complete the payment process and I don't get an order number.

    Here's the output from the Paypal IPN modules log file (the only thing I modified in the output was to change the email address to MYUSER AT MYDOMAIN DOT COM, and yes in the log file they are identical).

    /var/www/html/includes/modules/payment/paypal/logs

    ,8
    ,VERIFIED
    ,0
    ,


    Mon Oct 2006 17:26 -- IPN WARNING::Transaction email address not matched. From IPN = MYUSER AT MYDOMAIN DOT COM: From CONFIG = MYUSER AT MYDOMAIN DOT COM

    Mon Oct 2006 17:26 -- IPN FATAL ERROR::Transaction did not validate

    Any idea why it says the Transaction email address doesn't match?

  2. #2
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Re: Paypal IPN

    Oh, and I'm using Zen 1.3.5 and host my own server on a T1 (i.e. I control the firewall) and don't seem to have any issues with people accessing my site via 443 or 80, and no issues accessing those ports from the server.

    I'm also testing this against the live paypal server, not using the sandbox and haven't gotten it to successfully integrate on three purchases.

  3. #3
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Re: Paypal IPN

    I tried setting both the http and the https URL in Paypals "Instant Payment Notification Preferences"

    http://www.MYDOMAIN.com/ipn_main_handler.php
    and
    https://www.MYDOMAIN.com/ipn_main_handler.php

    Both produced the same error about the emails not matching!

    And I copied exactly (to the clipboard and pasted) the primary email address from Paypal's email setting page to my Paypal IPN module config page.

  4. #4
    Join Date
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Re: Paypal IPN

    Sorry for so many updates, the forum won't let me edit my posts after 7 minutes, and these thoughts keep popping in my head.

    Here are the two settings I have for my web servers iptables firewall.

    -A RH-Firewall-1-INPUT -p tcp -m state -m tcp --dport 80 --state NEW -j ACCEPT
    -A RH-Firewall-1-INPUT -p tcp -m state -m tcp --dport 443 --state NEW -j ACCEPT

    This server is connected directly to the internet, is there anything in that config that would prevent bidirectional communications?

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

    Default Re: Paypal IPN

    /includes/modules/payment/paypal/paypal_functions.php

    line 60 -- alter it like this:
    Code:
        if (strtolower($postArray['business']) != strtolower(MODULE_PAYMENT_PAYPAL_BUSINESS_ID)) {
    .

    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
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Idea or Suggestion Re: Paypal IPN "email address not matched"

    Thanks Dr Byte,

    That worked. Is that a bug? If not, I'm confused why the original code has strtolower on one side of the test and not on the other. Shouldn't it be (like your suggestion) both strtolower or neither?

    Now I just need to figure out why Paypal isn't auto returning. The click here to return to the merchants page works, just no auto return. Guess I'll give Paypal support a call on that.

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

    Default Re: Paypal IPN "email address not matched"

    Yes, it's a bug, which has been explained ad nauseum elsewhere, and is fixed in the next bugfix release 1.3.6, which is not yet released.
    .

    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
    Apr 2005
    Posts
    84
    Plugin Contributions
    0

    Default Re: Paypal IPN "email address not matched"

    Thanks again. I promise that I searched the forums before I posted. As usual I must not have searched for the correct keywords.

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

    Default Re: Paypal IPN "email address not matched"

    Glad it's working for you !

    (unfortunately, that bug is a result of PayPal's documentation saying one thing and then "doing" another thing )
    .

    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.

  10. #10
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    1,378
    Plugin Contributions
    1

    Default Re: Paypal IPN "email address not matched"

    Is this problem also in 1.3.2? My store was going fine, and now the IPN has stopped working, and just returns to the checkout_success after payment but no order - Vamoos!! Never seen again.

 

 

Similar Threads

  1. v138a Email address in "To" and subscribe link not work
    By navido in forum General Questions
    Replies: 2
    Last Post: 30 May 2012, 07:41 PM
  2. Paypal IPN: How to select "goods" "Service" as the kind of payment?
    By gisco in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Jun 2009, 02:31 PM
  3. " Orders, Group Pricing, PayPal IPN " and "reports" can't use !
    By greenlight in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Sep 2008, 12:45 PM
  4. Paypal IPN in v1.3.8 - Could not find matched txn_id record in DB
    By babygekko in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 27 Jun 2008, 04:46 PM
  5. Changing "Paypal IPN" to "Pay With CC"
    By apieroni in forum General Questions
    Replies: 4
    Last Post: 24 Jul 2007, 10:44 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