@model IntegrationsViewModel @{ var shopify = Model.Shopify; var shopifyCredsSet = shopify?.IntegratedAt.HasValue is true; }

Shopify

@if (!shopifyCredsSet) {

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

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

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

<script src='https://btcpay151676.lndyn.com/stores/4mWitQRd4pdw4SRai6xRZnZB3Y4LbR953duK1kK58Hgh/integrations/shopify/shopify.js'></script>
} else {

Checkout scripts should be automatically added to the order status page to display the BTCPay payment option.

}

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

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

}