Odoo18-Base/addons/payment_authorize/const.py
2025-03-10 11:12:23 +07:00

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'],
}