Forums / Built-in Shipping and Payment Modules / Paypal IPN doesn't send order details (sometimes)

Paypal IPN doesn't send order details (sometimes)

Locked

Started by petek on 7 Oct 2010, 8:36 AM · Views: 1,814

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
7 Oct 2010, 8:36 AM
#1
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Paypal IPN doesn't send order details (sometimes)

Using the latest 1.3.9g includes/modules/paypal.php file. I've recently re-enabled Paypal IPN (I last used it a year ago when it worked fine) and now I find that some orders are not sent back to the store so although I get Paypal's confirmation of the order amount, I don't know what the client ordered ! This happened twice yesterday whilst on another order, everything worked fine. I've asked Paypal support to look into this as it could be a problem at their end. Has anyone here encountered a similar problem ?

Edit : I've just noticed that for the two orders where there is a problem, the caddy containing the order has not been emptied. What could be causing this ?

Pete
zc 1.3.9h
www.gardenserre.fr

7 Oct 2010, 1:44 PM
#2
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

Re: Paypal IPN doesn't send order details (sometimes)

I'm having the same problem! any help from paypal? Last time I contacted them they didn't even bother to reply. :(

7 Oct 2010, 2:09 PM
#3
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Paypal IPN doesn't send order details (sometimes)

melena:

I'm having the same problem! any help from paypal? Last time I contacted them they didn't even bother to reply. :(

Nope, no reply yet.

Pete
zc 1.3.9h
www.gardenserre.fr

7 Oct 2010, 5:03 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN doesn't send order details (sometimes)

The problem with using the "PayPal IPN" module is that you're invoking OLD TECHNOLOGY which requires pristine communications between PayPal's server and your server. And, since that module relies ENTIRELY on that background communications to happen perfectly. Firewalls can break it, misconfigured rewrite-rules can break it. Wrong configurations in your PayPal account can break it. TONS of things can break it.

That's why you should use Express Checkout instead. It completes the transaction directly with Paypal while the customer is active on your site, and is not crippled if you have any background communications quirks. PayPal Express Checkout is by its very nature way more reliable. Use it instead.

And, when you make the switch, click "Remove" on your PayPal-IPN module so that it's NOT used. Otherwise you don't solve the problem and you create confusion for your customers due to multiple paypal choices.

.
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 Oct 2010, 3:41 PM
#5
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

Re: Paypal IPN doesn't send order details (sometimes)

Thanks Dr Byte! that worked!

11 Oct 2010, 8:31 AM
#6
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Paypal IPN doesn't send order details (sometimes)

DrByte:

The problem with using the "PayPal IPN" module is that you're invoking OLD TECHNOLOGY which requires pristine communications between PayPal's server and your server. And, since that module relies ENTIRELY on that background communications to happen perfectly. Firewalls can break it, misconfigured rewrite-rules can break it. Wrong configurations in your PayPal account can break it. TONS of things can break it.

That's why you should use Express Checkout instead. It completes the transaction directly with Paypal while the customer is active on your site, and is not crippled if you have any background communications quirks. PayPal Express Checkout is by its very nature way more reliable. Use it instead.

And, when you make the switch, click "Remove" on your PayPal-IPN module so that it's NOT used. Otherwise you don't solve the problem and you create confusion for your customers due to multiple paypal choices.

Thanks. Which php file does Express Checkout use - modules/payment/paypal.php ?

Pete
zc 1.3.9h
www.gardenserre.fr

11 Oct 2010, 8:58 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN doesn't send order details (sometimes)

petek:

Thanks. Which php file does Express Checkout use - modules/payment/paypal.php ?
No. It uses several, but not that one.
Why do you ask?

.
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.

11 Oct 2010, 1:56 PM
#8
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Paypal IPN doesn't send order details (sometimes)

DrByte:

No. It uses several, but not that one.
Why do you ask?

Because I've amended paypal.php so that only 30% of orders exceeding 200 Euros in total are sent to Paypal. The rest I ask customers to settle when the goods are ready to be sent, usually 6 weeks later. Naturally, I'd like to do the same for Express Checkout.

Pete
zc 1.3.9h
www.gardenserre.fr

11 Oct 2010, 7:02 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN doesn't send order details (sometimes)

paypalwpp.php

.
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.