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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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