Skip to content

Commit

Permalink
Upgrade to PrestaShop 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinMitchell committed Jan 17, 2023
1 parent 77c18cb commit 44e50dc
Show file tree
Hide file tree
Showing 14 changed files with 921 additions and 831 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php-versions: [ '7.3', '7.4', '8.0', '8.1' ]
php-versions: [ '8.0', '8.1', '8.2' ]
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php-versions: [ '7.3', '7.4', '8.0', '8.1' ]
php-versions: [ '8.0', '8.1', '8.2' ]
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
Expand Down
1 change: 1 addition & 0 deletions .php-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.0
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ This is a Bitcoin payment plugin for PrestaShop using BTCPay server. [BTCPay Ser

Please ensure that you meet the following requirements before installing this plugin.

- You are using PHP 7.3.0 or higher
- Your PrestaShop is version 1.7.8.0 or higher.
- PrestaShop 8.0 support has not yet been added/tested.
- You are using PHP 8.0 or higher
- Your PrestaShop is version 8.0 or higher.
- Your BTCPay Server is version 1.3.0 or higher
- The PDO, curl, gd, intl, json, and mbstring PHP extensions are available
- You have a BTCPay Server, either [self-hosted](https://docs.btcpayserver.org/Deployment/) or [hosted by a third party](https://docs.btcpayserver.org/Deployment/ThirdPartyHosting/)
Expand All @@ -25,8 +24,8 @@ Please ensure that you meet the following requirements before installing this pl
- [You've a wallet connected to your store](https://docs.btcpayserver.org/WalletSetup)

### Tested successfully
- Prestashop version 1.7.8.x up to 1.7.8.7
- BTCPay server version 1.3.4 up to 1.6.12.0
- Prestashop version 8.0 and 8.0.1
- BTCPay server version 1.3.4 up to 1.7.3.0

## Multistore

Expand Down Expand Up @@ -61,7 +60,7 @@ or join [our community chat](https://chat.btcpayserver.org) to get early feedbac

## PrestaShop Support

PrestaShop support can be found through it's official channels.
PrestaShop support can be found through its official channels.

* [Homepage](https://www.prestashop.com)
* [Documentation](https://doc.prestashop.com)
Expand Down
10 changes: 10 additions & 0 deletions UPGRADE-6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Upgrading from 5.0 to 6.0

Prestashop modules come with an auto-upgrade feature which will be used to upgrade your currently running plugin. This documents serves as a reference for what has been changed.

## Requirements

The module requirements have been changed to:
- You are using PHP 8.0 or higher
- Your PrestaShop is version 8.0 or higher.
- Your BTCPay Server is version 1.3.0 or higher
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"source": "https://github.com/btcpayserver/prestashop-plugin"
},
"require": {
"php": ">=7.3.0",
"php": ">=8.0",
"ext-PDO": "*",
"ext-curl": "*",
"ext-dom": "*",
Expand All @@ -34,16 +34,17 @@
"composer/installers": "^v1.9.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^v0.7.2",
"ergebnis/composer-normalize": "^v2.20.0",
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0.0",
"ergebnis/composer-normalize": "^v2.29.0",
"ezyang/htmlpurifier": "dev-master as v4.14.0",
"friendsofphp/php-cs-fixer": "^v3.4",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"prestashop/php-dev-tools": "^v4.2.1",
"prestashop/prestashop": "dev-develop",
"friendsofphp/php-cs-fixer": "^v3.4.0",
"php-parallel-lint/php-console-highlighter": "^v1.0",
"php-parallel-lint/php-parallel-lint": "^v1.3.2",
"phpoffice/phpspreadsheet": "^1.24.1",
"prestashop/php-dev-tools": "^v4.3.0",
"prestashop/prestashop": "8.0.x-dev",
"roave/security-advisories": "dev-latest",
"slevomat/coding-standard": "^v7.2.1",
"slevomat/coding-standard": "^v8.8.0",
"squizlabs/php_codesniffer": "^v3.7.1"
},
"replace": {
Expand Down Expand Up @@ -75,8 +76,8 @@
"prestashop/ps_customersignin": "^v2",
"prestashop/ps_customtext": "^v4",
"prestashop/ps_dataprivacy": "^v2.0",
"prestashop/ps_emailalerts": "^v2.0",
"prestashop/ps_distributionapiclient": "^v1.0.1",
"prestashop/ps_emailalerts": "^v2.0",
"prestashop/ps_emailsubscription": "^v2.7.0",
"prestashop/ps_facetedsearch": "^v3.7.1",
"prestashop/ps_faviconnotificationbo": "^v2",
Expand Down Expand Up @@ -133,7 +134,7 @@
"ergebnis/composer-normalize": true
},
"platform": {
"php": "7.3"
"php": "8.0"
},
"preferred-install": "dist",
"prepend-autoloader": false,
Expand Down
Loading

0 comments on commit 44e50dc

Please sign in to comment.