Showing results for 
Search instead for 
Did you mean: 

Error while creating order

Error while creating order

try {

    $service = Mage::getModel("sales/service_quote", $quote);


} catch(Exception $e) {

     $returnArray["message"] = $e->getMessage(); 




While placing order i am getting this error.

"There was an error processing your order. Please contact us or try again later"


I know this is generic error message but when i go deep down to core i got this error message in exception.

"Decoding failed: Syntax error"


Please anyone Suggest solution.


This issue occurs only when creating order with few customers, else it work ok with no error.