From 6930422188ee5a1964fb6ca93f494d2d40965506 Mon Sep 17 00:00:00 2001
From: Pedro Silva
Date: Fri, 20 Oct 2023 19:07:07 +0100
Subject: [PATCH] Fix ApplePay button
---
modules/ppcp-applepay/resources/js/ApplepayButton.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/ppcp-applepay/resources/js/ApplepayButton.js b/modules/ppcp-applepay/resources/js/ApplepayButton.js
index b98493b8c..23b912fe5 100644
--- a/modules/ppcp-applepay/resources/js/ApplepayButton.js
+++ b/modules/ppcp-applepay/resources/js/ApplepayButton.js
@@ -362,6 +362,7 @@ class ApplepayButton {
if (response.newShippingMethods) {
this.selectedShippingMethod = response.newShippingMethods[0]
}
+ session.completeShippingContactSelection(response)
},
error: (jqXHR, textStatus, errorThrown) => {
this.log('onshippingcontactselected error', textStatus);