Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

Locked

Views: 793

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
19 Sep 2010, 10:41 AM
#1
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

I just upgraded to 1.3.9f.

Paypal Ipn module was working on the test server.

However after my production server went live Paypal payments do not return a new order id.

I do receive the payment and my older order is shown in instead of a new one being generated.

Where could I be possibly wrong.

Help appreciated.

19 Sep 2010, 11:01 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

Sounds like you missed one or more files when upgrading.

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

20 Sep 2010, 3:43 AM
#3
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

I am developer worked for harry2cool and we meet the order id display issue using paypal payment method at 1.3.9f zen-cart version. it shows old order id instead of new one on successful page. We have upload all files and checked again.
Do you think maybe it cause by below reason:
1, The ipn_main_handler.php process a little slower then redirect to successful page, so the new order id does not put into $_SESSION['order_number_created'] parameter.

20 Sep 2010, 3:48 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

Yes, definitely.

That is why using Website Payments Standard is NOT recommended. Express Checkout is much better.

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

20 Sep 2010, 3:55 AM
#5
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

This issue did not occur on 1.3.8a version of zen-cart, but on 1.3.9f, maybe there are some work flow changes on 1.3.9f?

20 Sep 2010, 3:57 AM
#6
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

A new customer gets a blank order id on the success page, however it is passed in the admin/database.

20 Sep 2010, 4:09 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

If you're getting blank pages, then you've got PHP errors. When I search for "blank page" in the Tutorials/FAQ area I see this article: https://www.zen-cart.com/tutorials/index.php?article=82

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

20 Sep 2010, 4:26 AM
#8
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

No,No, we got blank order id not blank page. It means the ipn_main_handler.php file does not put order into database before redirect to successful page. It happed after upgrade zen-cart to 1.3.9f version. Are there some work flow change at this version?

20 Sep 2010, 4:42 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

Yes, a LOT has changed: all improvements. And most are attempts to try to make paypal's unreliable IPN service work more reliably.

A better solution is to use Express Checkout instead, since it does NOT have to rely on an IPN to create an order in the database. (Express Checkout creates the order immediately when it is paid, and while the customer is on the site, instead of having to wait for PayPal to tell the store about the order via an IPN in the background.)

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

20 Sep 2010, 5:13 AM
#10
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: PayPal Issue - Ugraded from 1.3.8a to 1.3.8f

Dr Byte, your suggestion to use Paypal Express Checkout WORKS.

It's a much more better process than the the IPN, it's strange I was not aware of this.

Thanks for all the help.

Jarvis we are done dude :)