Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    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.

  3. #3
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default 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!

  4. #4
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default 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!

  5. #5
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: error on checkout_confirmation page re: paypal_functions.php

    I have version Zen Cart 1.3.8a if that helps.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    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.

  7. #7
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

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

  8. #8
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Nov 2007
    Posts
    59
    Plugin Contributions
    0

    Default 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!!

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Function name must be a string in paypal_functions.php on line 919
    By delia in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 29 Jun 2016, 07:55 PM
  2. Replies: 1
    Last Post: 2 Dec 2015, 07:31 PM
  3. v154 PHP fatal error and blank main_page=checkout_confirmation
    By aro92 in forum General Questions
    Replies: 4
    Last Post: 7 May 2015, 01:45 PM
  4. v139f Can't seem to override checkout_confirmation.php language file
    By WhitePhantom in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Feb 2012, 02:04 PM
  5. index.php?main_page=checkout_confirmation
    By alvalong in forum General Questions
    Replies: 1
    Last Post: 25 May 2008, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg