Add redirectURL to create invoice on Greenfield

This commit is contained in:
nicolas.dorier
2020-12-09 23:20:13 +09:00
parent febf8ac5b3
commit e65d42bd61
3 changed files with 12 additions and 2 deletions

View File

@@ -181,6 +181,7 @@ namespace BTCPayServer.Controllers
excludeFilter = PaymentFilter.Where(p => !supportedTransactionCurrencies.Contains(p));
}
entity.PaymentTolerance = invoice.Checkout.PaymentTolerance ?? storeBlob.PaymentTolerance;
entity.RedirectURLTemplate = invoice.Checkout.RedirectURL?.Trim();
if (additionalTags != null)
entity.InternalTags.AddRange(additionalTags);
return await CreateInvoiceCoreRaw(entity, store, excludeFilter, cancellationToken);