diff --git a/settings_local-template.py b/settings_local-template.py index 1f354ef..3318d1d 100644 --- a/settings_local-template.py +++ b/settings_local-template.py @@ -48,7 +48,7 @@ VIRTUALENV_PATH = '' AMAZON_API_KEY = '' AMAZON_API_SECRET = '' -STRIPE_API_KEY = '' +STRIPE_SECRET_KEY = '' ENV_HOST = 'user@domain.com:22' diff --git a/views.py b/views.py index c775956..f65e07a 100644 --- a/views.py +++ b/views.py @@ -11,7 +11,7 @@ from taggit.models import Tag import hashlib, stripe -from settings_local import STRIPE_API_KEY +from settings_local import STRIPE_SECRET_KEY @render_to('homepage.html') @@ -70,7 +70,7 @@ def pro_signup_complete(request): if request.method == 'POST': token = request.POST['token'] - stripe.api_key = STRIPE_API_KEY + stripe.api_key = STRIPE_SECRET_KEY plan = 'snipt-pro-monthly'