11 lines
508 B
Python
11 lines
508 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
# Mapping of payment status on Authorize side to transaction statuses.
|
|
# See https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-transaction-details.
|
|
TRANSACTION_STATUS_MAPPING = {
|
|
'authorized': ['authorizedPendingCapture', 'capturedPendingSettlement'],
|
|
'captured': ['settledSuccessfully'],
|
|
'voided': ['voided'],
|
|
'refunded': ['refundPendingSettlement', 'refundSettledSuccessfully'],
|
|
}
|