Handle btcpay "paid" invoice status for sponsorship donations

This commit is contained in:
wiz 2020-10-08 04:46:11 +09:00
parent 7ee04ff011
commit b247864e2e

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;
}