Skip to content

Commit

Permalink
Release version 5.2.0
Browse files Browse the repository at this point in the history
ADCRSET18-38
  • Loading branch information
MarijaIv committed Sep 25, 2024
1 parent e4706dd commit f68e098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/controllers/front/paymentconfigexpresscheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function getConfigForNewAddress($data)
$customerService->updateDeliveryAddress((int)$cart->id, (int)$cart->id_address_delivery);
$cart->update();

$config = CheckoutHandler::getExpressCheckoutConfig($cart);
$config = CheckoutHandler::getExpressCheckoutConfig($cart, true);

$address = new Address($cart->id_address_delivery);
$address->delete();
Expand All @@ -122,7 +122,7 @@ private function getConfigForNewAddress($data)
$customerService->updateDeliveryAddress((int)$cart->id, (int)$cart->id_address_delivery);
$cart->update();

$config = CheckoutHandler::getExpressCheckoutConfig($cart);
$config = CheckoutHandler::getExpressCheckoutConfig($cart, true);

$address = new Address($cart->id_address_delivery);
$address->delete();
Expand Down
4 changes: 0 additions & 4 deletions src/views/js/front/adyen-checkout-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@
}
};

if (config.onShippingAddressChanged) {
paymentMethodSpecificConfig.paypal.onShippingAddressChange = shippingAddressChanged
}

if (config.requireAddress) {
paymentMethodSpecificConfig.applepay = {
isExpress: true,
Expand Down

0 comments on commit f68e098

Please sign in to comment.