Private
Public Access
1
0

passing tests now

This commit is contained in:
Sander Roosendaal
2021-11-11 08:58:54 +01:00
parent 1926f7073d
commit 72c1817c15
3 changed files with 15 additions and 1 deletions

View File

@@ -214,7 +214,7 @@ def purchase_checkouts_view(request):
return HttpResponseRedirect(reverse('rower_select_instantplan'))
amount, success = braintreestuff.make_payment(r,data)
diff = plan.price - amount
diff = plan.price - int(amount)
eurocredits = credits.withdraw(diff,r)