diff --git a/BTCPayServer/Views/Stores/Integrations.cshtml b/BTCPayServer/Views/Stores/Integrations.cshtml
index 071a9cdf8..3f33c658b 100644
--- a/BTCPayServer/Views/Stores/Integrations.cshtml
+++ b/BTCPayServer/Views/Stores/Integrations.cshtml
@@ -3,6 +3,10 @@
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Integrations, "Integrations");
+
+
+ var shopify = Model.Shopify;
+ var shopifyCredsSet = shopify?.CredentialsValid == true;
}
+ Orders on @shopify.ShopName.myshopify.com will be marked as paid on successful invoice payment. + Started: @shopify.IntegratedAt.Value.ToBrowserDate() +
+ } - @if (Model.Shopify?.CredentialsValid == true) + @if (shopifyCredsSet) { - var shopify = Model.Shopify; -- Orders on @shopify.ShopName.myshopify.com will be marked as paid on successful invoice payment. - Started: @shopify.IntegratedAt.Value.ToBrowserDate() -
- - } + } diff --git a/BTCPayServer/Views/Stores/StoreNavPages.cs b/BTCPayServer/Views/Stores/StoreNavPages.cs index ab8060240..13f1873f8 100644 --- a/BTCPayServer/Views/Stores/StoreNavPages.cs +++ b/BTCPayServer/Views/Stores/StoreNavPages.cs @@ -2,6 +2,6 @@ namespace BTCPayServer.Views.Stores { public enum StoreNavPages { - ActivePage, Index, Rates, Checkout, Tokens, Users, PayButton + ActivePage, Index, Rates, Checkout, Tokens, Users, PayButton, Integrations } }