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 1b83260a62
commit ca3ed15813

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