I have referred all Event's list



I have below issue

Magento 2: How to show/hide payment method on basis of amount

Can i manage through Event Observer? If Yes then what will be name? I'm not able to find on above links

<event name="controller_action_predispatch_XXXX_XXX_index">
        <observer name="check_checkout_page" instance="Custom\Module\Observer\MyObserver" />

When user on http://localhost/magento2/checkout/ before it loads payment method i would like to call my observer.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.