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

remotes/origin/dev_fix_pereodic_payment
wad 8 years ago
parent 782aa02c28
commit 362bf6dd53
  1. 2
      finance/tasks.py

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

Loading…
Cancel
Save