2

May I know how can I dispatch event sales_order_invoice_save_commit_after when I create invoice via REST api?

I noticed there are quite a number of extensions is observing this particular event but this event is not being dispatched when the invoice is created over REST api.

Is this function depreciated? I understand that this event works well in the web but there is dispatching in REST api.

2
  • What is the location of the events.xml?
    – Mr. Lewis
    Jan 23 '19 at 17:48
  • your issue resolved ia m facing same issue but in my case its working for old user not working with guest
    – imtiazau
    Jul 15 '19 at 13:58
0

you should use event "sales_order_invoice_save_after" instead

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.