fix pos item topups lnurl (#5172)

fixes #5170
This commit is contained in:
Andrew Camilleri
2023-07-17 13:08:41 +02:00
committed by GitHub
parent 3703a170e7
commit a7def63137

View File

@@ -296,7 +296,8 @@ namespace BTCPayServer
var createInvoice = new CreateInvoiceRequest() var createInvoice = new CreateInvoiceRequest()
{ {
Amount = item?.Price.Value, Amount = item?.PriceType == ViewPointOfSaleViewModel.ItemPriceType.Topup? null: item?.Price,
Currency = currencyCode, Currency = currencyCode,
Checkout = new InvoiceDataBase.CheckoutOptions() Checkout = new InvoiceDataBase.CheckoutOptions()
{ {