Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / error on checkout_confirmation page re: paypal_functions.php

error on checkout_confirmation page re: paypal_functions.php

Locked

Views: 1,700

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
11 Sep 2009, 9:06 PM
#1
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

error on checkout_confirmation page re: paypal_functions.php

I am getting this error on my checkout_confirmation.php page.

*Notice: Undefined index: free in /home/justange/public_html/includes/modules/payment/paypal/paypal_functions.php on line 580

Notice: Undefined index: tax_cart in /home/justange/public_html/includes/modules/payment/paypal/paypal_functions.php on line 662

Notice: Undefined index: tax_cart in /home/justange/public_html/includes/modules/payment/paypal/paypal_functions.php on line 690

Notice: Undefined index: tax_cart in /home/justange/public_html/includes/modules/payment/paypal/paypal_functions.php on line 725

Notice: Undefined index: tax_cart in /home/justange/public_html/includes/modules/payment/paypal/paypal_functions.php on line 730*

Can anyone help me figure this out? I opened the paypal_functions.php file and looked at the lines above and the lines are blank. The code looks like its double spaced. Any help would be greatly appreciated!

Thanks!

11 Sep 2009, 9:08 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: error on checkout_confirmation page re: paypal_functions.php

My first thought without looking at the code specifically is this:
You have something on your site that's causing NOTICE messages to be displayed. Those should be turned off normally.
Did you do something to turn on STRICT_ERROR_REPORTING for some reason? If so, turn that off.

11 Sep 2009, 9:40 PM
#3
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

I am fixing the site for someone and these error were always there. Where can I find that? Thanks!

11 Sep 2009, 9:49 PM
#4
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

I found this thread
https://www.zen-cart.com/tutorials/index.php?article=82 but I looked in my files and the only local folder I have is in the admin and it has this file in it: skip_version_check.ini.

Any suggestions? Thank you!

11 Sep 2009, 9:58 PM
#5
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

I have version Zen Cart 1.3.8a if that helps.

11 Sep 2009, 10:03 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: error on checkout_confirmation page re: paypal_functions.php

They must have mucked with the error_reporting function calls, which is normally set to not display, in /includes/application_top.php.
The BEST thing for you to do is grab a fresh clean copy of the original v1.3.8a files, and install WinMerge, and compare their files against the original files, and resolve all discrepancies.

14 Sep 2009, 2:43 PM
#7
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

I will try that. That sounds messy. Thanks for your reply!! I'll let you know how it goes. :lookaroun

14 Sep 2009, 3:22 PM
#8
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

So far I changed the strict_error_reporting to false and the messages are still on the checkout_confirmation page. Is there something that I am missing? I also checked the paypal_functions.php file and compared it to the fresh Zen Cart download and the file match up. What else could be funky?

14 Sep 2009, 6:58 PM
#9
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

Would it benefit to uninstall the paypal module and reinstall? I don't understand where this error is coming from. Any help would be greatly appreciated!!

14 Sep 2009, 10:40 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: error on checkout_confirmation page re: paypal_functions.php

It seems whoever you're "fixing" this for has made some alterations to their /includes/modules/payment/paypal.php file to turn on a feature which was only experimental and not officially enabled.
You have 2 options:
a) Go to Admin->Modules->Payment->PayPal Website Payments Standard (IPN) and click Edit. Find the option that says 'Detailed Line Items in Cart', and turn it off.
or
b) Click "Remove" on the Website Payments Standard/IPN module, then use FTP to re-upload all the original paypal-related PHP files (anything with "paypal" in the filename), and then go back to the PayPal module in your admin and click "Install", and reconfigure the settings. That 'Detailed Line Items in Cart' option should NOT appear, and should NOT be used in v1.3.8a. Unless of course you want to perfect all the logic in that code for every possible product combination, and then share the perfected code back with the community.

15 Sep 2009, 3:49 PM
#11
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

Hello,
I turned off the "detailed line items in cart" and the error message went away! Thank you for all your support. I also looked in the paypal.php file and I saw that the lines for detailed line items were uncommented. I am assuming that this is a terrible work around.
I was reading around other threads and now that I turned this option off, I will not see detailed items in Paypal. Will there be a work around for this in the future? I'm sure that this is a feature that my client liked. Can you get this feature with a better Paypal module?

Thanks again, Lindsay

15 Sep 2009, 4:33 PM
#12
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: error on checkout_confirmation page re: paypal_functions.php

Do you know why the order numbers are not matching up? This is off on a tangent here. Thanks!