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
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.
Re: The required notifications in the order_total.php class were not applied
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
Re: The required notifications in the order_total.php class were not applied
Quote:
Originally Posted by
andy_77
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
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
Re: The required notifications in the order_total.php class were not applied
All sorted now.
Thanks for all the support.
Re: The required notifications in the order_total.php class were not applied
Quote:
Originally Posted by
andy_77
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.
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.