# Could not finish your order

**URL:** <https://forum.modmore.com/t/could-not-finish-your-order/1552>\
**Category:** SimpleCart\
**Created:** [October 15, 2018, 10:09pm UTC](https://forum.modmore.com/t/could-not-finish-your-order/1552 "2018-10-15T22:09:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamesgardiner](https://forum.modmore.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@Jamesgardiner](https://forum.modmore.com/u/Jamesgardiner)\
**Post date:** [October 15, 2018, 10:09pm UTC](https://forum.modmore.com/t/could-not-finish-your-order/1552/1 "2018-10-15T22:09:53Z")

</div>

Hello

How can I find out why my test orders are failing on scFinishOrder with SimpleCart v2.5.2

I have the following on the step before:

```
<input type="hidden" name="doOrder" value="true" />
<input type="hidden" name="deliveryMethod" value="1" />

```

because the orders are free and delivered electronically so ideally I want to skip through delivery options and payment.

I have looked in the error.log and can see:

[2018-10-15 22:00:47] (ERROR @ /core/components/simplecart/controllers/web/Cart.class.php : 1605) PHP warning: Division by zero  
[2018-10-15 22:00:47] (ERROR @ /core/components/simplecart/controllers/web/Cart.class.php : 1605) PHP warning: Division by zero  
[2018-10-15 22:01:18] (ERROR @ /core/components/simplecart/controllers/web/Cart.class.php : 1605) PHP warning: Division by zero  
[2018-10-15 22:01:18] (ERROR @ core/components/simplecart/model/simplecart/simplecart.class.php : 267) PHP warning: number\_format() expects parameter 1 to be float, string given  
[2018-10-15 22:01:18] (ERROR @ /core/components/simplecart/model/simplecart/simplecart.class.php : 267) PHP warning: number\_format() expects parameter 1 to be float, string given

(paths have been shortened in the log file by me before pasting)

Any tips on how to debug gratefully recieved.

James
