state in callback
This commit is contained in:
parent
218a86ab7c
commit
4281587396
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class PaymentConfirmView(UpdateView):
|
|||
|
||||
if 'redirect-to-app' in request.POST:
|
||||
response = HttpResponse(status=302)
|
||||
response['Location'] = self.object.callback_url
|
||||
response['Location'] = self.object.callback_url + f'?state={self.object.state}'
|
||||
return response
|
||||
|
||||
tool = self.object.get_gateway_tools()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue