Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2014
    Location
    Phoenix AZ
    Posts
    3
    Plugin Contributions
    0

    Default Paypal Standard Payments IPN error

    Setting up Zcart 1.5.1 with paypal standard payments. Host is Godaddy (yes I know they suck). When I run a transaction in Live mode, the debug log shows an IPN error "could not establish fsockopen" Unable to find the socket transport "http". The error is occurring at the return to the cart after Paypal processing is complete. Have setup the return URL to
    "http://www.swuniquities.com/index.php?main_page=checkout_process" per the instruction for Paypal Payments Standard, and when paypal attempts to return to the cart, the program hangs on a blank screen.

  2. #2
    Join Date
    Oct 2014
    Location
    Phoenix AZ
    Posts
    3
    Plugin Contributions
    0

    Default Re: Paypal Standard Payments IPN error

    apparently, zencart is sending a IPN message to paypal formatted as "http://live:80" and paypal is not recognizing the host name of "live". This seems to be a result of $web[host] been assigned a value of "live" in line 441 of paypal_functions.php because MODULE_PAYMENT_PAYPAL_HANDLER was assigned a value of "live" in paypal.php.
    Makes no sense to me, and can not find an error in the code.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Paypal Standard Payments IPN error

    Sorry, I don't know the answer to your question, but there's no reason I'm aware of to use Paypal Standard anymore. Switching to Paypal Express will solve most connection issues.

  4. #4
    Join Date
    Oct 2014
    Location
    Phoenix AZ
    Posts
    3
    Plugin Contributions
    0

    Default Re: Paypal Standard Payments IPN error

    Fixed... Was missing an outdate for 1.5.3. Had a hybrid 1.5.1/1.5.3 paypal config.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Paypal Standard Payments IPN error

    Quote Originally Posted by chinonknee View Post
    Fixed... Was missing an outdate for 1.5.3. Had a hybrid 1.5.1/1.5.3 paypal config.
    It's good that you fixed it, but as stevesh stated "there's no reason I'm aware of to use Paypal Standard anymore".

    PayPal express is a much more reliable option (and still provides the IPN functionality if/when needed. For example, to update the store when an echeck has been cleared).

    As well as being more reliable, the PP Express provides a means of an instant payment so there is less chance of the customer leaving the store and then deciding they don't want the purchase and not submitting payment.

    Cheers
    RodG

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

    Default Re: Paypal Standard Payments IPN error

    Quote Originally Posted by chinonknee View Post
    Fixed... Was missing an outdate for 1.5.3. Had a hybrid 1.5.1/1.5.3 paypal config.
    Yes, your symptoms were exactly a result of using v1.5.1 code against a 1.5.3 database.
    .

    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. v139h PayPal Website Payments Standard - IPN
    By WiccanWitch420 in forum General Questions
    Replies: 10
    Last Post: 5 Nov 2014, 10:03 PM
  2. Paypal Web payments standard - IPN problems
    By Sherenanz in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 Aug 2012, 01:43 PM
  3. PayPal IPN - Website Payments Standard(v1.3.8a/v1.3.8)
    By Bobthecow in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Jan 2010, 07:52 AM
  4. PayPal IPN - Website Payments Standard
    By nosnappyname in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 12 Feb 2009, 01:23 AM
  5. PayPal IPN - Website Payments Standard
    By breck in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 1 Jun 2008, 08:40 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