@using BTCPayServer.Views.Stores @using BTCPayServer.Abstractions.Extensions @model BTCPayServer.Plugins.Shopify.Models.ShopifySettings @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData["NavPartialName"] = "../Stores/_Nav"; ViewData.SetActivePageAndTitle(StoreNavPages.Integrations, "Integrations"); var shopifyCredsSet = Model?.IntegratedAt.HasValue is true; var shopifyUrl = Model?.ShopifyUrl; }

Shopify

@if (!shopifyCredsSet) {

Create a Shopify Private App with the permissions "Orders - Read and write"

} else {
@if (!Model?.ShopName?.Contains(".") is true) { https:// } @if (!Model?.ShopName?.Contains(".") is true) { .myshopify.com }

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()

}