Adding Reference Number to Payment Requests

This commit is contained in:
rockstardev
2025-03-28 22:55:13 -05:00
committed by nicolas.dorier
parent 92e7c7a5f9
commit d2debaa842
5 changed files with 26 additions and 7 deletions

View File

@@ -206,6 +206,7 @@ namespace BTCPayServer.Controllers
data.Amount = viewModel.Amount;
data.Currency = viewModel.Currency ?? store.GetStoreBlob().DefaultCurrency;
data.Expiry = viewModel.ExpiryDate?.ToUniversalTime();
blob.ReferenceNumber = viewModel.ReferenceNumber;
blob.AllowCustomPaymentAmounts = viewModel.AllowCustomPaymentAmounts;
blob.FormId = viewModel.FormId;