Logged-in customers can checkout fine, guest checkouts always fail, resulting in the message
An error occurred during the payment
Trying to debug the problem, all I can find in the logs is the following 3 notices from PHP-FPM.
[14-Oct-2022 07:34:48 Europe/Rome] PHP Notice: Undefined index: order_reference in /var/www/domain.com/html/cache/smarty/compile/8c/ef/52/8cef52e10da76c532f10ad5be9c7a51c761cc3ee_0.file.order-confirmation-plus.tpl.php on line 119
[14-Oct-2022 07:34:48 Europe/Rome] PHP Notice: Trying to get property 'value' of non-object in /var/www/domain.com/html/cache/smarty/compile/8c/ef/52/8cef52e10da76c532f10ad5be9c7a51c761cc3ee_0.file.order-confirmation-plus.tpl.php on line 119
[14-Oct-2022 07:34:51 Europe/Rome] PHP Notice: Undefined variable: process in /var/www/domain.com/html/modules/paypal/paypal.php on line 935
order_reference is used to create a link for the user to follow the order. The fact that it is undefined makes me think that the order id is not created.
In the backoffice, I can confirm that the guest user is created correctly, with all of the information. To me it is clearly an issue is with the module.
Question
Coachonko
On module version 5.5.0 and tb 1.3.0, PHP 7.4
Logged-in customers can checkout fine, guest checkouts always fail, resulting in the message
An error occurred during the payment
Trying to debug the problem, all I can find in the logs is the following 3 notices from PHP-FPM.
[14-Oct-2022 07:34:48 Europe/Rome] PHP Notice: Undefined index: order_reference in /var/www/domain.com/html/cache/smarty/compile/8c/ef/52/8cef52e10da76c532f10ad5be9c7a51c761cc3ee_0.file.order-confirmation-plus.tpl.php on line 119 [14-Oct-2022 07:34:48 Europe/Rome] PHP Notice: Trying to get property 'value' of non-object in /var/www/domain.com/html/cache/smarty/compile/8c/ef/52/8cef52e10da76c532f10ad5be9c7a51c761cc3ee_0.file.order-confirmation-plus.tpl.php on line 119 [14-Oct-2022 07:34:51 Europe/Rome] PHP Notice: Undefined variable: process in /var/www/domain.com/html/modules/paypal/paypal.php on line 935
The last undefined variable error was fixed here.
order_reference is used to create a link for the user to follow the order. The fact that it is undefined makes me think that the order id is not created.
In the backoffice, I can confirm that the guest user is created correctly, with all of the information. To me it is clearly an issue is with the module.
This is a serious problem, please help.
Edited by Coachonko5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now