|
|
|
|
@ -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) |
|
|
|
|
|