|
|
|
|
@ -269,7 +269,7 @@ class YandexAvisoView(APIView): |
|
|
|
|
logger_yandex.error("Payment with invoice_id=%s not found" % data['orderNumber']) |
|
|
|
|
return Response(status=204) |
|
|
|
|
|
|
|
|
|
logger_yandex.info('Get success pay with invoice_id(yandex) %s' % pay.invoice_id) |
|
|
|
|
logger_yandex.info('Get success pay with invoice_id(yandex) %s' % str(data['invoiceId'])) |
|
|
|
|
|
|
|
|
|
pay.shop_amount = data['shopSumAmount'] |
|
|
|
|
pay.status = Payment.STATUS.SUCCESS |
|
|
|
|
|