@using System.Text.RegularExpressions @model StoreViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Index, Model.StoreName); } @if (!ViewContext.ModelState.IsValid) {
}

Wallet On-chain payments

@if (Model.HintWallet) {

A store requires a wallet to receive on-chain payments. Optionally, you can have a store that only receives Lightning payments, see the next section for more details.

}
    @foreach (var scheme in Model.DerivationSchemes.OrderBy(scheme => scheme.Collapsed)) {
  • @scheme.Crypto @if (!string.IsNullOrWhiteSpace(scheme.Value)) { | @scheme.Value @if (scheme.Value.Length > 20) { var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$"); @match.Value; } @if (scheme.WalletSupported) { | Wallet } } @if (scheme.Enabled) { Enabled } else { Disabled } | @(scheme.Enabled ? "Modify" : "Setup")
  • }
@if (Model.DerivationSchemes.Any(scheme => scheme.Collapsed)) { }

Lightning Off-chain payments

@if (Model.HintLightning) {

A connection to a Lightning node is required if you want to receive Lightning payments.

}
    @foreach (var scheme in Model.LightningNodes) {
  • @scheme.CryptoCode @if (!string.IsNullOrWhiteSpace(scheme.Address)) { | @scheme.Address } @if (scheme.Enabled) { Enabled } else { Disabled } | @(scheme.Enabled ? "Modify" : "Setup")
  • }

General

Payment

minutes
minutes
percent

Available placeholders: {StoreName} {ItemDescription} {OrderId}

Additional payment methods

@foreach (var scheme in Model.ThirdPartyPaymentMethods) { }
Provider Enabled Actions
@scheme.Provider @if (scheme.Enabled) { } else { } @(scheme.Enabled ? "Modify" : "Setup")

Services

Service Actions
Email Setup
@if (Model.CanDelete) {

Other actions

}
@section Scripts { @await Html.PartialAsync("_ValidationScriptsPartial") }