Skip to content
This repository was archived by the owner on Jan 11, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (26 loc) · 1.27 KB

File metadata and controls

33 lines (26 loc) · 1.27 KB

Using the BTCPay plugin for Prestashop

Prerequisites

You must have a BTCPay merchant account to use this plugin. If you want to test in test mode, just paste an other btcpayserver url with testing port.

Making a release

Server Requirements

  • PrestaShop 1.7
  • PHP 5+
  • Curl PHP Extension
  • JSON PHP Extension
  • Install PHP bcmath module
  • be sure your BTCPay server is whitelisted by Prestashop server
  • be sure your Prestashop server is whitelisted by BTCPay server

Plugin Configuration

For Prestashop versions 1.7:

  1. Download the latest release from https://github.com/btcpayserver/prestashop-plugin/releases
  2. Go to your PrestaShop administration. Under "Modules and services" select "Upload a module" (v1.7)
  3. Go to your "installed modules" -> "BTCPay" and click [Configure]
  4. Go on your BTCPay server, in your store and display access tokens.
  5. Click on "Create a new token API", select your store and then approve
  6. You will see: "Server initiated pairing code: XXXX". Go back to prestashop and enter your pairing code.
  7. Validate.
  8. Test a payment.