PDF regeneration on status change
-
Hi!
Is it possible to force a regeneration of invoice when order status changes?
My issue is that when order is made by direct bank/wire transfer payment method client gets an email with advance payment invoice.
When it gets paid then order status gets changed manually to “completed”.
And it would need to send a little bit different invoice this time. But instead it sends the same advance payment invoice because it’s already generated.
Within invoice template I have some conditions that would take care of this if only it would try to regenerate the invoice when it attaches it to email.
If I delete the generated invoice then status change and invoice sent to client is correct because it can’t find the invoice and therefore it regenerates it.Any thoughts on how this could be automated? Can I force invoice regeneration somehow?
Thanks!
- The topic ‘PDF regeneration on status change’ is closed to new replies.