slider

parent dd2020b6
......@@ -569,7 +569,7 @@ def Pay(request):
# ~ prod_list.append({
# ~ 'purchased': products['purchased'],
# ~ 'price' : products['price'],
# ~ 'aggreg_date' : products['aggreg_date'],
# ~ 'aggreg_date' : products['aggreg_date'],
# ~ 'catalog': product
# ~ })
# ~ return JsonResponse({'product_list': prod_list})
......@@ -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