Checkout v2: Improve expired paid partial state (#4827)

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
This commit is contained in:
d11n
2023-05-11 10:38:40 +02:00
committed by GitHub
parent 37f0498def
commit 25fb5c1293
16 changed files with 100 additions and 19 deletions

View File

@@ -154,6 +154,7 @@ namespace BTCPayServer.Controllers
entity.Type = InvoiceType.TopUp;
}
entity.StoreSupportUrl = storeBlob.StoreSupportUrl;
entity.RedirectURLTemplate = invoice.RedirectURL ?? store.StoreWebsite;
entity.RedirectAutomatically =
invoice.RedirectAutomatically.GetValueOrDefault(storeBlob.RedirectAutomatically);