civkit / civkit/civkit-api

Create Multiple Attempts for Routing Issues in fiat-received

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The fiat-received endpoint handles paying invoices. Currently, the payment must succeed otherwise the user will have to simply wait for the node runner to fix the payment. This function needs to retry the payment and then give the option to submit a new invoice if failed. Robosats has a great mechanism for this that would be ideal to replicate. I call this a bug as we need robust error handling for routing to work.

The payout should be attempted 3 times then if it fails, the error (if routing) should be specified to the user and they should submit a new invoice.

Review server.ts, and invoiceService as well as payoutService pages to find the relevant code where this should be implemented

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.