slider

parent dd2020b6
...@@ -582,8 +582,10 @@ def Pay(request): ...@@ -582,8 +582,10 @@ def Pay(request):
# ----------------------------------------------------------------- # -----------------------------------------------------------------
def IPN(request): def IPN(request):
f = open("myfile.txt", "w") PATH_USERS = config['PATHS']['PATH_USERS']
x = request.GET.dict() print()
f = open(PATH_USERS+"myfile.txt", "w")
x = request.POST.dict()
for key, value in x.items(): for key, value in x.items():
f.write(key+": "+value+'\n') f.write(key+": "+value+'\n')
return HttpResponse("hola") return HttpResponse("hola")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment