.addMessage(BroadleafWebServicesException.PROMO_CODE_INVALID, promoCode);
}
try {
cart = orderService.removeOfferCode(cart, offerCode, priceOrder);
OrderWrapper wrapper = (OrderWrapper) context.getBean(OrderWrapper.class.getName());
wrapper.wrapDetails(cart, request);
return wrapper;
} catch (PricingException e) {
throw BroadleafWebServicesException.build(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), null, null, e)
.addMessage(BroadleafWebServicesException.CART_PRICING_ERROR);