Undo Podman changes

This commit is contained in:
2023-07-29 16:28:12 +00:00
parent 8ef39ffe48
commit 9474a516ac
7 changed files with 78 additions and 82 deletions

View File

@@ -1,16 +1,10 @@
import stripe
from django.conf import settings
# from lago_python_client import Client
from lago_python_client.client import Client
from lago_python_client.exceptions import LagoApiError
from lago_python_client import Client
from lago_python_client.clients.base_client import LagoApiError
from lago_python_client.models import Customer, CustomerBillingConfiguration
client = Client(api_key=settings.LAGO_API_KEY, api_url=settings.LAGO_URL)
if settings.STRIPE_TEST:
stripe.api_key = settings.STRIPE_API_KEY_TEST
else:
stripe.api_key = settings.STRIPE_API_KEY_PROD
def expand_name(first_name, last_name):