don't save order untill it's not the payment method

This commit is contained in:
Manuel Raynaud
2014-01-10 10:34:57 +01:00
parent 7ec7fcfa5e
commit 75007cc6c5

View File

@@ -130,7 +130,8 @@ class Coupon extends BaseAction implements EventSubscriberInterface
->getSession() ->getSession()
->getOrder() ->getOrder()
->setDiscount($totalDiscount) ->setDiscount($totalDiscount)
->save(); // ->save()
;
} }
} }