Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Paypal Standard Payments IPN error

Paypal Standard Payments IPN error

Views: 1,590

Results 1 to 6 of 6
29 Oct 2014, 5:11 PM
#1
chinonknee avatar

chinonknee

New Zenner

Join Date:
Oct 2014
Location:
Phoenix AZ
Posts:
3
Plugin Contributions:
0

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.

31 Oct 2014, 5:28 AM
#2
chinonknee avatar

chinonknee

New Zenner

Join Date:
Oct 2014
Location:
Phoenix AZ
Posts:
3
Plugin Contributions:
0

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.

31 Oct 2014, 10:53 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

31 Oct 2014, 5:02 PM
#4
chinonknee avatar

chinonknee

New Zenner

Join Date:
Oct 2014
Location:
Phoenix AZ
Posts:
3
Plugin Contributions:
0

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.

31 Oct 2014, 5:39 PM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Paypal Standard Payments IPN error

chinonknee:

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 Nov 2014, 6:08 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal Standard Payments IPN error

chinonknee:

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.