diff --git a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx index 17e22eea7..ddef82176 100644 --- a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx +++ b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx @@ -234,7 +234,7 @@ const RideButtons = ({ useEffect(() => { loadOfflinePaymentText(); }, []); - const ridePaymentMethodId = ride?.paymentMethodId || ''; + const ridePaymentMethodId = ride?.paymentMethodId || chosenService?.allowedPaymentMethods?.[0] || ''; const selectedPaymentMethod: PaymentMethodInterface | undefined = paymentMethodIdToDataMap[ridePaymentMethodId] || paymentMethods.find(pm => pm.id === ridePaymentMethodId);