diff --git a/src/Controller/PaymentController.php b/src/Controller/PaymentController.php index 69cc931..9181ad0 100644 --- a/src/Controller/PaymentController.php +++ b/src/Controller/PaymentController.php @@ -57,6 +57,13 @@ public function getPaymentList() * - country */ foreach ($paymentListRaw as $key => $payment) { + if( + $payment->getId() === 'oscadyenapplepay' && + (stripos($_SERVER['HTTP_USER_AGENT'], 'Mac') !== false || stripos($_SERVER['HTTP_USER_AGENT'], 'Apple') !== false) + ){ + continue; + } + if ( !isset($adyenDef[$key]) || (