Add ability to add description to pull payment (#3363)

* Add ability to add description to pull payment

close #2625

* Add API support

* Remove 'Model.Description != "<br>"'
This commit is contained in:
Umar Bolatov
2022-02-09 21:54:00 -08:00
committed by GitHub
parent da9a6b835a
commit f06199230c
14 changed files with 66 additions and 11 deletions

View File

@@ -133,6 +133,7 @@ namespace BTCPayServer.Controllers.Greenfield
Period = request.Period,
BOLT11Expiration = request.BOLT11Expiration,
Name = request.Name,
Description = request.Description,
Amount = request.Amount,
Currency = request.Currency,
StoreId = storeId,
@@ -152,6 +153,7 @@ namespace BTCPayServer.Controllers.Greenfield
ExpiresAt = pp.EndDate,
Amount = ppBlob.Limit,
Name = ppBlob.Name,
Description = ppBlob.Description,
Currency = ppBlob.Currency,
Period = ppBlob.Period,
Archived = pp.Archived,