neptune/core/__init__.py

8 lines
179 B
Python
Raw Permalink Normal View History

2022-07-21 12:48:07 +00:00
import stripe
from django.conf import settings
if settings.STRIPE_TEST:
stripe.api_key = settings.STRIPE_API_KEY_TEST
else:
stripe.api_key = settings.STRIPE_API_KEY_PROD