Add checkoutLink and defaultLanguage to GreenField invoice

This commit is contained in:
nicolas.dorier
2020-12-10 23:34:50 +09:00
parent 6cf29123f3
commit 798cf66e3f
11 changed files with 137 additions and 17 deletions

View File

@@ -172,6 +172,7 @@ namespace BTCPayServer.Controllers
entity.Currency = invoice.Currency;
entity.Price = invoice.Amount;
entity.SpeedPolicy = invoice.Checkout.SpeedPolicy ?? store.SpeedPolicy;
entity.DefaultLanguage = invoice.Checkout.DefaultLanguage;
IPaymentFilter excludeFilter = null;
if (invoice.Checkout.PaymentMethods != null)
{