getAlby / getAlby/lightning-browser-extension

Display Error Messages on payment Events

Open
#30 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
585
Forks
228
Avg merge
6d 7h
Merged PRs (30d)
16

Description

We should have a way to display messages/errors. When running into an error on a payment e.g.

`payment_error "insufficient_balance"`

it would be nice to see what happened.

If we decide to let the client website show the message, we should standardize and document the API's necessary to react to events.

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or entry points. Start by locating payment event handling and the existing client-facing event API, then review how errors such as `payment_error` are currently exposed. Done means agreeing on a standardized error-message API and documenting how client websites react to payment events.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, payments
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.