This document provides a comprehensive reference for all payment status badges used in the AXAIPay system.
All status badges use 2-letter abbreviations for better UI space efficiency and include tooltips that display the full meaning on hover.
| Status ID | Short Form | Full Meaning | Color Variant | Description |
|---|---|---|---|---|
| 0 | CR | Created | dark |
Payment has been created but not yet processed |
| 1 | PP | Pending Payment | warning |
Payment is pending and awaiting processing |
| 2 | IP | In Progress | warning |
Payment is currently being processed |
| 3 | PA | Pending Authorization | warning |
Payment is waiting for authorization |
| 4 | PT | Pending Termination | secondary |
Payment is pending termination |
| 5 | PM | Pending Maintenance | secondary |
Payment is pending maintenance |
| 11 | PD | Paid | success |
Payment has been successfully completed |
| 22 | FL | Failed | danger |
Payment processing failed |
| 23 | TO | Timeout | danger |
Payment processing timed out |
| 33 | VD | Void | info |
Payment has been voided |
| 43 | PR | Pending Refund | warning |
Refund is pending processing |
| 44 | RF | Refund | warning |
Refund has been processed |
| 55 | CN | Canceled | danger |
Payment has been canceled |
| - | UN | Unknown | dark |
Status is unknown or undefined |
When a refund request is active with status REQUESTED, the system displays:
- PR = Processing Refund (with tooltip)
success(Green): Successful operations (Paid)warning(Yellow): Pending or in-progress statesdanger(Red): Failed, canceled, or error statesinfo(Blue): Informational states (Void)secondary(Gray): Secondary pending statesdark(Dark Gray): Created or unknown states
Badge: For displaying the statusOverlayTrigger: For tooltip functionalityTooltip: For showing the full meaning
- Placement: Top (appears above the badge)
- Trigger: Hover
- Format: "SHORT = Full Meaning"
<OverlayTrigger
placement="top"
overlay={<Tooltip id="pp-tooltip">PP = Pending Payment</Tooltip>}
>
<Badge variant="warning">PP</Badge>
</OverlayTrigger>- Space Efficiency: 2-letter abbreviations save UI space
- User Experience: Tooltips provide full context on hover
- Consistency: All statuses follow the same pattern
- Accessibility: Unique tooltip IDs for screen readers
- Color Coding: Visual distinction through color variants
When adding new statuses:
- Add the new status to this documentation
- Update the
showStatusBadgefunction inPaymentHelpers.js - Ensure the tooltip follows the "SHORT = Full Meaning" format
- Choose appropriate color variant based on status type
- Use unique tooltip ID
Last Updated: [Current Date]
File: src/_metronic/_helpers/PaymentHelpers.js
