Fix stripe key.

master
Nick Sergeant 2014-10-22 10:09:58 -04:00
parent 1ce8f0cf72
commit 2385996424
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def pro_complete(request):
if request.method == 'POST':
token = request.POST['token']
stripe.api_key = os.environ.get('STRIPE_SECRET_KEY', settings.STRIPE_SECRET_KEY)
stripe.api_key = os.environ.get('STRIPE_SECRET_KEY', '')
try:
customer = stripe.Customer.create(email=request.user.email,