test redirect to app
This commit is contained in:
parent
12a490393b
commit
9855720950
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class ChargeConfirmView(UpdateView):
|
|||
# post = <QueryDict: {'Token': ['NDEwMTI0Nzc0MDMzMA=='], 'OrderId': ['7'], 'TerminalNo': ['31127029'], 'RRN': ['511629156251'], 'status': ['0'], 'TspToken': ['00000000-0000-0000-0000-000000000000'], 'HashCardNumber': ['6008617E6BAB76997499446356F5C8B60288445650DD551FDF32007BCF2B14AF'], 'Amount': ['21,000'], 'SwAmount': [''], 'STraceNo': ['123232']}>
|
||||
|
||||
if 'redirect-to-app' in request.POST:
|
||||
response = HttpResponse("", status=302)
|
||||
response = HttpResponse(status=302)
|
||||
response['Location'] = self.object.callback_url
|
||||
return response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue