I have the following code and I have searched and searched and can not find the answer. Everything I find on these forums tell me to do what I have already done but the shipping cost will just not save on the quote.
Here is how I call the quote,
$quote = Mage::getModel('sales/quote')->load($QID);
I then add all my items and customer details etc and then I add the shipping details like so,
$delCost = 10 //// I set this as a variable
$delTitle = 'MY CUSTOM TITLE' //// I set this as a variable
$quote->getShippingAddress()->setShippingDescription($delTitle); /// THIS IS WORKING
$quote->getShippingAddress()->setShippingAmount($delCost);
$quote->getShippingAddress()->setBaseShippingAmount($delCost);
$quote->getShippingAddress()->setData('price',$delCost);
$quote->getShippingAddress()->setRate($delCost);
$quote->getShippingAddress()->setCost($delCost);
$quote->getShippingAddress()->setCountry('GB');
$quote->save();
When I retrieve the quote I can see it has saved the shipping description but it doesn't save the cost .
This is stand alone code that I am using where I create a quote programmatically for a point of sale system I am creating. Any help would be most appreciated as I have followed every tutorial I can find and I know its probably something simple I am missing.