diff --git a/BTCPayServer/Views/UIInvoice/Checkout.cshtml b/BTCPayServer/Views/UIInvoice/Checkout.cshtml index b6fa2b749..d1db54958 100644 --- a/BTCPayServer/Views/UIInvoice/Checkout.cshtml +++ b/BTCPayServer/Views/UIInvoice/Checkout.cshtml @@ -3,7 +3,6 @@ @inject LanguageService LangService @inject BTCPayServerEnvironment Env @inject IEnumerable UiExtensions -@inject PaymentMethodHandlerDictionary PaymentMethodHandlerDictionary @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model CheckoutModel @{ @@ -12,7 +11,6 @@ ViewData["StoreBranding"] = Model.StoreBranding; Csp.UnsafeEval(); var hasPaymentPlugins = UiExtensions.Any(extension => extension.Location == "checkout-payment-method"); - var checkoutLink = Url.Action("Checkout", new { invoiceId = Model.InvoiceId }); } @functions { private string ToJsValue(object value) @@ -93,16 +91,15 @@
- + @await Component.InvokeAsync("UiExtensionPoint", new { location = "checkout-payment-method", model = Model })
- @await Component.InvokeAsync("UiExtensionPoint", new { location = "checkout-payment-method", model = Model })