File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -857,13 +857,16 @@ window.app = Vue.createApp({
857857 const url = `${ window . location . origin } /tpos/api/v1/lnurl/${ this . atmToken } /${ this . sat } `
858858 const bytes = new TextEncoder ( ) . encode ( url )
859859 const bech32 = NostrTools . nip19 . encodeBytes ( 'lnurl' , bytes )
860- this . invoiceDialog . data = {
860+ this . openInvoiceDialog ( {
861+ payment_hash : `atm-withdraw-${ this . atmToken } -${ this . sat } ` ,
861862 payment_request : bech32 . toUpperCase ( ) ,
863+ lightning_payment_request : bech32 . toUpperCase ( ) ,
862864 fallback :
863- window . location . hostname + '?lightning=' + bech32 . toUpperCase ( )
864- }
865- this . invoiceDialog . show = true
866- this . readNfcTag ( )
865+ window . location . hostname + '?lightning=' + bech32 . toUpperCase ( ) ,
866+ payment_method : 'lightning' ,
867+ payment_options : [ 'lightning' ]
868+ } )
869+ this . invoiceDialog . dismissMsg ( )
867870 this . invoiceDialog . dismissMsg = Quasar . Notify . create ( {
868871 timeout : 0 ,
869872 message : 'Withdraw...'
You can’t perform that action at this time.
0 commit comments