Jump to content

hooks involved when clicking on order with payment obligation


Recommended Posts

Hello everyone,

I am new to the forum,.

I am currently developing a module for a payment gateway in my country and after a long search I could not find the action hook (I must assume) that is executed when clicking on the "order button with payment obligation "before processing an order, the idea would be to show the corresponding card payment form and according to the response of the payment gateway process the order or not, thank you in advance if you can help me.

 

 

Pedido con obligacion de pago.png

Link to comment
Share on other sites

Good afternoon, I did some tests with the indicated hook, however I have not had satisfactory results, that is, it does not execute any action, I do not know if the problem is due to registering the hook incorrectly: registerHook ('actionObjectOrderPaymentAddBefore') I would appreciate it if you could guide me in this very trivial query or are the action hooks subscribed in a different way? thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...