|
|
@ -164,29 +164,30 @@ |
|
|
|
.get('/lnticket/api/v1/tickets/' + self.paymentCheck) |
|
|
|
.then(function (res) { |
|
|
|
if (res.data.paid) { |
|
|
|
self.$q.notify({ |
|
|
|
type: 'positive', |
|
|
|
message: 'Sent, thank you!', |
|
|
|
icon: null |
|
|
|
}) |
|
|
|
clearInterval(paymentChecker) |
|
|
|
self.receive = { |
|
|
|
show: false, |
|
|
|
status: 'complete', |
|
|
|
paymentReq: null |
|
|
|
} |
|
|
|
clearInterval(paymentChecker) |
|
|
|
dismissMsg() |
|
|
|
|
|
|
|
|
|
|
|
self.formDialog.data.name = '' |
|
|
|
self.formDialog.data.email = '' |
|
|
|
self.formDialog.data.text = '' |
|
|
|
self.$q.notify({ |
|
|
|
type: 'positive', |
|
|
|
message: 'Sent, thank you!', |
|
|
|
icon: 'thumb_up', |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(function (error) { |
|
|
|
LNbits.utils.notifyApiError(error) |
|
|
|
}) |
|
|
|
}, 2000) |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
.catch(function (error) { |
|
|
|
LNbits.utils.notifyApiError(error) |
|
|
|