I have been working on a Shopware Plugin that synchronizes data based on order/payment statuses and if an order has an invoice or not. The problem I’m facing now is that I don’t know when or where the order/payment statuses are set and I also don’t know when Invoices are created. I can test the plugin by manipulating these factors manually, but assuming that this usually happens automatically, it’s not very practical. Can anyone tell me how and when the order/payment statuses are changed, when invoices are created and if there are plugins that I can use to simulate the ordering/payment process for testing? All help is appreciated.
Thanks in advance!