diff --git a/Controllers/Frontend/MollieApplePayDirect.php b/Controllers/Frontend/MollieApplePayDirect.php index 2989cf2a..5a95fbdb 100644 --- a/Controllers/Frontend/MollieApplePayDirect.php +++ b/Controllers/Frontend/MollieApplePayDirect.php @@ -166,6 +166,9 @@ public function addProductAction() $this->basket->sAddArticle($productNumber, $productQuantity); + // set the correct payment ID in order to add additional costs + $this->front->Request()->setPost('sPayment', $this->applePayPaymentMethod->getPaymentMethod()->getId()); + // add potential discounts or surcharges to prevent an amount mismatch // on patching the new amount after the confirmation. // only necessary if the customer directly checks out from product detail page