1
1
mirror of https://github.com/bumi/lntip synced 2025-06-16 17:55:35 +00:00
This commit is contained in:
bumi 2019-01-09 12:08:50 +01:00
parent f998fc478c
commit d3e7dc0668

View File

@ -9,7 +9,7 @@ JavaScript widget that integrates in any website.
See it in action: [moneyz.michaelbumann.com](http://moneyz.michaelbumann.com)
If [webln](https://github.com/wbobeirne/webln) is available it will be used to request the payment;
otherwise a overlay will be shown with the payment request and a QR code.
otherwise an overlay will be shown with the payment request and a QR code.
## Motivation
@ -74,7 +74,7 @@ tip.requestPayment().then((invoice) => {
// create a new invoice
tip.getInvoice().then((invoice) => {
console.log(tip.invoice.PaymentRequest)
console.log(invoice.PaymentRequest)
});
// periodically watch if an invoice is settled