state in callback

This commit is contained in:
Sayyid Hamid Mahdavi 2025-10-07 13:19:48 +03:30
parent 218a86ab7c
commit 4281587396

View file

@ -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()