slider

parent dd2020b6
......@@ -582,8 +582,10 @@ def Pay(request):
# -----------------------------------------------------------------
def IPN(request):
f = open("myfile.txt", "w")
x = request.GET.dict()
PATH_USERS = config['PATHS']['PATH_USERS']
print()
f = open(PATH_USERS+"myfile.txt", "w")
x = request.POST.dict()
for key, value in x.items():
f.write(key+": "+value+'\n')
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