# BTCPay Server and Shopify Integration

The following document guides you through setting up BTCPay Server with Shopify (opens new window).

# Prerequisites:

# Setting up BTCPay Server with Shopify

  1. In your Shopify, go to Apps > Manage Private apps (at the bottom of the page) and Create a private app. If private apps are disabled, enable private apps development.
  2. Fill in required details (name and email) and click on the Show inactive Admin API permissions
  3. Give Read and write permission tp Orders and Save
Shopify Setup 1
Shopify Setup 2
Shopify Setup 3
Shopify Setup 4
  1. Copy the Example URL from the Admin API section.
  2. In your BTCPay Server go to Store > Settings > Integrations
  3. Paste the Example URL from Shopify and click Connect to Shopify
Shopify Setup 5
Shopify Setup 5a
  1. On the BTCPay Server Integration page, copy the script shown in the yellow box. Go back to Shopify Settings > Checkout > Order processing > Additional Scripts and paste the script (including the opening and closing tag </script> ).
Shopify Setup 6
Shopify Setup 7
Shopify Setup 8
  1. Finally, in Shopify Settings > Payment Providers > Manual Payment Methods add a Custom payment methods named Bitcoin with BTCPay Server and Activate it.
Shopify Setup 9
Shopify Setup 10

TIP

Custom Payment method name must contain at least one of the following words: bitcoin, btcpayserver, btcpay server or btc to work.