This commit is contained in:
HolgerHatGarKeineNode
2023-04-25 23:14:54 +02:00
parent d8dbc57cea
commit e55b0026b4
2 changed files with 12 additions and 6 deletions

View File

@@ -36,9 +36,9 @@ class Hello extends Component
sats: 21, sats: 21,
memo: 'Payment for: Bitcoin im Ländle 2023 - Code is Speech', memo: 'Payment for: Bitcoin im Ländle 2023 - Code is Speech',
lnbits: [ lnbits: [
'url' => 'https://legend.lnbits.com', 'url' => config('services.lnbits.url'),
'wallet_id' => 'b9b095edd0db4bf8995f1bbc90b195c5', 'wallet_id' => config('services.lnbits.wallet_id'),
'read_key' => '67e6d7f94f5345119d6c799d768a029e', 'read_key' => config('services.lnbits.read_key'),
], ],
); );
} catch (\Exception $e) { } catch (\Exception $e) {
@@ -62,9 +62,9 @@ class Hello extends Component
{ {
try { try {
$invoice = $this->check($this->checkid, [ $invoice = $this->check($this->checkid, [
'url' => 'https://legend.lnbits.com', 'url' => config('services.lnbits.url'),
'wallet_id' => 'b9b095edd0db4bf8995f1bbc90b195c5', 'wallet_id' => config('services.lnbits.wallet_id'),
'read_key' => '67e6d7f94f5345119d6c799d768a029e', 'read_key' => config('services.lnbits.read_key'),
]); ]);
} catch (\Exception $e) { } catch (\Exception $e) {
$this->notification() $this->notification()

View File

@@ -46,4 +46,10 @@ return [
'redirect' => env('TWITTER_REDIRECT_URI'), 'redirect' => env('TWITTER_REDIRECT_URI'),
], ],
'lnbits' => [
'url' => env('LNBITS_URL'),
'wallet_id' => env('LNBITS_WALLET_ID'),
'read_key' => env('LNBITS_READ_KEY'),
]
]; ];