Merge branch 'dev_fix_pereodic_payment' into 'dev'

багфикс статуса С

See merge request !428
master
Вадим Шандринов 8 years ago
commit fdaa98ec94
  1. 2
      finance/tasks.py

@ -77,5 +77,5 @@ def _check_yandex_response_status(invoice, resp_text):
error = resp_node.getAttribute('error') error = resp_node.getAttribute('error')
processed_dt = resp_node.getAttribute('processedDT') processed_dt = resp_node.getAttribute('processedDT')
tech_message = resp_node.getAttribute('techMessage') tech_message = resp_node.getAttribute('techMessage')
invoice.status += Invoice.BILL_STATUSES[-1][0] invoice.status += 'C' # Invoice.BILL_STATUSES[-1][0]
invoice.comment += 'Yandex Money: ошибка № {}, сообщение {} от {}'.format(error, tech_message, processed_dt) invoice.comment += 'Yandex Money: ошибка № {}, сообщение {} от {}'.format(error, tech_message, processed_dt)

Loading…
Cancel
Save