@using BTCPayServer.Payments @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.TagHelpers @using BTCPayServer.Abstractions.Contracts @inject IFileService FileService @model CheckoutAppearanceViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePage(StoreNavPages.CheckoutAppearance, "Checkout experience", Context.GetStoreData().Id); var canUpload = await FileService.IsAvailable(); } @section PageFootContent { }
@if (!ViewContext.ModelState.IsValid) {
}

Invoice Settings

@if (Model.PaymentMethods.Any()) {
Enable payment methods only when amount is …
@for (var index = 0; index < Model.PaymentMethodCriteria.Count; index++) { var criteria = Model.PaymentMethodCriteria[index]; }
@PaymentMethodId.Parse(criteria.PaymentMethod).ToPrettyString()
}

Checkout

minutes
@if (!string.IsNullOrEmpty(Model.SoundFileId)) { }
@if (canUpload) {
@{ var soundUrl = string.IsNullOrEmpty(Model.SoundFileId) ? string.Concat(Context.Request.GetAbsoluteRootUri().ToString(), "checkout-v2/payment.mp3") : await FileService.GetFileUrl(Context.Request.GetAbsoluteRootUri(), Model.SoundFileId); }
} else {
In order to upload a custom sound, a file storage must be configured.
}
Bundled Themes: Default | Dark | Legacy
@await Component.InvokeAsync("UiExtensionPoint", new {location = "invoice-checkout-theme-options", model = Model})
Detects the language of the customer's browser.

Public receipt