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
No known key found for this signature in database
GPG Key ID: A394E332255A6173

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