From 9af7a0b27f722c1a2bed3fc0425f2a946972e3ec Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Tue, 21 Aug 2012 10:15:12 -0400 Subject: [PATCH] Going back to /yr --- snipts/templates/snipts/detail.html | 2 +- snipts/templates/snipts/list.html | 2 +- templates/pro-signup.html | 11 +---------- templates/pro.html | 2 +- views.py | 6 +----- 5 files changed, 5 insertions(+), 18 deletions(-) diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index 227e113..fd27ebc 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -45,7 +45,7 @@ {% block content %}
{% if not request.user.profile.is_pro %} -
Snipt Pro: Support the development of Snipt and get exclusive features for only $4/month or $40/year.
+
Snipt Pro: Support the development of Snipt and get exclusive features for only $19/year.
{% endif %} {% with 'true' as detail %} {% include "snipts/snipt-list.html" %} diff --git a/snipts/templates/snipts/list.html b/snipts/templates/snipts/list.html index 4b7b299..55023b4 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -14,7 +14,7 @@ {% block content %}
{% if not request.user.profile.is_pro %} -
Snipt Pro: Support the development of Snipt and get exclusive features for only $4/month or $40/year.
+
Snipt Pro: Support the development of Snipt and get exclusive features for only $19/year.
{% endif %} {% autopaginate snipts 10 %} {% for snipt in snipts %} diff --git a/templates/pro-signup.html b/templates/pro-signup.html index d290155..dbe5992 100644 --- a/templates/pro-signup.html +++ b/templates/pro-signup.html @@ -27,17 +27,8 @@
Please wait…
- You're awesome. + $19 USD will be charged to your card annually. Also, you rock. Tell yourself that every year, too.
-
- -
- -
-
diff --git a/templates/pro.html b/templates/pro.html index 6bb9527..ce6c566 100644 --- a/templates/pro.html +++ b/templates/pro.html @@ -29,7 +29,7 @@ {% if request.user.profile.is_pro %}

You're already a Pro. You know that ;)

{% else %} -

Pro accounts are just $4/month or $40/year.

+

Pro accounts are just $19/year.

Sign Up Now

{% endif %}
diff --git a/views.py b/views.py index 37f5508..02d6b02 100644 --- a/views.py +++ b/views.py @@ -106,11 +106,7 @@ def pro_signup_complete(request): token = request.POST['token'] stripe.api_key = '5XchbRsWVbksTRWSX67kOdBnCf01DxSh' - plan = 'snipt-pro-monthly' - - if 'plan' in request.POST: - if request.POST['plan'] == 'pro-yearly': - plan = 'snipt-pro-yearly' + plan = 'snipt-pro' customer = stripe.Customer.create( card = token,