I am developing a gateway module to integrate the payment methods of my company.
The module that I am developing includes 3 payment methods in a single module.
I need a hook to change the payment method option in the checkout page.
At the moment the option that appears in the checkout is the name of the module, but I need to replace this option, by the name of the payment methods, that our gateway support.
I already tried the next hooks:
These hooks appear in the activity log, but they do not fire in the checkout page.
Can you help me?