Check and accept both 'complete' and 'confirmed' invoices.

refs #122
This commit is contained in:
softsimon 2020-10-08 00:51:11 +07:00
parent 1f7483687f
commit 87dc1e5db4
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

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