Payment dialog hides bolt11 fetch failures and can stay forever on Generating invoice #9

Closed
opened 2026-04-13 12:46:09 +00:00 by userAdityaa · 0 comments
Contributor

Description

When the payment dialog opens, the app requests a Lightning invoice (bolt11).
If that request fails, the error is silently ignored.

Because of that, the dialog keeps showing Generating invoice and never gives the user a clear error or retry path.

This creates a stuck-feeling payment experience for invoice failures such as:

  • invoice is not open
  • backend internal error
  • missing or invalid billing wallet configuration

Expected Result

  • If bolt11 request fails, show a visible error message with cause.
  • Stop loading state.
  • Provide a Retry action.
  • Keep a clear escape action (close/pay later) while showing error context.

Screenshot

Screenshot 2026-04-13 at 6.27.04 PM.png
### Description When the payment dialog opens, the app requests a Lightning invoice (bolt11). If that request fails, the error is silently ignored. Because of that, the dialog keeps showing Generating invoice and never gives the user a clear error or retry path. This creates a stuck-feeling payment experience for invoice failures such as: * invoice is not open * backend internal error * missing or invalid billing wallet configuration ### Expected Result * If bolt11 request fails, show a visible error message with cause. * Stop loading state. * Provide a Retry action. * Keep a clear escape action (close/pay later) while showing error context. ### Screenshot <img width="1438" alt="Screenshot 2026-04-13 at 6.27.04 PM.png" src="attachments/fb14e539-739e-4059-ae5d-fd8b4fae0a52">
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/caravel#9