this field has been renamed

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 12:50:25 +02:00
parent c3fbc0aa7b
commit 6e3accfc79

View file

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