- Posts: 17
- Thank you received: 0
Error on checkout/after_end.php following payment
9 years 11 months ago #253647
by roblux
Error on checkout/after_end.php following payment was created by roblux
-- url of the page with the problem -- :
www.fleurage-natural-perfume.com.au
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.5.38
-- Browser(s) name and version -- : Safari 10.0
-- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ''Order Revenue: '' (T_CONSTANT_ENCAPSED_STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt_paradigm/html/com_hikashop/checkout/after_end.php on line 22
Hi
Customers began reporting error message yesterday.
Have run our own tests today and replicated the error.
Updated Joomla and Hikashop to latest versions.
Error remains.
Payment successfully goes through via credit card or Paypal.
Parse error happens on return to page following payment.
Your kind help please.
Thanks Rob
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.5.38
-- Browser(s) name and version -- : Safari 10.0
-- Error-message(debug-mod must be tuned on) -- : Parse error: syntax error, unexpected ''Order Revenue: '' (T_CONSTANT_ENCAPSED_STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt_paradigm/html/com_hikashop/checkout/after_end.php on line 22
Hi
Customers began reporting error message yesterday.
Have run our own tests today and replicated the error.
Updated Joomla and Hikashop to latest versions.
Error remains.
Payment successfully goes through via credit card or Paypal.
Parse error happens on return to page following payment.
Your kind help please.
Thanks Rob
Please Log in or Create an account to join the conversation.
9 years 11 months ago #253648
by roblux
Replied by roblux on topic Error on checkout/after_end.php following payment
Updated the link to the page.
www.fleurage-natural-perfume.com.au/inde...ter_end&order_id=176
I have deleted this line (line 22) from the after_end.php file
$app->enqueueMessage( JText::_('<br>Order Total: '.$order_total'<br>Order Revenue: '.$order_total - $shipping_price'<br>paradigm<br>') );
and the error message has stopped although the thank you message now appears odd.
www.fleurage-natural-perfume.com.au/inde...ter_end&order_id=176
I have deleted this line (line 22) from the after_end.php file
$app->enqueueMessage( JText::_('<br>Order Total: '.$order_total'<br>Order Revenue: '.$order_total - $shipping_price'<br>paradigm<br>') );
and the error message has stopped although the thank you message now appears odd.
Please Log in or Create an account to join the conversation.
9 years 11 months ago #253688
by nicolas
Replied by nicolas on topic Error on checkout/after_end.php following payment
Hi,
This comes from your custom code, not HikaShop.
In the line you deleted, you have an error.
After the first $order_total variable, you should have a dot.
Similarily, after the variable $shipping_price, you're also missing a dot.
This comes from your custom code, not HikaShop.
In the line you deleted, you have an error.
After the first $order_total variable, you should have a dot.
Similarily, after the variable $shipping_price, you're also missing a dot.
Please Log in or Create an account to join the conversation.
9 years 11 months ago #253717
by roblux
Replied by roblux on topic Error on checkout/after_end.php following payment
Thank you for the advice, had forgotten there was custom code there, and even why it is there.
Amend the code to this below?
$app->enqueueMessage( JText::_('<br>Order Total: '.$order_total'.<br>Order Revenue: '.$order_total - $shipping_price.'<br>paradigm<br>') );
Thank you.
Amend the code to this below?
$app->enqueueMessage( JText::_('<br>Order Total: '.$order_total'.<br>Order Revenue: '.$order_total - $shipping_price.'<br>paradigm<br>') );
Thank you.
Please Log in or Create an account to join the conversation.
9 years 11 months ago #253718
by nicolas
Replied by nicolas on topic Error on checkout/after_end.php following payment
Yes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds