coupon code error fix

This commit is contained in:
2018-08-31 14:02:46 +03:00
parent ea0a2c67bc
commit a628c14785
4 changed files with 4 additions and 84 deletions

View File

@@ -281,7 +281,9 @@ public class PaymentMethodFragment extends CreateOrderBaseFragment {
response.body().getData() != null &&
response.body().isSuccess()){
CreateOrderActivity createOrderActivity = (CreateOrderActivity) getActivity();
createOrderActivity.setCartInfo(response.body().getData());
CartInfoModel cartInfoModel = response.body().getData();
cartInfoModel.checkNull();
createOrderActivity.setCartInfo(cartInfoModel);
createOrderActivity.setSelectedPaymentMethod(selectedPaymentMethod);
createOrderActivity.onNextClicked(FRAGMENT_NAME);
}