Skip to content

Seller loses action buttons after showing hold invoice #715

@ToRyVand

Description

@ToRyVand

🐛 Bug Description

When a seller shows a hold invoice to a buyer, the inline keyboard buttons disappear from the message. This leaves the seller unable to mark the order as pending when the buyer doesn't pay, blocking the order workflow.

🔍 Steps to Reproduce

  1. Buyer takes a BUY order
  2. Seller receives notification and clicks "Continue"
  3. Bot shows hold invoice QR code
  4. Bug: After showing the invoice, all inline keyboard buttons disappear
  5. If buyer doesn't pay, seller cannot mark order as pending or take any action

💥 Current Behavior

  • After showing hold invoice, the message updates without any buttons
  • Seller loses access to order management actions
  • Order gets stuck if buyer doesn't pay the invoice

✅ Expected Behavior

After showing hold invoice, seller should retain ability to:

  • Mark order as pending if buyer doesn't pay
  • Cancel the operation
  • Access other relevant order management buttons

🔧 Technical Details

Affected file: bot/messages.ts
Function: showHoldInvoiceMessage()
Root cause: Message sent without inline keyboard buttons after displaying invoice

💡 Proposed Solution

Add inline keyboard buttons after showing the hold invoice:

  • "Mark as pending" button to reset order to PENDING status
  • "Cancel" button to cancel the operation

🔗 Related

📊 Impact

  • Severity: Medium - blocks seller workflow
  • Users affected: All sellers who show hold invoices
  • Workaround: None available

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions