Monthly.
parent
c350a42f5f
commit
e9b3af0e65
|
@ -58,7 +58,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<section class="snipts" id="snipts">
|
<section class="snipts" id="snipts">
|
||||||
{% if request.user.is_authenticated and not request.user.profile.is_pro %}
|
{% if request.user.is_authenticated and not request.user.profile.is_pro %}
|
||||||
<div class="alert alert-info site-notice"><a href="/pro/">Snipt Pro</a>: Support the development of Snipt and get exclusive features for only $19/year.</div>
|
<div class="alert alert-info site-notice"><a href="/pro/">Snipt Pro</a>: Support the development of Snipt and get exclusive features for only $3/month.</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% with 'true' as detail %}
|
{% with 'true' as detail %}
|
||||||
{% include "snipts/snipt-list.html" %}
|
{% include "snipts/snipt-list.html" %}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section class="snipts" id="snipts">
|
<section class="snipts" id="snipts">
|
||||||
{% if request.user.is_authenticated and not request.user.profile.is_pro %}
|
{% if request.user.is_authenticated and not request.user.profile.is_pro %}
|
||||||
<div class="alert alert-info site-notice"><a href="/pro/">Snipt Pro</a>: Support the development of Snipt and get exclusive features for only $19/year.</div>
|
<div class="alert alert-info site-notice"><a href="/pro/">Snipt Pro</a>: Support the development of Snipt and get exclusive features for only $3/month.</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% autopaginate snipts 10 %}
|
{% autopaginate snipts 10 %}
|
||||||
{% for snipt in snipts %}
|
{% for snipt in snipts %}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
{% if request.user.profile.is_pro %}
|
{% if request.user.profile.is_pro %}
|
||||||
<h3>You're already a Pro. You know that ;)</h3>
|
<h3>You're already a Pro. You know that ;)</h3>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h3>Pro accounts are just $19/year.</h3>
|
<h3>Pro accounts are just $3/month.</h3>
|
||||||
<h4><a href="/pro/signup/" class="btn btn-large btn-success">Sign Up Now</a></h4>
|
<h4><a href="/pro/signup/" class="btn btn-large btn-success">Sign Up Now</a></h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
2
views.py
2
views.py
|
@ -63,7 +63,7 @@ def pro_signup_complete(request):
|
||||||
token = request.POST['token']
|
token = request.POST['token']
|
||||||
stripe.api_key = STRIPE_API_KEY
|
stripe.api_key = STRIPE_API_KEY
|
||||||
|
|
||||||
plan = 'snipt-pro'
|
plan = 'snipt-pro-monthly'
|
||||||
|
|
||||||
customer = stripe.Customer.create(
|
customer = stripe.Customer.create(
|
||||||
card = token,
|
card = token,
|
||||||
|
|
Loading…
Reference in New Issue