Fix invoice PDFs shown as “Open”
The invoice PDFs were sometimes shown as “Status: Open”, because at the time they where downloaded for mail sending the payment backend has not processed the transaction yet. This is now fixed and you will either get an invoice with status: “Closed” or “Due” when your credit card failed.