diff --git a/src/Service/Payment/Remover/RegularPaymentRemover.php b/src/Service/Payment/Remover/RegularPaymentRemover.php index 40ca6088a..f429e5359 100644 --- a/src/Service/Payment/Remover/RegularPaymentRemover.php +++ b/src/Service/Payment/Remover/RegularPaymentRemover.php @@ -51,6 +51,11 @@ public function removePaymentMethods(PaymentMethodRouteResponse $originalData, S if ($attributes->getMollieIdentifier() === PaymentMethod::INGHOMEPAY) { $originalData->getPaymentMethods()->remove($key); } + + # currently for bancomat, you cannot update the phone number, so customer might stuck in order edit. we remove the payment method for now and will enable it when the mollie api allows to change that + if ($this->isOrderRoute() && $attributes->getMollieIdentifier() === PaymentMethod::BANCOMATPAY) { + $originalData->getPaymentMethods()->remove($key); + } } return $originalData;