# Prestashop integration
This document explains how to integrate BTCPay Server into your PrestaShop store. If you do not have a store yet, follow this step by step article (opens new window) to create one from scratch.
To integrate BTCPay Server into an existing PrestaShop store, follow the steps below.
# 0. Server Requirements
Please ensure that you meet the following requirements before installing this plugin.
- You are using PHP 7.3 or higher
- Your PrestaShop is version 184.108.40.206 or higher.
- The curl, gd, intl, json, and mbstring PHP extensions are available
- You have a BTCPay Server, either self-hosted or hosted by a third-party
- You've a registered account on the instance
- You've a BTCPay store on the instance
- You've a wallet connected to your store
# 1. Install BTCPay Plugin
- Download the latest BTCPay plugin (opens new window)
- PrestaShop > Modules > Module Manager > Upload a module
- Upload the
.zip-file you just downloaded
- Click on
configureto setup the module
# 2. Pairing the store
BTCPay PrestaShop plugin is a bridge between your server (payment processor) and your e-commerce store. No matter if you're using a self-hosted or third-party solution from step 2, the pairing process is identical.
- In the
BTCPay server url-field, enter the full URL of your host (including the https) – https://btcpay.mydomain.com
- Select the default transaction speed (this will change how much BTCPay recommends as transaction fee)
- Select the relevant order mode for your store (order is created before or after payment)
- Go to your BTCPay server, select a store, open its settings and select "Access Tokens".
- Click on "Create a new token", select your store and then approve. 5.1. You will see: "Server initiated pairing code: XXXX".
- Enter your pairing code.
- Press save. Prestashop will now attempt to make a connection with your BTCPayServer.
- A message will be shown if the connection was successful.
- It's recommended to do a test purchase.
# 3. Contribute
BTCPay is built and maintained entirely by volunteer contributors around the internet. We welcome and appreciate new contributions.
Contributors looking to help out, before opening a pull request, please create an issue (opens new window) or join our community chat (opens new window) to get early feedback, discuss best ways to tackle the problem and to ensure there is no work duplication.
# PrestaShop Support
PrestaShop support can be found through its official channels.