clarkk Posted December 22, 2012 Share Posted December 22, 2012 Hi When a customer pays an order with credit card the hook "actionPaymentConfirmation" i triggered.. But what if the customer pays by bank transfer? Which hook to I then need to use if I want to register the order in an external service? Happy hollidays Link to comment Share on other sites More sharing options...
tomerg3 Posted December 22, 2012 Share Posted December 22, 2012 You can use the hook newOrder which gets called whenever a new order is placed, regardless of the payment method, or no payment (free order). 1 Link to comment Share on other sites More sharing options...
clarkk Posted December 24, 2012 Author Share Posted December 24, 2012 (edited) Thanks If you create a credit note (if some products are returned by the customer), does "newOrder" also get called? I can't test it myself because I don't have a shop with a fully working payment module Edited December 24, 2012 by clarkk (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted December 24, 2012 Share Posted December 24, 2012 No, New order is only for the first time an order is placed. Link to comment Share on other sites More sharing options...
clarkk Posted December 24, 2012 Author Share Posted December 24, 2012 ok, but which hook is then called when a credit note is created? Link to comment Share on other sites More sharing options...
tomerg3 Posted December 24, 2012 Share Posted December 24, 2012 I do not recall off the top of my head, you can either look at the docs, or look it up in the actual controller that is called. Link to comment Share on other sites More sharing options...
clarkk Posted December 25, 2012 Author Share Posted December 25, 2012 could it be this one? actionOrderReturn Link to comment Share on other sites More sharing options...
Recommended Posts