Jonathan Posted June 16, 2015 Report Posted June 16, 2015 Invoices generated by pro-rata actions are never getting sent and remain in the "unsent" state. Sending manually works, the cron does not catch these and send them, though. Modify a service, generate a pro-rated invoice, invoice is generated, invoice remains un-sent. You have to manually edit and send invoice. Should be flagged to be caught by the Deliver Invoices cron when generated. All three times the cron reports:Attempting to deliver invoices scheduled for delivery. No invoices are scheduled to be delivered. The deliver invoices task has completed.
Jonathan Posted June 16, 2015 Author Report Posted June 16, 2015 I was able to confirm that this is due to no row getting inserted to invoice_delivery for the invoice when it's created. Should be a simple fix
Tyson Posted June 16, 2015 Report Posted June 16, 2015 What 'invoices generated by pro rata actions' are you referring to? Things like service upgrades don't queue invoices for delivery.
Jonathan Posted June 16, 2015 Author Report Posted June 16, 2015 Any action resulting in an invoice generated by means of pro-rata. Upgrades/downgrades including configurable options. What's the logic behind not queueing them for delivery? Seems like it should so the customer will know about the invoice if say for example they opened a ticket to have the given change done. It's done via admin side thus queueing it in service_changes pending their payment. The invoice should be sent to them for payment. Daniel B 1
Paul Posted June 16, 2015 Report Posted June 16, 2015 I think they should probably be queued for delivery Daniel B 1
Tyson Posted June 18, 2015 Report Posted June 18, 2015 This will be in 3.5 as apart of CORE-1717. Michael, Blesta Addons and Jonathan 3
Recommended Posts