Allow POS to redirect invoices automatically after paid

closes #730
This commit is contained in:
Kukks
2019-04-11 11:08:42 +02:00
parent c79751829b
commit 1cf17872ab
10 changed files with 39 additions and 3 deletions

View File

@@ -125,6 +125,8 @@ namespace BTCPayServer.Controllers
if (!Uri.IsWellFormedUriString(entity.RedirectURL, UriKind.Absolute))
entity.RedirectURL = null;
entity.RedirectAutomatically = invoice.RedirectAutomatically;
entity.Status = InvoiceStatus.New;
entity.SpeedPolicy = ParseSpeedPolicy(invoice.TransactionSpeed, store.SpeedPolicy);