diff --git a/src/session/PayPerSessionManager.js b/src/session/PayPerSessionManager.js index 487252e..17b7ff1 100644 --- a/src/session/PayPerSessionManager.js +++ b/src/session/PayPerSessionManager.js @@ -36,8 +36,8 @@ class PayPerSessionManager { this.verificationConfig = { method: config.method || 'lnbits', apiUrl: config.apiUrl || 'https://demo.lnbits.com', - apiKey: config.apiKey || '623515641d2e4ebcb1d5992d6d78419c', - walletId: config.walletId || 'bcd00f561c7b46b4a7b118f069e68997', + apiKey: config.apiKey || 'a7226682253f4dd7bdb2d9487a9a59f8', + walletId: config.walletId || '649903697b03457d8b12c4eae7b2fab9', isDemo: config.isDemo !== undefined ? config.isDemo : true, demoTimeout: 30000, retryAttempts: 3, diff --git a/test-lnbits-integration.html b/test-lnbits-integration.html index 6abc7cd..b518ad6 100644 --- a/test-lnbits-integration.html +++ b/test-lnbits-integration.html @@ -56,8 +56,8 @@

📋 Конфигурация

API URL: https://demo.lnbits.com

-

API Key: 623515641d2e4ebcb1d5992d6d78419c

-

Wallet ID: bcd00f561c7b46b4a7b118f069e68997

+

API Key: a7226682253f4dd7bdb2d9487a9a59f8

+

Wallet ID: 649903697b03457d8b12c4eae7b2fab9

@@ -126,7 +126,7 @@ const response = await fetch('https://demo.lnbits.com/api/v1/health', { method: 'GET', headers: { - 'X-Api-Key': '623515641d2e4ebcb1d5992d6d78419c' + 'X-Api-Key': 'a7226682253f4dd7bdb2d9487a9a59f8' } }); @@ -152,7 +152,7 @@ const response = await fetch('https://demo.lnbits.com/api/v1/payments', { method: 'POST', headers: { - 'X-Api-Key': '623515641d2e4ebcb1d5992d6d78419c', + 'X-Api-Key': 'a7226682253f4dd7bdb2d9487a9a59f8', 'Content-Type': 'application/json' }, body: JSON.stringify({ @@ -198,7 +198,7 @@ const response = await fetch(`https://demo.lnbits.com/api/v1/payments/${currentInvoice.checking_id}`, { method: 'GET', headers: { - 'X-Api-Key': '623515641d2e4ebcb1d5992d6d78419c', + 'X-Api-Key': 'a7226682253f4dd7bdb2d9487a9a59f8', 'Content-Type': 'application/json' } }); @@ -268,7 +268,7 @@ const response = await fetch(`https://demo.lnbits.com/api/v1/payments/${currentInvoice.checking_id}`, { method: 'GET', headers: { - 'X-Api-Key': '623515641d2e4ebcb1d5992d6d78419c', + 'X-Api-Key': 'a7226682253f4dd7bdb2d9487a9a59f8', 'Content-Type': 'application/json' } });