You should collect totals at some point. I'm not sure where did you get the code to create the orders, but [this][1] guide is quite useful and worked for me in the past. Anyway try $quote->collectTotals()->save(); after you add your products to cart. [1]: http://inchoo.net/magento/programmatically-create-order-in-magento/