clear order and consumed coupon in session after processing order. Fix #162

This commit is contained in:
Manuel Raynaud
2014-01-10 14:55:52 +01:00
parent 9d0121f321
commit 3121fc4f5f
3 changed files with 24 additions and 1 deletions

View File

@@ -263,6 +263,8 @@ class Coupon extends BaseAction implements EventSubscriberInterface
$orderCoupon->save();
}
}
$request->getSession()->setConsumedCoupons(array());
}
/**