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

#   Error on checkout - confirmation page not shown

##

- **[JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")**
- [![JdL&#95;EL's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile") Topic Author
- [ Offline](/forum/user/64484-jdl-el)

Less More

- Posts: 2
- Thank you received: 1
-
-

4 years 8 months ago -  4 years 8 months ago [\#339463](#339463) by [JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")  *[Error on checkout - confirmation page not shown](/forum/27-checkout/903978-error-on-checkout-confirmation-page-not-shown#339463 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6  -- PHP version -- : 8.0.15 -- Browser(s) name and version -- : Chrome 98.0.4758.82 -- Error-message(debug-mod must be tuned on) -- : 0 bccomp(): Argument #1 ($num1) is not well-formed Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 2 bccomp() JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 3 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:192 4 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 5 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1963 6 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 7 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:896 8 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:656 9 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:730 10 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2150 11 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:245 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 19 require&#95;once() JROOT/index.php:32  When checking out, a confirmation page should be shown, but isn't.  When customer signs up during ordering, the registration e-mail is sent (and arrived at customer) After continuing the checkout procedure, the following error message is shown (0 bccomp(): Argument #1 ($num1) is not well-formed). Besides that, also no order confirmation is sent to the customer.  In the system I can see the order which is placed and continue with it, but the confirmation is not sent to the customer. Hope you can help out here?  I saw others having the same kind of error. In those topics it was mentioned to install the version from the website. hence I downloaded the latest version today and installed it, but this didn't help.")* was created by *[JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")*

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 4.0.6 *Just updated to 4.1.0 and the issue remained*
-- PHP version -- : 8.0.15
-- Browser(s) name and version -- : Chrome 98.0.4758.82
-- Error-message(debug-mod must be tuned on) -- : 0 bccomp(): Argument #1 ($num1) is not well-formed
Call stack
\# Function Location
1 () JROOT/media/com_hikashop/mail/order_creation_notification.text.php:36
2 bccomp() JROOT/media/com_hikashop/mail/order_creation_notification.text.php:36
3 require() JROOT/administrator/components/com_hikashop/classes/mail.php:192
4 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com_hikashop/classes/mail.php:32
5 hikashopMailClass-&gt;get() JROOT/administrator/components/com_hikashop/classes/order.php:1963
6 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com_hikashop/classes/order.php:441
7 hikashopOrderClass-&gt;save() JROOT/administrator/components/com_hikashop/classes/order.php:896
8 hikashopOrderClass-&gt;createFromCart() JROOT/components/com_hikashop/controllers/checkout.php:656
9 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2150
11 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:88
12 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
16 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
17 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
18 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/includes/app.php:63
19 require_once() JROOT/index.php:32

When checking out, a confirmation page should be shown, but isn't.

When customer signs up during ordering, the registration e-mail is sent (and arrived at customer)
After continuing the checkout procedure, the following error message is shown ***(0 bccomp(): Argument #1 ($num1) is not well-formed)***.
Besides that, also no order confirmation is sent to the customer.

In the system I can see the order which is placed and continue with it, but the confirmation is not sent to the customer.
Hope you can help out here?

I saw others having the same kind of error. In those topics it was mentioned to install the version from the website. hence I downloaded the latest version today and installed it, but this didn't help.

Last edit: 4 years 8 months ago by [JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwMzk3OC1lcnJvci1vbi1jaGVja291dC1jb25maXJtYXRpb24tcGFnZS1ub3Qtc2hvd24vMzM5NDYzP3RtcGw9bWFya2Rvd24=) 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: 86289
- Thank you received: 14265
-
-

4 years 8 months ago [\#339465](#339465) 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 - confirmation page not shown](/forum/27-checkout/903978-error-on-checkout-confirmation-page-not-shown#339465 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6  -- PHP version -- : 8.0.15 -- Browser(s) name and version -- : Chrome 98.0.4758.82 -- Error-message(debug-mod must be tuned on) -- : 0 bccomp(): Argument #1 ($num1) is not well-formed Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 2 bccomp() JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 3 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:192 4 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 5 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1963 6 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 7 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:896 8 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:656 9 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:730 10 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2150 11 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:245 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 19 require&#95;once() JROOT/index.php:32  When checking out, a confirmation page should be shown, but isn't.  When customer signs up during ordering, the registration e-mail is sent (and arrived at customer) After continuing the checkout procedure, the following error message is shown (0 bccomp(): Argument #1 ($num1) is not well-formed). Besides that, also no order confirmation is sent to the customer.  In the system I can see the order which is placed and continue with it, but the confirmation is not sent to the customer. Hope you can help out here?  I saw others having the same kind of error. In those topics it was mentioned to install the version from the website. hence I downloaded the latest version today and installed it, but this didn't help.")*

Hi,

There is apparently a conversion issue with the shipping fee on your end and PHP8 being strictier than previous versions.

Try changing the line: Code:

if(bccomp($data-&gt;order_shipping_price,0,5)){

to: Code:

if(bccomp(number_format($data-&gt;order_shipping_price,5),0,5)){

in the file /media/com_hikashop/mail/order_creation_notification.text.php
it should hopefully avoid the problem.

The following user(s) said Thank You: [JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")

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

- **[JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")**
- [![JdL&#95;EL's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile") Topic Author
- [ Offline](/forum/user/64484-jdl-el)

Less More

- Posts: 2
- Thank you received: 1
-
-

4 years 8 months ago [\#339469](#339469) by [JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")  Replied by *[JdL\_EL](/forum/user/64484-jdl-el "View JdL&#95;EL's Profile")* on topic *[Error on checkout - confirmation page not shown](/forum/27-checkout/903978-error-on-checkout-confirmation-page-not-shown#339469 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6  -- PHP version -- : 8.0.15 -- Browser(s) name and version -- : Chrome 98.0.4758.82 -- Error-message(debug-mod must be tuned on) -- : 0 bccomp(): Argument #1 ($num1) is not well-formed Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 2 bccomp() JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 3 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:192 4 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 5 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1963 6 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 7 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:896 8 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:656 9 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:730 10 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2150 11 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:245 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 19 require&#95;once() JROOT/index.php:32  When checking out, a confirmation page should be shown, but isn't.  When customer signs up during ordering, the registration e-mail is sent (and arrived at customer) After continuing the checkout procedure, the following error message is shown (0 bccomp(): Argument #1 ($num1) is not well-formed). Besides that, also no order confirmation is sent to the customer.  In the system I can see the order which is placed and continue with it, but the confirmation is not sent to the customer. Hope you can help out here?  I saw others having the same kind of error. In those topics it was mentioned to install the version from the website. hence I downloaded the latest version today and installed it, but this didn't help.")*

Thanks,
This works like a charm!

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwMzk3OC1lcnJvci1vbi1jaGVja291dC1jb25maXJtYXRpb24tcGFnZS1ub3Qtc2hvd24vMzM5NDYzP3RtcGw9bWFya2Rvd24=) 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: 86289
- Thank you received: 14265
-
-

4 years 8 months ago [\#339472](#339472) 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 - confirmation page not shown](/forum/27-checkout/903978-error-on-checkout-confirmation-page-not-shown#339472 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6  -- PHP version -- : 8.0.15 -- Browser(s) name and version -- : Chrome 98.0.4758.82 -- Error-message(debug-mod must be tuned on) -- : 0 bccomp(): Argument #1 ($num1) is not well-formed Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 2 bccomp() JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php:36 3 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:192 4 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 5 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1963 6 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 7 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:896 8 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:656 9 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:730 10 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2150 11 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:245 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 19 require&#95;once() JROOT/index.php:32  When checking out, a confirmation page should be shown, but isn't.  When customer signs up during ordering, the registration e-mail is sent (and arrived at customer) After continuing the checkout procedure, the following error message is shown (0 bccomp(): Argument #1 ($num1) is not well-formed). Besides that, also no order confirmation is sent to the customer.  In the system I can see the order which is placed and continue with it, but the confirmation is not sent to the customer. Hope you can help out here?  I saw others having the same kind of error. In those topics it was mentioned to install the version from the website. hence I downloaded the latest version today and installed it, but this didn't help.")*

Hi,

Thank you.
We'll add the change on our end for the next version of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwMzk3OC1lcnJvci1vbi1jaGVja291dC1jb25maXJtYXRpb24tcGFnZS1ub3Qtc2hvd24vMzM5NDYzP3RtcGw9bWFya2Rvd24=) 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.150 seconds

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

[](#top)
