[feat] Add stripe payments (#3184)
This commit is contained in:
@@ -4,6 +4,8 @@ from typing import AsyncGenerator, Optional
|
||||
import httpx
|
||||
from loguru import logger
|
||||
|
||||
from lnbits.exceptions import UnsupportedError
|
||||
from lnbits.helpers import normalize_endpoint
|
||||
from lnbits.settings import settings
|
||||
|
||||
from .base import (
|
||||
@@ -12,7 +14,6 @@ from .base import (
|
||||
PaymentResponse,
|
||||
PaymentStatus,
|
||||
StatusResponse,
|
||||
UnsupportedError,
|
||||
Wallet,
|
||||
)
|
||||
|
||||
@@ -38,7 +39,7 @@ class OpenNodeWallet(Wallet):
|
||||
)
|
||||
self.key = key
|
||||
|
||||
self.endpoint = self.normalize_endpoint(settings.opennode_api_endpoint)
|
||||
self.endpoint = normalize_endpoint(settings.opennode_api_endpoint)
|
||||
|
||||
headers = {
|
||||
"Authorization": self.key,
|
||||
|
||||
Reference in New Issue
Block a user