diff --git a/Controller/ApplePay/PlaceOrder.php b/Controller/ApplePay/PlaceOrder.php index 0216edb7e50..6fa59109534 100644 --- a/Controller/ApplePay/PlaceOrder.php +++ b/Controller/ApplePay/PlaceOrder.php @@ -86,7 +86,13 @@ public function execute() $cart->setCustomerEmail($this->getRequest()->getParam('shippingAddress')['emailAddress']); - $shippingAddress->setShippingMethod($this->getRequest()->getParam('shippingMethod')['identifier']); + $shippingAddress->setShippingMethod( + str_replace( + '__SPLIT__', + '_', + $this->getRequest()->getParam('shippingMethod')['identifier'] + ) + ); $cart->setPaymentMethod('mollie_methods_applepay'); $cart->setCustomerIsGuest(true);