Add ability to select default payment method for invoice through UI

This commit is contained in:
Umar Bolatov
2021-08-22 21:55:06 -07:00
committed by Andrew Camilleri
parent bb6a188883
commit 809340e629
7 changed files with 33 additions and 5 deletions

View File

@@ -151,6 +151,7 @@ namespace BTCPayServer.Controllers
excludeFilter = PaymentFilter.Where(p => !supportedTransactionCurrencies.Contains(p));
}
entity.PaymentTolerance = storeBlob.PaymentTolerance;
entity.DefaultPaymentMethod = invoice.DefaultPaymentMethod;
return await CreateInvoiceCoreRaw(entity, store, excludeFilter, null, cancellationToken);
}