From ce70df99188b0349abf9966ca562a506853b4044 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 31 May 2016 20:28:13 +0200 Subject: [PATCH] covert to float before sending to coinify --- shop/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/views.py b/shop/views.py index 0f3e0c2a..e381a3c5 100644 --- a/shop/views.py +++ b/shop/views.py @@ -383,7 +383,7 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn # create coinify API response = coinifyapi.invoice_create( - order.total, + float(order.total), 'DKK', plugin_name='BornHack 2016 webshop', plugin_version='1.0',