Save paymentRequestId in Metadata when creating invoice for Payment Request (#2644)

* Save paymentRequestId in Metadata when creating invoice

* Added Payment Request ID + link on invoice detail page

* Added paymentRequestId to the webhook payload

* Removed PaymentRequestId from webhook payload (rolled back previous change)

* Using strongly typed InvoiceMetadata

* Added OrderUrl metadata field to invoice + link

* Added Metadata.OrderUrl to docs

* Made orderUrl visible when no orderId is present
This commit is contained in:
Wouter Samaey
2021-07-14 13:43:13 +02:00
committed by GitHub
parent 73c89ac28d
commit 15be593bbd
6 changed files with 71 additions and 19 deletions

View File

@@ -97,6 +97,13 @@ namespace BTCPayServer.Models.InvoicingModels
get;
set;
}
public string PaymentRequestLink
{
get;
set;
}
public string NotificationUrl
{
get;