成功创建发票后,我是否在 magento 中调用任何事件


Is there any event in magento which i call after successful invoice creation

我正在提供与会计软件的连接,所以我调用一个事件"sales_order_invoice_pay"但我需要更新发票号。 由会计软件提供的发票号。所以我需要一个事件,我可以在发票生成后立即获取发票信息。

谢谢

这取决于

你的Magento版本,因为早期的Magento有

sales_order_invoice_save_after

但是您必须检查您的版本和事件的可用性。