payment_method_code fix for getCartProductsWithCommission()

This commit is contained in:
2019-06-29 01:32:22 +03:00
parent 336d065764
commit 757e903a21

View File

@@ -692,7 +692,9 @@ public class CreateOrderSummaryFragment extends CreateOrderBaseFragment {
params.put("coupon", SessionHelper.getSelectedCoupon().getCode());
}
params.put("payment_method", createOrderActivity.getSelectedPaymentMethod().getCode());
params.put("payment_method_code", createOrderActivity.getSelectedPaymentMethod().getCode());
params.put("shipping_method",createOrderActivity.getSelectedShippingMethod().getCode());
params.put("shipping_method_code",createOrderActivity.getSelectedShippingMethod().getCode());
Call<ResponseObject<CartInfoModel>> call = ApiService.apiInterface.getCartProducts(
"/" + SessionHelper.getSelectedStore().getStoreName() + ApiEndPoints.API_GET_CART_PRODUCTS + SessionHelper.getCustomerToken().getToken(),