Switch to new monthly plan rate.
parent
21f4706a41
commit
8f18bd05c4
|
@ -35,7 +35,7 @@
|
||||||
<form class="form-horizontal" id="pro-signup" method="post" action="/pro/signup/complete/">
|
<form class="form-horizontal" id="pro-signup" method="post" action="/pro/signup/complete/">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="payment-loading"><span>Please wait…</span></div>
|
<div class="payment-loading"><span>Please wait…</span></div>
|
||||||
<legend>$3 USD will be charged to your card monthly. Also, you rock. Tell yourself that every month, too.</legend>
|
<legend>$5 USD will be charged to your card monthly. Also, you rock. Tell yourself that every month, too.</legend>
|
||||||
<div class="payment-errors alert alert-error"></div>
|
<div class="payment-errors alert alert-error"></div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="name">Name on card:</label>
|
<label class="control-label" for="name">Name on card:</label>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
{% if request.user.profile.is_pro %}
|
{% if request.user.profile.is_pro %}
|
||||||
<h3>You're already a Pro.</h3>
|
<h3>You're already a Pro.</h3>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h3><span><span class="pro">Pro</span> is only</span> $3/month.</h3>
|
<h3><span><span class="pro">Pro</span> is only</span> $5/month.</h3>
|
||||||
<h4><a href="/pro/signup/" class="btn btn-large btn-success">Buy Now</a></h4>
|
<h4><a href="/pro/signup/" class="btn btn-large btn-success">Buy Now</a></h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
2
views.py
2
views.py
|
@ -104,7 +104,7 @@ def pro_signup_complete(request):
|
||||||
token = request.POST['token']
|
token = request.POST['token']
|
||||||
stripe.api_key = STRIPE_SECRET_KEY
|
stripe.api_key = STRIPE_SECRET_KEY
|
||||||
|
|
||||||
plan = 'snipt-pro-monthly'
|
plan = 'snipt-monthly'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
customer = stripe.Customer.create(card=token,
|
customer = stripe.Customer.create(card=token,
|
||||||
|
|
Loading…
Reference in New Issue