FIX
This commit is contained in:
parent
724bc3d656
commit
70262b1059
@ -100,6 +100,10 @@ export class Paym {
|
|||||||
this._isPaid = false;
|
this._isPaid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (payment.payment_error && payment.payment_error.indexOf('UnknownPaymentHash') !== -1) {
|
||||||
|
this._isPaid = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (payment.payment_error && payment.payment_error.indexOf('payment is in transition') !== -1) {
|
if (payment.payment_error && payment.payment_error.indexOf('payment is in transition') !== -1) {
|
||||||
this._isPaid = null; // null is default, but lets set it anyway
|
this._isPaid = null; // null is default, but lets set it anyway
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user