slider

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