parent
3b44ca21ef
commit
45e5a839ce
3 changed files with 6 additions and 43 deletions
@ -1,42 +0,0 @@ |
|||||||
# # 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