mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
tag pos invoices too
This commit is contained in:
@@ -263,12 +263,15 @@ namespace BTCPayServer.Controllers
|
|||||||
Price = price,
|
Price = price,
|
||||||
BuyerEmail = email,
|
BuyerEmail = email,
|
||||||
OrderId = orderId,
|
OrderId = orderId,
|
||||||
NotificationURL = string.IsNullOrEmpty(notificationUrl)? settings.NotificationUrl: notificationUrl,
|
NotificationURL =
|
||||||
|
string.IsNullOrEmpty(notificationUrl) ? settings.NotificationUrl : notificationUrl,
|
||||||
NotificationEmail = settings.NotificationEmail,
|
NotificationEmail = settings.NotificationEmail,
|
||||||
RedirectURL = redirectUrl ?? Request.GetDisplayUrl(),
|
RedirectURL = redirectUrl ?? Request.GetDisplayUrl(),
|
||||||
FullNotifications = true,
|
FullNotifications = true,
|
||||||
PosData = string.IsNullOrEmpty(posData) ? null : posData
|
PosData = string.IsNullOrEmpty(posData) ? null : posData
|
||||||
}, store, HttpContext.Request.GetAbsoluteRoot(), cancellationToken: cancellationToken);
|
}, store, HttpContext.Request.GetAbsoluteRoot(),
|
||||||
|
new List<string>() {AppService.GetAppInternalTag(appId)},
|
||||||
|
cancellationToken);
|
||||||
return RedirectToAction(nameof(InvoiceController.Checkout), "Invoice", new { invoiceId = invoice.Data.Id });
|
return RedirectToAction(nameof(InvoiceController.Checkout), "Invoice", new { invoiceId = invoice.Data.Id });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user