Skip to content

Commit cbca89e

Browse files
authored
Merge pull request #1488 from ndeet/shopifyv2-fixes
Shopify clarifications, outdated image, troubleshooting
2 parents f7f9734 + b59e9d2 commit cbca89e

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

docs/ShopifyV2.md

+20-5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Our integration with Shopify allows you to connect your self-hosted BTCPay Serve
1919
- **Multilingual ready**: Serve a global audience right out of the box.
2020
- **Community-driven support**: Get responsive assistance from our dedicated community ([Mattermost](http://chat.btcpayserver.org/) or [Telegram](https://t.me/btcpayserver)).
2121

22+
:::warning
23+
This is more simplified of the previous Shopify V2 documentation (available from 30th December 2024 until 23rd February 2025) that required you to deploy the shopify app on a separate VPS. Now the app is deployed directly on your BTCPay Server and the BTCPay Shopify plugin has been changed. Everybody should switch to this setup as it is the only one we will maintain in the future.
24+
:::
2225

2326
## Prerequisites:
2427

@@ -71,6 +74,9 @@ sudo su -
7174
cd $BTCPAY_BASE_DIRECTORY
7275
cd btcpayserver-docker
7376

77+
# make sure you have latest btcpayserver-docker commits
78+
git pull
79+
7480
# add the shopify fragment to your BTCPay Server
7581
export BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-shopify"
7682

@@ -93,6 +99,8 @@ We can now proceed with installing the BTCPay Server Shopify plugin.
9399
2. After that, scroll to the top and click on the "Restart now" link to restart BTCPay.
94100
![plugin_install-restart.png](./img/shopifyv2/plugin_install-restart.png)
95101

102+
BTCPay Server will restart which can take a few minutes.
103+
96104
### Configure BTCPay Server Shopify plugin
97105
1. Make sure your store is selected at the top, then on the left sidebar click on `Shopify v2`
98106
2. In the first of 3 sections you will need to enter the `Client ID`, `Client Secret` from [Shopify app setup](#set-up-a-shopify-app) above. Click on "Save"
@@ -110,7 +118,7 @@ We can now proceed with installing the BTCPay Server Shopify plugin.
110118

111119
Now it's time to install your Shopify app to the Shopify store (which will link your store to your BTCPay Server).
112120

113-
1. On your partner account app overview, select the app you just created, click on `Choose distribution` and select `Custom distribution`. Confirm the selection.
121+
1. On your [partner account](https://partners.shopify.com/) app overview, select the app you just created, click on `Choose distribution` and select `Custom distribution`. Confirm the selection.
114122
:::tip
115123
Please note that selecting custom distribution means that you can only use the app one Shopify store. This is irreversible. You can deploy multiple apps though if you have more than one store.
116124
:::
@@ -120,13 +128,13 @@ Now it's time to install your Shopify app to the Shopify store (which will link
120128
2. On the next screen enter the Shopify store URL that you want to link the application to. This is typically the internal store url you see on configuring the store, e.g. your-store.myshopify.com.
121129
Make sure to uncheck "Allow multi-store install for one Plus organization"
122130
![App install: enter your store url](./img/shopifyv2/app-deploy_distribution-generate-link.png)
123-
3. Click on `Generate link` and you will see a link generated.
131+
3. Click on `Generate link` and you will see a link generated. Copy that link and put it into your browser to start the installation.
124132
![App install: link generated](./img/shopifyv2/app-deploy_distribution-generated-link-copy.png)
125-
4. You will see your app listed and you can now install it by clicking on `Install`.
133+
4. You will see your app listed and you can now install it by clicking on `Install`. (If you are not logged in you need to log in first)
126134
![app-deploy_distribution-install-to-store-confirm.png](./img/shopifyv2/app-deploy_distribution-install-to-store-confirm.png)
127135
5. Once installed, you will see the app page with the message "Shopify plugin successfully configured"
128136
![app-deploy_install-successful.png](./img/shopifyv2/app-deploy_install-successful.png)
129-
6. You can click on the link to double-check that the app is properly connected to your BTCPay Server. (The last section has now also a green checkmark)
137+
6. (Optional) You can click on the link at the bottom line "You can navigate to your plugin's settings page by clicking here." to double-check that the app is properly connected to your BTCPay Server. (The last section has now also a green checkmark)
130138
![app-deploy_plugin-all-green.png](./img/shopifyv2/app-deploy_plugin-all-green.png)
131139

132140
## Customize the "Thank you" page
@@ -141,7 +149,7 @@ Now it's time to install your Shopify app to the Shopify store (which will link
141149
![App Setup: Step 9](./img/shopifyv2/app-setup_step-6.png)
142150
4. Click on the (+) sign on the listed "BTCPay Checkout" app and then on the "Thank you" page listed.
143151
![App Setup: Step 10](./img/shopifyv2/app-setup_step-7.png)
144-
5. You will now see the extension got added to your "Thank you" page. Click `save` in the top right corner.
152+
5. You will now see the extension got added to your "Thank you" page. **Important**: Click "Save" in the top right corner.
145153
![App Setup: Step 11](./img/shopifyv2/app-setup_step-8.png)
146154
6. To double-check all is working, click on the left arrow `<` next to "BTCPay Checkout" and verify it is listed in the "Order details section".
147155
![App Setup: Step 12.1](./img/shopifyv2/app-setup_step-9-1.png)
@@ -239,6 +247,13 @@ cd btcpayserver-docker
239247

240248
Congratulations, you have now updated the BTCPay Shopify app.
241249

250+
### I can't create a new app in the Shopify partner portal
251+
Check if you profile on the top right says "null null". This means you did not enter your first and last name in the profile. You need to fill out those fields and it should work.
252+
1. Click on your profile on the top right
253+
2. Select "Your profile"
254+
3. Enter "First name" and "Last name"
255+
4. Return to shopify partners and it should work now
256+
242257
## Support and community
243258

244259
Feel free to join our support channel over at [Mattermost](https://chat.btcpayserver.org/) or [Telegram](https://t.me/btcpayserver) if you need help or have any further questions.
Loading
Loading

0 commit comments

Comments
 (0)