kwargs not invoicedict

This commit is contained in:
Thomas Steen Rasmussen 2017-05-22 20:20:12 +02:00
parent 9e5626ddf1
commit 475efc08fb

View file

@ -75,7 +75,7 @@ def coinify_api_request(api_method, order, **kwargs):
req = CoinifyAPIRequest.objects.create(
order=order,
method=api_method,
payload=json.dumps(invoicedict),
payload=json.dumps(kwargs),
response=json.dumps(response),
)
logger.debug("saved coinify api request %s in db" % req.id)