mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
fix payment request redirect url (#617)
This commit is contained in:
committed by
Nicolas Dorier
parent
3728fdab3f
commit
13d72de82d
@@ -295,7 +295,7 @@ namespace BTCPayServer.Controllers
|
||||
Price = amount.GetValueOrDefault(result.AmountDue),
|
||||
FullNotifications = true,
|
||||
BuyerEmail = result.Email,
|
||||
RedirectURL = Request.GetDisplayUrl().Replace("/pay", "", StringComparison.InvariantCulture),
|
||||
RedirectURL = Request.GetDisplayUrl().TrimEnd("/pay", StringComparison.InvariantCulture),
|
||||
}, store, HttpContext.Request.GetAbsoluteRoot(), new List<string>() { PaymentRequestRepository.GetInternalTag(id) })).Data.Id;
|
||||
|
||||
if (redirectToInvoice)
|
||||
|
||||
Reference in New Issue
Block a user