Private
Public Access
1
0

confirmation emails to buyers

This commit is contained in:
Sander Roosendaal
2018-12-20 15:29:21 +01:00
parent 9272704f36
commit a9f11f4f76
10 changed files with 364 additions and 9 deletions

View File

@@ -1113,6 +1113,10 @@ def billing_view(request):
def upgrade_view(request):
r = getrequestrower(request)
if r.subscription_id is None or r.subscription_id == '':
url = reverse(billing_view)
return HttpResponseRedirect(url)
if request.method == 'POST':
billingaddressform = RowerBillingAddressForm(request.POST)
planselectform = PlanSelectForm(request.POST,paymentprocessor='braintree')