mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Use the choiceKey of PoS item as ItemCode
This commit is contained in:
parent
eff983135c
commit
c40fc69087
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ namespace BTCPayServer.Controllers
|
|||
store.AdditionalClaims.Add(new Claim(Policies.CanCreateInvoice.Key, store.Id));
|
||||
var invoice = await _InvoiceController.CreateInvoiceCore(new NBitpayClient.Invoice()
|
||||
{
|
||||
ItemCode = choiceKey ?? string.Empty,
|
||||
ItemDesc = title,
|
||||
Currency = settings.Currency,
|
||||
Price = price,
|
||||
|
|
Loading…
Add table
Reference in a new issue