Skip to content

Create Multiple Attempts for Routing Issues in fiat-received #47

@MarketMadi

Description

@MarketMadi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions