Zen Cart Logo

Paypal IPN: again...

Locked

Views: 1,057

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
26 May 2009, 4:21 PM
#1
rinker avatar

rinker

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Paypal IPN: again...

Hi,

I've been working on this for weeks now, reading everything here about it, but still have problems with paypal ipn.

I'm working with ZC 1.3.8 fresh install.

Every problem there is/was with paypal seems to affect me.
paypal always returned on a blanc page in my shop, it seemed that I had to use only port 443. Well after reading and trying the situation at the moment is this:

If I return from paypal, the "thank you" page show always my last order number, in fact all the info you see is related to my last order. No mail is send (only mail from paypal that there's payd) but nothing about the current order i did.

I tried with another acount (with no orderhistory) and same happenend, only now no order number is shown as there is none.

To overcome this I now use the "push paypal order" and that seems to work ok, but this is not what i want, I have this for every order i make and payed with paypal.
I read here that this will happen once in a while but it happens to me all the time.

Is there something else I can do??

I've read everything and tried everything but further than this I can't come.

Regards,
Rinker

26 May 2009, 6:54 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN: again...

All those symptoms are classic indications that PayPal's server is unsuccessful in talking to your server to confirm order completion. Fix that problem, and all those other things will take care of themselves.

See the troubleshooting steps here: http://www.zen-cart.com/wiki/index.php/PayPal

31 May 2009, 10:06 PM
#3
rinker avatar

rinker

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Paypal IPN: again...

Yes i did al the troubleshooting steps already and have did it again.

But today i found the solution to my problem.

I 've said I had to use port 443 only and changed the code in paypal_functions:

//Set the port number
      if($web['scheme'] == "https") {
        $web['port']="443";  $ssl = "ssl://";
      } else {
        $web['port']="80";   $ssl = "";
      }

to:

//Set the port number
      if($web['scheme'] == "https") {
        $web['port']="443";  $ssl = "ssl://";
      } else {
        $web['port']="443";   $ssl = "";
      }

with this change i could get back on my page but it leaves me still with the problems described above.

I now have the code changed to:

//Set the port number
     $web['port']="443";  $ssl = "ssl://";

And everything is working perfect now!

regards,
Rinker

31 May 2009, 10:17 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN: again...

Who is your hosting company?

1 Jun 2009, 7:35 PM
#5
rinker avatar

rinker

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Paypal IPN: again...

DrByte:

Who is your hosting company?

Hosting2Go in the Netherlands.

Regards,
Rinker

1 Jun 2009, 9:20 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN: again...

Rinker:

Hosting2Go in the Netherlands.
Thanks. Just making a mental note that I want to stay away from their services since they've obviously got a less conventional server configuration.