Initialise Stripe API
This commit is contained in:
parent
1ff603faba
commit
a1db79e14f
|
@ -0,0 +1,7 @@
|
|||
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
|
Loading…
Reference in New Issue