Handle btcpay "paid" invoice status for sponsorship donations

This commit is contained in:
wiz
2020-10-08 04:46:11 +09:00
parent 9255f1c007
commit ad144a34ac

View File

@@ -50,7 +50,7 @@ class Donations {
}
const response = await this.getStatus(data.id);
if (response.status !== 'complete' && response.status !== 'confirmed') {
if (response.status !== 'complete' && response.status !== 'confirmed' && response.status !== 'paid') {
return;
}