fix json path
This commit is contained in:
parent
bb85b77841
commit
2e40dfb1d1
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue