diff --git a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php index e1ca9026..f884a7ac 100644 --- a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php +++ b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php @@ -449,6 +449,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface 'items' => $inv_items, ], 'mode_of_payment' => $jo->getModeOfPayment(), + 'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()), 'trade_in_type' => $trade_in_type, 'promo' => $promo_data, // TODO: load the actual @@ -587,6 +588,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface 'items' => $inv_items, ], 'mode_of_payment' => $jo->getModeOfPayment(), + 'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()), 'trade_in_type' => $trade_in_type, 'promo' => $promo_data, // TODO: load the actual @@ -747,7 +749,8 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface 'vat' => $inv->getVat(), 'items' => $inv_items, ], - 'mode_of_payment' => $jo->getModeOfPayment(), + 'mode_of_payment' => $jo->getModeOfPayment(), + 'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()), 'trade_in_type' => $trade_in_type, 'promo' => $promo_data, // TODO: load the actual