Adyen / adyen-magento2-express-checkout

Adyen Magento 2 Express Checkout Module
MIT License
8 stars 2 forks source link

Apple Pay - Add onAvailable event #81

Closed dimitriBouteille closed 2 months ago

dimitriBouteille commented 4 months ago

Is it possible to add the onAvailable event when the Apple Pay component is displayed? The goal is to be able to easily overload the Apple Pay component with mixins.

By the way, I see that there is already an onNotAvailable event.

https://github.com/Adyen/adyen-magento2-express-checkout/blob/80a1f750b47f7b8662cd1f6005cc115d337a42cb/view/frontend/web/js/applepay/button.js#L158-L165