testing refund acknowledgement
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user