-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Payment incorrectly marked as "settled" in csv after payjoin error #4936
Comments
@Kukks could you take a look? |
Hi, @Liongrass Please note that the last column, Accounted, is false for that row. That means it is not a payment that is counted toward settling the invoice. |
How do I read the csv correctly? What does it mean when |
You can take all rows where accounted is true. In your case, someone initiated a payjoin and we recorded it internally, but they did not finish. |
So this is intended behavior? To see how many sats I received I must not sum up the field "Paid", but rather I have to cross-validate if "Accounted" is also set to true? Highly counter-intuitive at the very least and will make accounting for me more complicated in the future. Paid should mean Paid! If I turn off coinjoin, are there any other known instances where a payment shows up as "Paid" that is in fact unpaid? Because I'd rather turn off coinjoin than teach everyone who processes payments through my BTCPay to make the correct IF statements in LibreOffice. |
Turning off payoin does not remove this check requirement. A transaction
that gets sent to pay the invoice but then gets double spent also creates
the same record.
You should check invoices for a settled/complete status not paid, as l
Paid means payment detected but not final
…On Fri, May 5, 2023, 8:29 PM Leonhard Weese ***@***.***> wrote:
So this is intended behavior? To see how many sats I received I must not
sum up the field "Paid", but rather I have to cross-validate if "Accounted"
is also set to true? Highly counter-intuitive at the very least and will
make accounting for me more complicated in the future. Paid should mean
Paid!
If I turn off coinjoin, are there any other known instances where a
payment shows up as "Paid" that is in fact unpaid? Because I'd rather turn
off coinjoin than teach everyone who processes payments through my BTCPay
to make the correct IF statements in LibreOffice.
—
Reply to this email directly, view it on GitHub
<#4936 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN357UVUJROX3GL4OLZXA3XEVBHTANCNFSM6AAAAAAXPVYMIM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Ah thanks. Will turn off on-chain payments too. |
Lol what? This is not the way and definitely not what im advising |
This comment has been minimized.
This comment has been minimized.
@Liongrass the CSV export in the invoice list is actually the export of payments. (except if the invoice is expired) |
What is your BTCPay version?
BTCPay Server v1.9.2+6193835ea
How did you deploy BTCPay Server?
Lunanode installer
What happened?
I'm using BTCPayServer to process on-chain and off-chain payments. I have payjoin enabled. A customer tried to make a payjoin payment but it failed (the payment was never made), yet in the csv the payment shows up as paid, although the invoice is marked as expired. The relevant line in the csv can be found below.
How did you encounter this bug?
Relevant log output
The lifecycle of this invoice:
The text was updated successfully, but these errors were encountered: