btcpayserver icon indicating copy to clipboard operation
btcpayserver copied to clipboard

[Bug]: Unable to Edit amount when cloning paid Payment Request

Open jacobburrell opened this issue 1 year ago • 1 comments

What is your BTCPay version?

© BTCPay Server v1.7.3.0+09d5f5a08

How did you deploy BTCPay Server?

Docker, Luna node

What happened?

I cannot edit the amount of the cloned payment request as the state that determines the payment request being paid or not is also carried over, despite the fact that this should be a brand new payment request without the value of it being paid or not cloned over.

By default, every new/cloned payment request should be unpaid and thus be able to have it's value set.

Amount and currency are not editable once the payment request has invoices

How did you encounter this bug?

I cloned an already settled invoice with a single payment more than the amount due.

Relevant log output

No response

What browser do you use?

No response

Additional information

This is a regression that seems to have arisen from the fix implemented in the other bug fix I posted that was fixed.

Are you sure this is a bug report?

  • [X] I confirm this is a bug report

jacobburrell avatar Feb 14 '23 17:02 jacobburrell