Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2023
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default The required notifications in the order_total.php class were not applied

    Just tried out the PayPal Restful module, and on the checkout, when you go to make the payment, the following error message is generated:

    The required notifications in the order_total.php class were not applied; the payment module cannot place orders. The payment module has been automatically disabled.

    The plugin module then turns itself off, and enable this plugin module status changes from true to false.

    have double checked all the settings within the module, and all appear ok.

    Not sure if anyone else has experienced this, and if so, if they managed to find what was causing the issue?

    Kind Regards,

    Andy

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,617
    Plugin Contributions
    19

    Default Re: The required notifications in the order_total.php class were not applied

    Did you read the instructions for installing it? If your site is an upgrade from an older version, perhaps the required changes weren't applied to these files?

    Check these files and make sure you have the exact same code as what's been highlighted. If there's any differences, apply the changes and you should be fine.

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: The required notifications in the order_total.php class were not applied

    As has been discussued before, in the PayPal RESTful support thread.

    https://www.zen-cart.com/showthread....12#post1405212

    https://www.zen-cart.com/showthread....92#post1400892
    Simon

  4. #4
    Join Date
    Apr 2023
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: The required notifications in the order_total.php class were not applied

    Read all the instructions before installation, and read through the forum too.

    Managed to get somewhere today with this.

    Can get through to PayPal and complete the checkout, but as soon as this happens, you get returned to the website with a 404 page error, and the transaction doesn't complete.

    No errors in the logs.

    Only thing in the logs is a log with the curlpost request was successful (200), which also shows in our PayPal account under API calls > HTTP status 200 ok request path successful request.

    Kind Regards,

    Andy

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,434
    Plugin Contributions
    94

    Default Re: The required notifications in the order_total.php class were not applied

    Quote Originally Posted by andy_77 View Post
    Read all the instructions before installation, and read through the forum too.

    Managed to get somewhere today with this.

    Can get through to PayPal and complete the checkout, but as soon as this happens, you get returned to the website with a 404 page error, and the transaction doesn't complete.

    No errors in the logs.

    Only thing in the logs is a log with the curlpost request was successful (200), which also shows in our PayPal account under API calls > HTTP status 200 ok request path successful request.

    Kind Regards,

    Andy
    I'm guessing that you failed to copy the root-directory file: ppr_webhook_main.php.

    It should be in the same directory as ipn_main_handler.php

  6. #6
    Join Date
    Apr 2023
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: The required notifications in the order_total.php class were not applied

    Thanks Lat9,

    Really appreciate your help.

    Well spotted!

    You were correct.

    I'd failed to copy this file across.

    Copy the file across and the checkout is working now, but it only works if you select PayPal, as the payment option.

    If you select the credit card option to make the payment, the order doesn't complete, and the following warning message is displayed on the checkout page "An error occurred when we tried to process your credit card. Please try again, select an alternate payment method or contact us for assistance."

    Have tried quite a few times, also with "enable SCA always" ticked and also unticked.

    No errors in the logs.

    Not sure if I've missed anything obvious?

    Have been through the forum, to see if I can find anything that may help.

    Not sure if anyone can think of anything obvious that I may have missed?

    Kind Regards,

    Andy
    Last edited by andy_77; 26 Feb 2025 at 02:39 PM.

  7. #7
    Join Date
    Apr 2023
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: The required notifications in the order_total.php class were not applied

    All sorted now.

    Thanks for all the support.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,801
    Plugin Contributions
    17

    Default Re: The required notifications in the order_total.php class were not applied

    Quote Originally Posted by andy_77 View Post
    All sorted now.

    Thanks for all the support.
    What was the fix? Capturing that now helps you in the future if it happens again and helps others if or when they get the same response.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Apr 2023
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: The required notifications in the order_total.php class were not applied

    It just started working; I didn't make any other changes, after uploading the file that I missed originally.

 

 

Similar Threads

  1. v152 paypalwpp.php inserts a shipping address outside the zone definition, no tax applied
    By torvista in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 11 Feb 2014, 05:28 PM
  2. WARNING: Could not locate language file: modules/order_total/ot_loworderfee.php
    By stressedout72 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Feb 2012, 07:43 PM
  3. Replies: 1
    Last Post: 8 Feb 2011, 02:07 AM
  4. order_total class and class redeclaration
    By s_p_ike in forum General Questions
    Replies: 1
    Last Post: 8 Feb 2007, 11:33 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR