commit
ed5ab25438
2 changed files with 44 additions and 2 deletions
@ -0,0 +1,42 @@ |
||||
# # coding=utf-8 |
||||
# import datetime |
||||
# from hashlib import md5 |
||||
# from django.shortcuts import render |
||||
# from django.views.decorators.csrf import csrf_exempt |
||||
# |
||||
# from lms.settings import YANDEX_MONEY_SHOP_PASSWORD |
||||
# |
||||
# |
||||
# # coding=utf-8 |
||||
# import datetime |
||||
# from hashlib import md5 |
||||
# from django.shortcuts import render |
||||
# from django.views.decorators.csrf import csrf_exempt |
||||
# |
||||
# from finance.models import Bill, YandexKassaHistory |
||||
# from lms.settings import YANDEX_MONEY_SHOP_PASSWORD |
||||
# |
||||
# |
||||
# def gen_md5(cd): |
||||
# return md5(';'.join(( |
||||
# cd['action'], |
||||
# cd['orderSumAmount'], |
||||
# cd['orderSumCurrencyPaycash'], |
||||
# cd['orderSumBankPaycash'], |
||||
# cd['shopId'], |
||||
# cd['invoiceId'], |
||||
# cd['customerNumber'], |
||||
# YANDEX_MONEY_SHOP_PASSWORD, |
||||
# )).encode('utf-8')).hexdigest().upper() |
||||
# |
||||
# |
||||
# @csrf_exempt |
||||
# def aviso(request): |
||||
# # Страница получения результата о платежах |
||||
# data = request.POST |
||||
# |
||||
# |
||||
# |
||||
# @csrf_exempt |
||||
# def check(request): |
||||
# data = request.POST |
||||
Loading…
Reference in new issue