Handle btcpay "paid" invoice status for sponsorship donations

This commit is contained in:
wiz committed 2020-10-08 04:46:11 +09:00
1 parent 7ee04ff011
commit b247864e2e
1 file changed
+1 -1
+1 -1
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;
}