Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Paypay Website Auto Return not working

    Hello all,

    Maybe someone will have an answer to this.
    I am using ZC 1.3.8a and my payment mod is Paypal Standard.

    The payment goes through with Paypal and I get both the payment receipt from Paypal as well as the seller notification from Paypal but two things are not working. The auto return to the site as well as the order page within Zen cart logging the purchase.

    When Paypal initiates Auto return I get the "Page Not Found" error box.

    I have worked though the following:
    1. Checked with GoDaddy to see if ports 80 and 443 are open.
    2. Turned Curl off in Admin.
    3. Ran the ipn script.
    4. Rechecked in Paypal and with Paypal mod in Admin to make sure the IPN was correct. (3 times). (As well as the site url.
    5. I have run debug mode and this is what I am seeing:

    IPN DEBUG message (1232219363_I6rM) #8Saturday, January 17, 2009 11:09 AM
    From: "[email protected]" <[email protected]>Add sender to Contacts To: [email protected]: 3 - Communication method verified


    AND . . .


    Breakpoint: 4 - Details: txn_type=unique ordersID = 0 IPN_id=0

    Relevant data from POST:
    txn_type = unique
    parent_txn_id = None
    txn_id = 5PY57840H1729944F

    Clueless at the moment

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypay Website Auto Return not working

    Are there any *more* debug log segments? There should be more than 7 breakpoints mentioned, not just 4.
    What version of MySQL are you using?
    .

    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
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Paypay Website Auto Return not working

    Thank you for the answer!

    I am using MySQL 5

    These are the last two that I received.

    IPN DEBUG message (1232225724_nn9B) #9Saturday, January 17, 2009 12:55 PM
    IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.

    IPN DEBUG message (1232225724_nn9B) #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 = 2AA59089AJ519094V


    The auto return URL I am using is:
    https://www.j w b o o k s.org/index.php?main_page=checkout_process

  4. #4
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Paypay Website Auto Return not working

    Here are three more debug email, these all followed the most recent test transaction.


    IPN DEBUG message (1232226794_xHxv) #3

    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: 841
    Connection: close

    Array
    (
    [mc_gross] => 0.15
    [protection_eligibility] => Ineligible
    [payer_id] => 5HJ5HR9E2ARCN
    [tax] => 0.00
    [payment_date] => 13:13:10 Jan 17, 2009 PST
    [payment_status] => Completed
    [charset] => windows-1252
    [first_name] => alan
    [mc_fee] => 0.15
    [notify_version] => 2.6
    [custom] => zenid=6iqfngulfaoe5oo4c59bpg0rd1
    [payer_status] => verified
    [business] => [email protected]
    [quantity] => 1
    [verify_sign] =>
    A2YnYs6LuOd-R8BHIdbWTA6xHgalA5RkBIg-TOhM05QUIVACfj8-hyE.
    [payer_email] => rhillon3######################
    [txn_id] => 4JW260084B994093J
    [payment_type] => instant
    [payer_business_name] => TotalSales.Com
    [last_name] => harris
    [receiver_email] => [email protected]
    [payment_fee] => 0.15
    [receiver_id] => QC3DRV67HKNSS
    [txn_type] => web_accept
    [item_name] => JWBOOKS.ORG Purchase
    [mc_currency] => USD
    [item_number] => Store Receipt
    [residence_country] => US
    [handling_amount] => 0.00
    [transaction_subject] => zenid=6iqfngulfaoe5oo4c59bpg0rd1
    [payment_gross] => 0.15
    [shipping] => 0.00
    [cmd] => _notify-validate
    )


    IPN DEBUG message (1232226794_xHxv) #6

    IPN INFO :: Transaction email details.
    From IPN = info@j w b o o ks.org | info@j w b o o k s.org
    From CONFIG = info@j w b o o k s.org


    IPN DEBUG message (1232226794_xHxv) #9

    IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us.

  5. #5
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Paypay Website Auto Return not working

    DrByte,
    After further testing I found that I can consistently make a purchase, once at the Paypal site, using a credit card and the "click here to return to the jwbooks site" button takes me back to the store every time. The page not found error only occurs when I use my Paypal account to pay and Pypal initiates the redirect back to the store.

    What is different between the two forms of payment or even between the two return methods???


  6. #6
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Paypay Website Auto Return not working

    Dr, Byte,
    Would I be correct in thinking that the reason that auto return works on a credit card purchase is because token info is not being passed through the sql serverin the same way?

    If so then this might mean that something in the .htaccess file is causing the issue?

    I am using the simple seo mod, could this be part of the problem?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypay Website Auto Return not working

    Quote Originally Posted by 4thwave View Post
    I am using the simple seo mod, could this be part of the problem?
    SEO addons have a consistent track record of breaking things. You could try disabling it as a test.
    .

    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
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Paypay Website Auto Return not working

    Quote Originally Posted by 4thwave View Post
    Dr, Byte,
    Would I be correct in thinking that the reason that auto return works on a credit card purchase is because token info is not being passed through the sql serverin the same way?

    If so then this might mean that something in the .htaccess file is causing the issue?

    I am using the simple seo mod, could this be part of the problem?
    As dr byte, disable it first to see if it works. If it does, then something is wrong, make sure you have the latest version. 3.5.7 is the current version right now. Coincidentally I have just tested xpress, ipn and payment pro yesterday on this version. No problem at all.

    BTW, you may want to try http://www.jwb oo ks.org/checkout_process instead.
    Last edited by yellow1912; 18 Jan 2009 at 02:54 AM.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Paypay Website Auto Return not working

    Thank you so much for the post!!!

    I disabled SSU and lo and behold Paypal return url resolves correctly.

    So, something is wrong in the install. Should I uninstall the old version before installing the new one???

    A

  10. #10
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Paypay Website Auto Return not working

    Quote Originally Posted by 4thwave View Post
    Thank you so much for the post!!!

    I disabled SSU and lo and behold Paypal return url resolves correctly.

    So, something is wrong in the install. Should I uninstall the old version before installing the new one???

    A
    You dont have to, just upload the new install, make sure you read the documentation come with it carefully. After upgrading (I would suggest 3.5.7 if you have php5), if you still have problem please follow this:
    http://wiki.rubikintegration.com/zen...ngs/paypal_ipn

    PS: also try the change I suggested earlier as well.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Settin up paypal express and can fin the Auto Return for Website Payments
    By dustbowl in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 19 Nov 2011, 08:40 PM
  2. auto return?
    By kloner in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 29 Jul 2011, 03:49 PM
  3. PayPal - auto return to the website
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Jul 2011, 10:16 AM
  4. PayPal auto return not recognised
    By enquirer66 in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 15 Jan 2010, 03:50 PM
  5. Paypal IPN Auto Return URL not working correctly
    By truffles in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 18 Dec 2009, 04:27 PM

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