-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem:
During crypto payment processing (STATUS=Processing), the Credits page fails to display crypto payment records and miscalculates total credits. The UI only shows credit card payments and excludes crypto payments from the total credits calculation until processing completes.
Sequence:
- After crypto payment initiation:
- Payment shows STATUS=Processing
- GET /hot-labs/payment returns empty array: {"payments": [], "total": 0}
- GET /stripe/payment returns credit card payments normally
- UI impact: Only credit card payments displayed; total credits exclude crypto payments
- After crypto payment completion (STATUS=Completed):
- GET /hot-labs/payment returns all crypto payment records:{"payments": [], "total": 4}
- UI correctly displays both payment methods
- Total credits calculation includes all payments
Expected Behavior:
All payments (including STATUS=Processing) should be consistently returned by both endpoints, allowing UI to:
- Display all payment records regardless of status
- Calculate accurate total credits at all times
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working