RicardoCarvalho Posted November 5, 2020 Share Posted November 5, 2020 Hi, 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: ShoppingCartViewCartOutput; ClientAreaPageCart; These hooks appear in the activity log, but they do not fire in the checkout page. Can you help me? Best regards, 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted November 16, 2020 Share Posted November 16, 2020 I think you want the ShoppingCartCheckoutOutput hook instead. 0 Quote Link to comment Share on other sites More sharing options...
RicardoCarvalho Posted November 18, 2020 Author Share Posted November 18, 2020 Hi steven99, I already tried that hook. The problem was that I had registered all my hooks in the hook file on the root of the module. When I pass the hooks to the folder includes/hooks they begin to work. Best regards. 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted November 20, 2020 Share Posted November 20, 2020 (edited) IIRC that was an issue for me also and just chalked it up to payment modules just being different then others. Edited November 20, 2020 by steven99 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.