What are the possible responses for "payment_error"? #6371
Unanswered
brianoflondon
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ask: what are the possible return results for
payment_error
that I need to code against?I have a curious transaction which returned the following to me following a call to the API endpoint
v1/channels/transactions
This is a log from my app and the line Status: 200 after time: 0.701 is remarkably quick: normally I see times of 2 or 3s at least and up to a couple of minutes. I believe I currently time out at 420s.
My code had never seen that before and I went ahead and acted on it as if it was a failure.
Subsequently, more than 2 hours later, it seems a payment did succeed.
I've got the full output of the Invoice and I'm not sure if posting it here is a problem in what it reveals but if I'm told it is fine to do I will post it here.
This section of the second payment attempt is what has me genuinely confused:
Calculating those times gives the following:
Attempt: GMT: Friday, 25 March 2022 19:44:18.397
Resolve: GMT: Friday, 25 March 2022 22:08:27.396
I had no idea this was possible.
I believe the transaction was a payment to a wallet within Magnetron and I've had all sorts of issues with them. The penultimate hop was:
https://amboss.space/node/038f8f113c580048d847d6949371726653e02b928196bad310e3eda39ff61723f6
And the last hop is a private node.
So my final question remains, what are all the possible results I have to code against when paying an invoice?
Beta Was this translation helpful? Give feedback.
All reactions