[Skip to main content](#vessel-content)

#   Error on checkout/after\_end.php following payment

##

- **[roblux](/forum/user/35874-roblux "View roblux's Profile")**
- [![roblux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35874-roblux "View roblux's Profile") Topic Author
- [ Offline](/forum/user/35874-roblux)

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 11 months ago [\#253647](#253647) by [roblux](/forum/user/35874-roblux "View roblux's Profile")  *[Error on checkout/after\_end.php following payment](/forum/25-install-update/887164-error-on-checkout-after-end-php-following-payment#253647 "-- 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&#95;CONSTANT&#95;ENCAPSED&#95;STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt&#95;paradigm/html/com&#95;hikashop/checkout/after&#95;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")* was created by *[roblux](/forum/user/35874-roblux "View roblux's Profile")*

-- url of the page with the problem -- : [ www.fleurage-natural-perfume.com.au](https://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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzE2NC1lcnJvci1vbi1jaGVja291dC1hZnRlci1lbmQtcGhwLWZvbGxvd2luZy1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[roblux](/forum/user/35874-roblux "View roblux's Profile")**
- [![roblux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35874-roblux "View roblux's Profile") Topic Author
- [ Offline](/forum/user/35874-roblux)

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 11 months ago [\#253648](#253648) by [roblux](/forum/user/35874-roblux "View roblux's Profile")  Replied by *[roblux](/forum/user/35874-roblux "View roblux's Profile")* on topic *[Error on checkout/after\_end.php following payment](/forum/25-install-update/887164-error-on-checkout-after-end-php-following-payment#253648 "-- 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&#95;CONSTANT&#95;ENCAPSED&#95;STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt&#95;paradigm/html/com&#95;hikashop/checkout/after&#95;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")*

Updated the link to the page.
[ www.fleurage-natural-perfume.com.au/inde...ter\_end&amp;order\_id=176](https://www.fleurage-natural-perfume.com.au/index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=176)

I have deleted this line (line 22) from the after_end.php file
$app-&gt;enqueueMessage( JText::_('&lt;br&gt;Order Total: '.$order_total'&lt;br&gt;Order Revenue: '.$order_total - $shipping_price'&lt;br&gt;paradigm&lt;br&gt;') );
and the error message has stopped although the thank you message now appears odd.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzE2NC1lcnJvci1vbi1jaGVja291dC1hZnRlci1lbmQtcGhwLWZvbGxvd2luZy1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 11 months ago [\#253688](#253688) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error on checkout/after\_end.php following payment](/forum/25-install-update/887164-error-on-checkout-after-end-php-following-payment#253688 "-- 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&#95;CONSTANT&#95;ENCAPSED&#95;STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt&#95;paradigm/html/com&#95;hikashop/checkout/after&#95;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")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzE2NC1lcnJvci1vbi1jaGVja291dC1hZnRlci1lbmQtcGhwLWZvbGxvd2luZy1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[roblux](/forum/user/35874-roblux "View roblux's Profile")**
- [![roblux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35874-roblux "View roblux's Profile") Topic Author
- [ Offline](/forum/user/35874-roblux)

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 11 months ago [\#253717](#253717) by [roblux](/forum/user/35874-roblux "View roblux's Profile")  Replied by *[roblux](/forum/user/35874-roblux "View roblux's Profile")* on topic *[Error on checkout/after\_end.php following payment](/forum/25-install-update/887164-error-on-checkout-after-end-php-following-payment#253717 "-- 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&#95;CONSTANT&#95;ENCAPSED&#95;STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt&#95;paradigm/html/com&#95;hikashop/checkout/after&#95;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")*

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-&gt;enqueueMessage( JText::_('&lt;br&gt;Order Total: '.$order_total'.&lt;br&gt;Order Revenue: '.$order_total - $shipping_price.'&lt;br&gt;paradigm&lt;br&gt;') );

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzE2NC1lcnJvci1vbi1jaGVja291dC1hZnRlci1lbmQtcGhwLWZvbGxvd2luZy1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 11 months ago [\#253718](#253718) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error on checkout/after\_end.php following payment](/forum/25-install-update/887164-error-on-checkout-after-end-php-following-payment#253718 "-- 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&#95;CONSTANT&#95;ENCAPSED&#95;STRING) in /home/fleurage/fleurage-natural-perfume.com.au/templates/rt&#95;paradigm/html/com&#95;hikashop/checkout/after&#95;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")*

Yes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NzE2NC1lcnJvci1vbi1jaGVja291dC1hZnRlci1lbmQtcGhwLWZvbGxvd2luZy1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.173 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
