@using BTCPayServer.Views.Stores @using BTCPayServer.Abstractions.Extensions @model BTCPayServer.Plugins.Shopify.Models.ShopifySettings @{ ViewData.SetActivePage("shopify", nameof(StoreNavPages), "Shopify", Context.GetStoreData().Id); var shopifyCredsSet = Model?.IntegratedAt.HasValue is true; var shopifyUrl = Model?.ShopifyUrl; }

@ViewData["Title"]

Connect BTCPay Server to your Shopify checkout experience to accept Bitcoin.

@if (!ViewContext.ModelState.IsValid) {
}
@if (!Model?.ShopName?.Contains(".") is true) { https:// } @if (!shopifyCredsSet || !Model?.ShopName?.Contains(".") is true) { .myshopify.com }
@if (shopifyCredsSet) {

In Shopify please paste following script at Settings > Checkout > Order Processing > Additional Scripts

@($"")

In Shopify please add a payment method at Settings > Payments > Manual Payment Methods with the name Bitcoin with BTCPay Server

Orders on @Model.ShopName.myshopify.com will be marked as paid on successful invoice payment. Started: @Model.IntegratedAt.Value.ToBrowserDate()

} else { }