mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Add redirect url to the invoice page
This commit is contained in:
@@ -55,6 +55,7 @@ namespace BTCPayServer.Controllers
|
|||||||
BuyerInformation = invoice.BuyerInformation,
|
BuyerInformation = invoice.BuyerInformation,
|
||||||
Fiat = FormatCurrency((decimal)dto.Price, dto.Currency),
|
Fiat = FormatCurrency((decimal)dto.Price, dto.Currency),
|
||||||
NotificationUrl = invoice.NotificationURL,
|
NotificationUrl = invoice.NotificationURL,
|
||||||
|
RedirectUrl = invoice.RedirectURL,
|
||||||
ProductInformation = invoice.ProductInformation,
|
ProductInformation = invoice.ProductInformation,
|
||||||
StatusException = invoice.ExceptionStatus
|
StatusException = invoice.ExceptionStatus
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -112,6 +112,8 @@ namespace BTCPayServer.Models.InvoicingModels
|
|||||||
get;
|
get;
|
||||||
internal set;
|
internal set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string RedirectUrl { get; set; }
|
||||||
public string Fiat
|
public string Fiat
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
|
|||||||
@@ -77,6 +77,10 @@
|
|||||||
<th>Notification Url</th>
|
<th>Notification Url</th>
|
||||||
<td>@Model.NotificationUrl</td>
|
<td>@Model.NotificationUrl</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Redirect Url</th>
|
||||||
|
<td>@Model.RedirectUrl</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user