Skip to content

Instantly share code, notes, and snippets.

@bmease
Created June 21, 2018 23:29
Show Gist options
  • Save bmease/3312394620f987076b85ab3c5a126df1 to your computer and use it in GitHub Desktop.
Save bmease/3312394620f987076b85ab3c5a126df1 to your computer and use it in GitHub Desktop.
# Stripe API keys - Production keys to be placed in ENV variable
STRIPE_PUBLIC_KEY = os.environ.get("STRIPE_PUBLIC_KEY", "pk_test_vVq7bqVRXI5vcF7mqKiQN1g3")
STRIPE_SECRET_KEY = os.environ.get("STRIPE_SECRET_KEY", "sk_test_aGWHXGGEJNvfZHTz4AcuABVl")
# Stripe Plan IDs
if DEBUG:
STRIPE_PROJECT_PLAN_ID = 'plan_ClpqLvheKgrYJs'
STRIPE_PROFESSIONAL_PLAN_ID = 'plan_ClpruCuWUAGHwi'
else:
# TODO - create production plans in Stripe
STRIPE_PROJECT_PLAN_ID = ''
STRIPE_PROFESSIONAL_PLAN_ID = ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment