covert to float before sending to coinify
This commit is contained in:
parent
8c60d476ec
commit
ce70df9918
|
@ -383,7 +383,7 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn
|
||||||
|
|
||||||
# create coinify API
|
# create coinify API
|
||||||
response = coinifyapi.invoice_create(
|
response = coinifyapi.invoice_create(
|
||||||
order.total,
|
float(order.total),
|
||||||
'DKK',
|
'DKK',
|
||||||
plugin_name='BornHack 2016 webshop',
|
plugin_name='BornHack 2016 webshop',
|
||||||
plugin_version='1.0',
|
plugin_version='1.0',
|
||||||
|
|
Loading…
Reference in a new issue