fix json path

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 13:01:36 +02:00
parent bb85b77841
commit 2e40dfb1d1

View file

@ -356,7 +356,7 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn
)
def get_redirect_url(self, *args, **kwargs):
return self.get_object().coinifyapiinvoice.invoicejson['data']['payment_url']
return self.get_object().coinifyapiinvoice.invoicejson['payment_url']
class CoinifyCallbackView(SingleObjectMixin, View):