@ -525,7 +525,7 @@ class DemoYandexAvisoView(APIView):
data[key] = val
now = timezone.now()
if data['orderSumAmount'] < 1001:
if float(data['orderSumAmount']) < 1001:
xml_res = """<checkOrderResponse performedDatetime="%s" code="0" invoiceId="%s" shopId="%s"/>
""" % (now.isoformat(), str(data['invoiceId']), str(data['shopId']))
else: