mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Remove no javascript for checkout
This commit is contained in:
parent
b744fd6167
commit
8dcd7e6966
@ -19,7 +19,6 @@ namespace BTCPayServer.Payments.LNURLPay
|
||||
ExtensionPartial = "Lightning/LightningLikeMethodCheckout",
|
||||
CheckoutBodyVueComponentName = "LightningLikeMethodCheckout",
|
||||
CheckoutHeaderVueComponentName = "LightningLikeMethodCheckoutHeader",
|
||||
NoScriptPartialName = "Lightning/LightningLikeMethodCheckoutNoScript"
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -14,8 +14,7 @@ namespace BTCPayServer.Payments.Lightning
|
||||
{
|
||||
ExtensionPartial = "Lightning/LightningLikeMethodCheckout",
|
||||
CheckoutBodyVueComponentName = "LightningLikeMethodCheckout",
|
||||
CheckoutHeaderVueComponentName = "LightningLikeMethodCheckoutHeader",
|
||||
NoScriptPartialName = "Lightning/LightningLikeMethodCheckoutNoScript"
|
||||
CheckoutHeaderVueComponentName = "LightningLikeMethodCheckoutHeader"
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -108,8 +108,7 @@ namespace BTCPayServer.Services.Altcoins.Zcash.Payments
|
||||
{
|
||||
ExtensionPartial = "Bitcoin/BitcoinLikeMethodCheckout",
|
||||
CheckoutBodyVueComponentName = "BitcoinLikeMethodCheckout",
|
||||
CheckoutHeaderVueComponentName = "BitcoinLikeMethodCheckoutHeader",
|
||||
NoScriptPartialName = "Bitcoin/BitcoinLikeMethodCheckoutNoScript"
|
||||
CheckoutHeaderVueComponentName = "BitcoinLikeMethodCheckoutHeader"
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -17,14 +17,7 @@
|
||||
<h1>Pay with @Model.StoreName</h1>
|
||||
@if (Model.Status == "new")
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Model.UISettings?.NoScriptPartialName))
|
||||
{
|
||||
<partial model="@Model" name="@Model.UISettings.NoScriptPartialName"/>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h1 class="text-danger">This payment method requires javascript.</h1>
|
||||
}
|
||||
<h1 class="text-danger">This payment method requires javascript.</h1>
|
||||
@if (displayedPaymentMethods.Count > 1)
|
||||
{
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user