Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    22
    Plugin Contributions
    0

    Default Problems with PayPal IPN

    I am having trouble implementing ZenCart PayPal IPN payment module on my store.

    Ordering goes smoothly. user is directed to PayPal order section. After the user completes his order he is directed stright back to the store's success page. The user's Paypal account is being charged with the exact amount and the store receive the payment. However, I cannot see the order in the store's admin section (either on Orders, PayPal IPN.)

    Moreover, when user is directed to the success page there is no "Order ID".
    Also, Paypal order description is "zenid=qs519uteiiebgrpheov4co9ij1". Shouldn't it be the complete order description?

    After checking the log files I encountered with the following error :

    Aug 20 2008 11:14 -- IPN INFO - Confirmation/Validation response


    FAIL

    After going through the forum I have tested the communication with IPNcheck.php, Curltest.php. Both seems to be working well.


    Hope you could assist me resolving the issue.

    Tzachi


    Complete Logs .


    Aug 20 2008 11:08 -- 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: 84

    Connection: close


    Array
    (
    [cmd] => _notify-sync
    [tx] =>
    [at] => 38uHK**********NUj3u
    )


    Aug 20 2008 11:08 -- IPN INFO - Confirmation/Validation response


    FAIL


    Aug 20 2008 11:08 -- IPN WARNING :: PDT Transaction was not marked as SUCCESS. Keep this report for potential use in fraud investigations.
    IPN Info =
    FAIL


    Aug 20 2008 11:14 -- Keys for submission: Array
    (
    [charset] => iso-8859-1
    [lc] => IL
    [page_style] => Primary
    [custom] => zenid=qs5l9uteiiebgrpheov4co9ij1
    [business] => [stores paypal account]
    [return] => http://office.slavgroup.co.il/checko...referer/paypal
    [cancel_return] => http://office.slavgroup.co.il/checkout_payment
    [shopping_url] => http://office.slavgroup.co.il/shopping_cart
    [notify_url] => http://office.slavgroup.co.il/ipn_main_handler.php
    [redirect_cmd] => _xclick
    [rm] => 2
    [bn] => zencart
    [mrb] => R-6C7952342H795591R
    [pal] => 9E82WJBKKGPLQ
    [first_name] => Tzachi
    [last_name] => Slav
    [address1] => [user address]
    [city] => [user address]
    [state] => 0
    [zip] => [user address]
    [country] => IL
    [email] => [user paypal account]
    [H_PhoneNumber] => [user tel]
    [night_phone_b] => [user tel]
    [day_phone_b] => [user tel]
    [no_shipping] => 1
    [upload] => 1
    [currency_code] => USD
    [cmd] => _ext-enter
    [item_name] => Slavchess Purchase
    [item_number] => Store Receipt
    [amount] => 0.01
    [shipping] => 0.00
    [tax] => 0.00
    [tax_cart] => 0.00
    )

  2. #2
    Join Date
    Aug 2008
    Posts
    22
    Plugin Contributions
    0

    Default Problems with PayPal IPN

    Hey all,

    I am having trouble implementing ZenCart PayPal IPN payment module on my store.

    Ordering goes smoothly. user is directed to PayPal order section. After the user completes his order he is directed stright back to the store's success page. The user's Paypal account is being charged with the exact amount and the store receive the payment. However, I cannot see the order in the store's admin section (either on Orders, PayPal IPN.)

    Moreover, when user is directed to the success page there is no "Order ID".
    Also, Paypal order description is "zenid=qs519uteiiebgrpheov4co9ij1". Shouldn't it be the complete order description?

    After checking the log files I encountered with the following error :

    Aug 20 2008 11:14 -- IPN INFO - Confirmation/Validation response


    FAIL

    After going through the forum I have tested the communication with IPNcheck.php, Curltest.php. Both seems to be working well.


    Hope you could assist me resolving the issue.

    Tzachi


    Complete Logs .


    Aug 20 2008 11:08 -- 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: 84

    Connection: close


    Array
    (
    [cmd] => _notify-sync
    [tx] =>
    [at] => 38uHK**********NUj3u
    )


    Aug 20 2008 11:08 -- IPN INFO - Confirmation/Validation response


    FAIL


    Aug 20 2008 11:08 -- IPN WARNING :: PDT Transaction was not marked as SUCCESS. Keep this report for potential use in fraud investigations.
    IPN Info =
    FAIL


    Aug 20 2008 11:14 -- Keys for submission: Array
    (
    [charset] => iso-8859-1
    [lc] => IL
    [page_style] => Primary
    [custom] => zenid=qs5l9uteiiebgrpheov4co9ij1
    [business] => [stores paypal account]
    [return] => http://office.slavgroup.co.il/checko...referer/paypal
    [cancel_return] => http://office.slavgroup.co.il/checkout_payment
    [shopping_url] => http://office.slavgroup.co.il/shopping_cart
    [notify_url] => http://office.slavgroup.co.il/ipn_main_handler.php
    [redirect_cmd] => _xclick
    [rm] => 2
    [bn] => zencart
    [mrb] => R-6C7952342H795591R
    [pal] => 9E82WJBKKGPLQ
    [first_name] => Tzachi
    [last_name] => Slav
    [address1] => [user address]
    [city] => [user address]
    [state] => 0
    [zip] => [user address]
    [country] => IL
    [email] => [user paypal account]
    [H_PhoneNumber] => [user tel]
    [night_phone_b] => [user tel]
    [day_phone_b] => [user tel]
    [no_shipping] => 1
    [upload] => 1
    [currency_code] => USD
    [cmd] => _ext-enter
    [item_name] => Slavchess Purchase
    [item_number] => Store Receipt
    [amount] => 0.01
    [shipping] => 0.00
    [tax] => 0.00
    [tax_cart] => 0.00
    )

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Problems with PayPal IPN

    paypal has a list of the IPs that they use,
    you might want to see if you can find this list and send it to your host,

    we had an issue the otherday where paypal was actually caught by our firewalls and locked out,

    that would of course stop the IPN from working
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Jan 2004
    Posts
    66,407
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Problems with PayPal IPN

    Quote Originally Posted by tslav View Post
    Aug 20 2008 11:08 -- 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: 84

    Connection: close


    Array
    (
    [cmd] => _notify-sync
    [tx] =>
    [at] => 38uHK**********NUj3u
    )


    Aug 20 2008 11:08 -- IPN INFO - Confirmation/Validation response


    FAIL


    Aug 20 2008 11:08 -- IPN WARNING :: PDT Transaction was not marked as SUCCESS. Keep this report for potential use in fraud investigations.
    IPN Info =
    FAIL
    At the surface, I see two possible causes:
    - Merlin's point about blocked IPs
    - Maybe you've got a bad PDT setting in your store vs your PayPal profile.

    You can find PayPal module setup and troubleshooting instructions, as well as a list of known PayPal server IP addresses here: http://www.zen-cart.com/wiki/index.php/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.

  5. #5
    Join Date
    Aug 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Problems with PayPal IPN

    Well, I have some progress regarding that manner (After wasting half a day ).

    First, it is not a firewall issue. I have allowed all pay pal's IP address and I get data from PayPal's servers.
    Second, the PDT number seems to be OK. I have double checked it.

    Please take a look at my access_logs on my server (Right after the user finishes his purchase with pay pal):

    ### PayPal Data to handler
    66.211.170.66 - - [21/Aug/2008:15:18:17 +0300] "POST /ipn_main_handler.php HTTP/1.0" 500 - "-" "-"
    66.211.170.66 - - [21/Aug/2008:15:18:29 +0300] "POST /ipn_main_handler.php HTTP/1.0" 500 - "-" "-"
    ### END

    #### Refering back to site (This is done successfully (though the order id parameter is blank )

    - - [21/Aug/2008:15:18:29 +0300] "GET /checkout_process/referer/paypal? ....

    ### END

    few questions here ... Why the POST has 500 error code? Why it replay's with empty data?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,407
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Problems with PayPal IPN

    If your server is causing the ipn_main_handler.php file to trigger a 500 error, you'll have to deal with your server administrator to find out the cause. "500" errors are defined by the server, not Zen Cart.
    .

    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. Problems with Paypal IPN standard / checkout
    By marsgate in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 20 Dec 2010, 07:25 PM
  2. Problems with Paypal IPN
    By duskwood in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 2 Dec 2010, 06:49 PM
  3. problems with paypal ipn and admin
    By modwerx in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 6 Apr 2009, 09:25 AM
  4. PayPal Orders - IPN Problems with 1.3.6 and 1.3.7
    By TMAInc in forum Addon Payment Modules
    Replies: 15
    Last Post: 18 Jan 2007, 07:56 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