const.py 508 B

1234567891011
  1. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  2. # Mapping of payment status on Authorize side to transaction statuses.
  3. # See https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-transaction-details.
  4. TRANSACTION_STATUS_MAPPING = {
  5. 'authorized': ['authorizedPendingCapture', 'capturedPendingSettlement'],
  6. 'captured': ['settledSuccessfully'],
  7. 'voided': ['voided'],
  8. 'refunded': ['refundPendingSettlement', 'refundSettledSuccessfully'],
  9. }