diff --git a/finance/views.py b/finance/views.py index 33fe3cf..b732a11 100644 --- a/finance/views.py +++ b/finance/views.py @@ -525,7 +525,7 @@ class DemoYandexAvisoView(APIView): data[key] = val now = timezone.now() - if data['orderSumAmount'] < 1001: + if float(data['orderSumAmount']) < 1001: xml_res = """ """ % (now.isoformat(), str(data['invoiceId']), str(data['shopId'])) else: