diff --git a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml
index 3b1482f2c..3e66a894a 100644
--- a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml
+++ b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml
@@ -13,7 +13,7 @@
@@ -78,6 +78,12 @@
},
isSats () {
return this.cryptoCode === 'sats';
+ },
+ amount () {
+ const amount = this.isSats && this.amountRemaining < 1
+ ? this.amountRemaining * 100000000
+ : this.amountRemaining;
+ return amount < 0 ? 0 : amount;
}
},
methods: {