Skip to content

Check and handling of reciver wallet errors#2748

Open
pory-gone wants to merge 2 commits intostackernews:masterfrom
pory-gone:zap_fail
Open

Check and handling of reciver wallet errors#2748
pory-gone wants to merge 2 commits intostackernews:masterfrom
pory-gone:zap_fail

Conversation

@pory-gone
Copy link
Contributor

@pory-gone pory-gone commented Jan 10, 2026

Description

Feat #2468
When zapping fails due to receiver wallet errors (INVOICE_CREATION_FAILED or INVOICE_WRAPPING_FAILED_*), the sender now sees a clear error message in their wallet logs.

Screenshots

N/A

Additional Context

The implementation follows the existing pattern in payInFailed() by checking for receiver wallet errors after successful state transition.

Checklist

Are your changes backward compatible? Please answer below:
Yes

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
6/10

For frontend changes: Tested on mobile, light and dark mode? Please answer below:
N/A

Did you introduce any new environment variables? If so, call them out explicitly here:
No

Did you use AI for this? If so, how much did it assist you?
AI helped me understand how the components that handle payment errors work

@pory-gone pory-gone marked this pull request as ready for review January 12, 2026 19:15
@pory-gone pory-gone marked this pull request as draft January 15, 2026 16:44
@pory-gone pory-gone marked this pull request as ready for review January 18, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant