Use internal tags, not order id in the streamer to know if the incoming invoice is for the payment request

This commit is contained in:
nicolas.dorier
2019-02-25 16:15:45 +09:00
parent 5bccd07d7d
commit 70f71f64c4
6 changed files with 33 additions and 18 deletions

View File

@@ -296,7 +296,7 @@ namespace BTCPayServer.Controllers
FullNotifications = true,
BuyerEmail = result.Email,
RedirectURL = Request.GetDisplayUrl().Replace("/pay", "", StringComparison.InvariantCulture),
}, store, HttpContext.Request.GetAbsoluteRoot())).Data.Id;
}, store, HttpContext.Request.GetAbsoluteRoot(), new List<string>() { PaymentRequestRepository.GetInternalTag(id) })).Data.Id;
if (redirectToInvoice)
{