-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
🐛 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
- Buyer takes a BUY order
- Seller receives notification and clicks "Continue"
- Bot shows hold invoice QR code
- Bug: After showing the invoice, all inline keyboard buttons disappear
- 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
- Fix available in PR Fix #715: Add "Mark as pending" button after showing hold invoice #714
📊 Impact
- Severity: Medium - blocks seller workflow
- Users affected: All sellers who show hold invoices
- Workaround: None available
coderabbitai
Metadata
Metadata
Assignees
Labels
No labels