Closed tiagonmas closed 9 months ago
This happened 2 times already, and it seems like a "racing condition". While I asked for the invoice via UI, the backend must have already received the payment notification and had created the invoice in the meantime.
Added code to check again if the file exits at the moment of upload again. This will prevent this issue.
This is related to #764 so I'm closing this one.
Paid a donation and clicked on Get Invoice and received the exception https://dev.alimentestaideia.pt/Identity/Account/Manage/GenerateInvoice?publicDonationId=bbc8285b-92b7-4924-998d-a720f177b9fa
The Create blob lacks error handling.