[feat] Add stripe payments (#3184)
This commit is contained in:
@@ -7,6 +7,7 @@ from typing import AsyncGenerator, Dict, Optional
|
||||
import httpx
|
||||
from loguru import logger
|
||||
|
||||
from lnbits.helpers import normalize_endpoint
|
||||
from lnbits.settings import settings
|
||||
|
||||
from .base import (
|
||||
@@ -36,7 +37,7 @@ class LnTipsWallet(Wallet):
|
||||
"missing lntips_api_key or lntips_admin_key or lntips_invoice_key"
|
||||
)
|
||||
|
||||
self.endpoint = self.normalize_endpoint(settings.lntips_api_endpoint)
|
||||
self.endpoint = normalize_endpoint(settings.lntips_api_endpoint)
|
||||
|
||||
headers = {
|
||||
"Authorization": f"Basic {key}",
|
||||
|
||||
Reference in New Issue
Block a user