new API keys for test
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
<div class="test-section">
|
||||
<h3>📋 Конфигурация</h3>
|
||||
<p><strong>API URL:</strong> <span id="apiUrl">https://demo.lnbits.com</span></p>
|
||||
<p><strong>API Key:</strong> <span id="apiKey">623515641d2e4ebcb1d5992d6d78419c</span></p>
|
||||
<p><strong>Wallet ID:</strong> <span id="walletId">bcd00f561c7b46b4a7b118f069e68997</span></p>
|
||||
<p><strong>API Key:</strong> <span id="apiKey">a7226682253f4dd7bdb2d9487a9a59f8</span></p>
|
||||
<p><strong>Wallet ID:</strong> <span id="walletId">649903697b03457d8b12c4eae7b2fab9</span></p>
|
||||
</div>
|
||||
|
||||
<div class="test-section">
|
||||
@@ -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'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user