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