Private
Public Access
1
0

testing refund acknowledgement

This commit is contained in:
Sander Roosendaal
2019-02-08 13:01:19 +01:00
parent 319ce56e07
commit fa9632afb1
7 changed files with 19 additions and 15 deletions

View File

@@ -332,7 +332,7 @@ def checkouts_view(request):
elif 'tac' not in request.POST:
try:
planid = int(request.POST['plan'])
url = reverse('downgrade_confirm_view',kwargs={'planid':planid})
url = reverse('payment_confirm_view',kwargs={'planid':planid})
messages.error(request,"You must review and acknowledge the terms and conditions")
return HttpResponseRedirect(url)
except IndexError:
@@ -421,7 +421,7 @@ def downgrade_checkouts_view(request):
elif 'tac' not in request.POST:
try:
planid = int(request.POST['plan'])
url = reverse('payment_confirm_view',kwargs={'planid':planid})
url = reverse('downgrade_confirm_view',kwargs={'planid':planid})
messages.error(request,"You must review and acknowledge the terms and conditions")
return HttpResponseRedirect(url)
except IndexError: