Forums / Managing Customers and Orders / Paypal IPN Issue after upgrade to 1.3.7

Paypal IPN Issue after upgrade to 1.3.7

Locked

Started by tstamplis on 21 Feb 2007, 4:14 AM · Views: 1,770

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Feb 2007, 4:14 AM
#1
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Paypal IPN Issue after upgrade to 1.3.7

Since upgrading from 1.3.6 to 1.3.7, I had a paypal purchase complete but not show up in my store admin, as many have posted in older threads in the past. Most related to pre-1.3.5. This purchase shows up when I goto customers/paypal IPN and has a status of completed. However, when you click on the order, I get an error saying "Error: Order does not exist". It is the only place in admin I was able to see the order at all. The transaction TYPE is "Cleared-Address" and the payment status is "Completed". Any ideas why it doesn't show up anywhere in admin except here? And why it says the order does not exist when clicked on? I also noticed if I change the Payment status in this IPN report to any of the statuses other than "ALL" the payment does not show up in any of them, only in "ALL". Any advise is appreciated.

21 Feb 2007, 4:20 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN Issue after upgrade to 1.3.7

  1. Grab the latest patches to PayPal support for v1.3.7:
    http://www.zen-cart.com/forum/showthread.php?t=56216

  2. Install PayPal Express Checkout module from the Admin menu (or Edit it if it's already installed). Then, if you're not using Express checkout, you can remove the module again. This simply updates the database table structure used for PayPal (EC and IPN).

The patch includes several IPN fixes as well.

This should help resolve most of the issues you're seeing. Feel free to report back with updated information after performing some tests etc if things still aren't right for some reason.

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

21 Feb 2007, 4:27 AM
#3
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Paypal IPN Issue after upgrade to 1.3.7

Thanks for the FAST reply! Will apply patches, install EC, and report results.

...Almost Zenned!

21 Feb 2007, 7:07 AM
#4
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Paypal IPN Issue after upgrade to 1.3.7

I installed the patch (the 2/19/07) and installed EC support. Haven't gotten back to the IPN problem yet, but having a problem with EC. When clicking the paypal EC button (both from cart page before checkout as well as after checkout confirmation) I get the following error: (And no email alerts BTW)

Warning: urlencode() expects parameter 1 to be string, array given in /hsphere/local/home/tstampli/impressionslast.com/includes/modules/payment/paypal/paypal_curl.php on line 408

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/tstampli/impressionslast.com/includes/modules/payment/paypal/paypal_curl.php:408) in /hsphere/local/home/tstampli/impressionslast.com/includes/modules/payment/paypalwpp.php on line 1652

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/tstampli/impressionslast.com/includes/modules/payment/paypal/paypal_curl.php:408) in /hsphere/local/home/tstampli/impressionslast.com/includes/functions/functions_general.php on line 44

Any help here is appreciated!

21 Feb 2007, 7:28 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Paypal IPN Issue after upgrade to 1.3.7

oops :blush:

that line 408 in the paypal_curl.php file was added in the Feb 19 patch and shouldn't have been left like that. It needs to be removed or commented out -- just add 2 slashes to the beginning like this:```
// $response .= ($commErrNo != 0 ? '&CURL_INFO=' . urlencode($commInfo) : '');


new patch issued:
<http://www.zen-cart.com/forum/showthread.php?p=332514#post332514>

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

21 Feb 2007, 1:31 PM
#6
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Paypal IPN Issue after upgrade to 1.3.7

Yup, new patch gets me to paypal! Thanks! I will test both payment methods and report results.

...Almost Zenned