mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Use the choiceKey of PoS item as ItemCode
This commit is contained in:
@@ -97,6 +97,7 @@ namespace BTCPayServer.Controllers
|
|||||||
store.AdditionalClaims.Add(new Claim(Policies.CanCreateInvoice.Key, store.Id));
|
store.AdditionalClaims.Add(new Claim(Policies.CanCreateInvoice.Key, store.Id));
|
||||||
var invoice = await _InvoiceController.CreateInvoiceCore(new NBitpayClient.Invoice()
|
var invoice = await _InvoiceController.CreateInvoiceCore(new NBitpayClient.Invoice()
|
||||||
{
|
{
|
||||||
|
ItemCode = choiceKey ?? string.Empty,
|
||||||
ItemDesc = title,
|
ItemDesc = title,
|
||||||
Currency = settings.Currency,
|
Currency = settings.Currency,
|
||||||
Price = price,
|
Price = price,
|
||||||
|
|||||||
Reference in New Issue
Block a user