covert to float before sending to coinify

This commit is contained in:
Thomas Steen Rasmussen 2016-05-31 20:28:13 +02:00
parent 8c60d476ec
commit ce70df9918

View file

@ -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',