Skip to content

Bug: Inconsistent Payment History Display During Crypto Payment Processing #331

@sunglow666

Description

@sunglow666

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:

  1. 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
  1. 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
Image

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 working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions