Skip to content

Commit cff3308

Browse files
authored
Merge pull request #857 from mollie/fix/PIWOO-348
[PIWOO-348] Check shippingMethodId identifier
2 parents 44735ce + 78d0cb4 commit cff3308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Buttons/ApplePayButton/AppleAjaxRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ protected function calculateTotalsCartPage(
568568
$cart,
569569
$customerAddress,
570570
$shippingMethodId,
571-
$shippingMethodId['identifier']
571+
$shippingMethodId['identifier'] ?? null
572572
);
573573
}
574574
$cart->calculate_shipping();

0 commit comments

Comments
 (0)