You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
# # 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
|
|
|