diff --git a/resources/js/mollieBlockIndex.js b/resources/js/mollieBlockIndex.js index 4e07d875..280cf489 100644 --- a/resources/js/mollieBlockIndex.js +++ b/resources/js/mollieBlockIndex.js @@ -20,6 +20,7 @@ import ApplePayButtonEditorComponent from './blocks/ApplePayButtonEditorComponen const {useEffect} = wp.element; const isAppleSession = typeof window.ApplePaySession === "function" const isBlockEditor = !!wp?.blockEditor; + localStorage.removeItem('cachedAvailableGateways'); function getCompanyField() { let shippingCompany = shipping_address.company ?? false;