Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout confirmation error


bienenf

Recommended Posts

Hello Team,

I have this error on xxxxxxx/checkout/confirmation URL

Checkout doesn't complete, order not complete

Any Idea how to fix that ?

Thank you in advance

Yves

 

TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /httpdocs/lib/common/services/OrderManager.php:2220
                    Stack trace:
#0 xxxxxx/httpdocs/lib/common/services/OrderManager.php(2220): round()
#1 xxxxxx/httpdocs/lib/frontend/controllers/CheckoutController.php(471): common\services\OrderManager->checkShippingIsValid()
#2 [internal function]: frontend\controllers\CheckoutController->actionConfirmation()
#3 xxxxxxx/httpdocs/lib/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#4 xxxxxxxx/httpdocs/lib/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()
#5 xxxxxxxx/httpdocs/lib/frontend/controllers/Sceleton.php(236): yii\base\Controller->runAction()
#6 xxxxxxxx/httpdocs/lib/vendor/yiisoft/yii2/base/Module.php(552): frontend\controllers\Sceleton->runAction()
#7 xxxxxxxx/httpdocs/lib/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#8 /xxxxxxx/httpdocs/lib/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest()
#9 xxxxxxxx/httpdocs/lib/frontend/web/index.php(31): yii\base\Application->run()
#10 xxxxxxx/httpdocs/index.php(37): require('...')
#11 {main}

Link to comment
Share on other sites

It seems one of your shipping module returns incorrect cost.

Using the method of elimination, you can find this shipping and check that the cost fields contain numeric values.

If it does not help, you can send me an access to admin and I will try to help you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...