Skip to content

Commit

Permalink
Release 6.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Sep 16, 2024
1 parent dc98c4c commit 2a748d2
Show file tree
Hide file tree
Showing 61 changed files with 769 additions and 422 deletions.
27 changes: 20 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
# 5.0.13
# 6.1.8
- Implemented key signing
- Tax rate adjustment when products have different tax rates

# 5.0.12
# 6.1.7
- Fixed messaging which showed that shipping and billing address were always the same

# 5.0.11
- Fixed plugin upgrade dependency error
# 6.1.6
- Bumped sdk version

# 5.0.10
# 6.1.5
- Support for Shopware 6.6.3.1 and Vue 3

# 6.1.4
- Improved plugin's settings form
- Support for Shopware 6.6.2.0

# 6.1.3
- Solvency check support for Powerpay and MF Group Invoice payment methods
- Improved handling of abandoned transactions

# 5.0.9
# 6.1.2
- Fixed redirect to confirmation page after reload

# 5.0.8
# 6.1.1
- Fixed deprecated OrderNotFoundException

# 6.1.0
- Fixed checkout issues after deactivating/activating plugin
- Fixed plugin uninstall action
- Fixed invoice payment method email function when order is shipped

# 6.0.0
- Support for Shopware 6.6

# 5.0.7
- Fix for refunds when a discount code is used

Expand Down
29 changes: 21 additions & 8 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
# 5.0.13
# 6.1.8
- Schlüsselsignatur implementiert
- Steuersatzanpassung, wenn Produkte unterschiedliche Steuersätze haben

# 5.0.12
- Meldung behoben, dass Liefer- und Rechnungsadresse immer identisch waren
# 6.1.7
- Meldung behoben, die anzeigte, dass Versand- und Rechnungsadresse immer identisch waren

# 5.0.11
- Plugin-Upgrade-Abhängigkeitsfehler behoben
# 6.1.6
- Versionserhöhung für das SDK

# 5.0.10
# 6.1.5
- Unterstützung von Shopware 6.6.3.1 und Vue 3

# 6.1.4
- Das Einstellungsformular des Plugins wurde verbessert
- Unterstützung von Shopware 6.6.2.0

# 6.1.3
- Unterstützung der Bonitätsprüfung für die Zahlungsmethoden Powerpay und MF Group Invoice
- Verbesserte Handhabung abgebrochener Transaktionen

# 5.0.9
# 6.1.2
- Die Weiterleitung zur Bestätigungsseite nach dem Neuladen wurde behoben

# 5.0.8
# 6.1.1
- Fixed deprecated OrderNotFoundException

# 6.1.0
- Checkout-Probleme nach dem Deaktivieren/Aktivieren des Plugins behoben
- Plugin-Deinstallationsaktion behoben
- Die E-Mail-Funktion für die Rechnungszahlungsmethode beim Versand der Bestellung wurde korrigiert

# 6.0.0
- Unterstützung von Shopware 6.6

# 5.0.7
- Fix für Rückerstattungen, wenn ein Rabattcode verwendet wird

Expand Down
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,22 @@
PostFinanceCheckout Payment for Shopware 6
=============================

The PostFinanceCheckout Payment plugin wraps around the PostFinanceCheckout API. This library facilitates your interaction with various services such as transactions. Please not this plugin is for version 6.5.
For the 6.4 plugin please visit https://github.com/pfpayments/shopware-6-4
The PostFinanceCheckout Payment plugin wraps around the PostFinanceCheckout API. This library facilitates your interaction with various services such as transactions.
Please note that this plugin is for versions 6.5 and 6.6. For the 6.4 plugin please visit [our Shopware 6.4 plugin](https://github.com/pfpayments/shopware-6-4).

## Requirements

- PHP 7.4 - 8.2
- Shopware 6.5.x
- Shopware 6.5.x or Shopware 6.6.x. See table below.
- PHP minimum version supported by the each shop version.

## Supported versions

___________________________________________________________________________________
| Shopware 6 version | Plugin major version | Supported until |
|-------------------------------|------------------------|------------------------|
| Shopware 6.6.x | 6.x | Further notice |
| Shopware 6.5.x | 5.x | October 2024 |
-----------------------------------------------------------------------------------

## Installation

Expand Down Expand Up @@ -44,7 +53,7 @@ Uncompress the zip file you download, and include the autoloader in your project

```bash
# unzip to ShopwareInstallDir/custom/plugins/PostFinanceCheckoutPayment
composer require postfinancecheckout/sdk 4.5.0
composer require postfinancecheckout/sdk 4.6.0
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache PostFinanceCheckoutPayment
```
Expand All @@ -62,8 +71,8 @@ tail -f var/log/postfinancecheckout_payment*.log

## Documentation

[Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/shopware-6/5.0.13/docs/en/documentation.html)
[Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/shopware-6/6.1.8/docs/en/documentation.html)

## License

Please see the [license file](https://github.com/pfpayments/shopware-6/blob/master/LICENSE.txt) for more information.
Please see the [license file](https://github.com/pfpayments/shopware-6/blob/master/LICENSE.txt) for more information.
47 changes: 47 additions & 0 deletions bin/release.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php declare(strict_types=1);

require_once __DIR__ . '/../../../../vendor/autoload.php';

use Monolog\Formatter\LineFormatter;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;

const COMPOSER_JSON_DEST = __DIR__ . '/../composer.json';
const SYS_TMP_DIR = __DIR__ . '/../';
const TMP_DIR = __DIR__ . '/../';
const SHOPWARE_VERSIONS = '6.6.*';

// Type of release you are making
const RELEASE_GIT_ENV = 'GIT';
const RELEASE_SW_ENV = 'SW';

$release_env = ($argv[1] == RELEASE_SW_ENV) ? RELEASE_SW_ENV : RELEASE_GIT_ENV;

$formatter = new LineFormatter(null, null, false, true);
$logger = (new Logger('release'))
->pushHandler((new StreamHandler('php://stdout'))->setFormatter($formatter));

$composerJsonData = json_decode(file_get_contents(COMPOSER_JSON_DEST), true);
$composerJsonData['require']['shopware/core'] = SHOPWARE_VERSIONS;
$composerJsonData['require']['shopware/storefront'] = SHOPWARE_VERSIONS;

switch ($release_env) {
case RELEASE_GIT_ENV:
exec('composer require postfinancecheckout/sdk 4.6.0 -d /var/www/html');
$composerJsonData['require']['postfinancecheckout/sdk'] = '4.6.0';
break;
case RELEASE_SW_ENV:
exec('composer require postfinancecheckout/sdk 4.6.0 -d /var/www/html/custom/plugins/PostFinanceCheckoutPayment');
break;
}

$composerJsonData['version'] = '6.1.8';

$logger->info('Adding shopware/core and shopware/storefront to the composer.json.');
file_put_contents(
TMP_DIR . '/composer.json',
json_encode($composerJsonData, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
);
chdir(TMP_DIR);
exec('rm -fr composer.lock');
exec('rm -fr bin');
126 changes: 61 additions & 65 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,62 @@
{
"authors": [
{
"homepage": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"name": "PostFinance Checkout"
}
],
"autoload": {
"psr-4": {
"PostFinanceCheckoutPayment\\": "src/"
}
},
"conflict": {
"shopware/administration": "<6.5.0.0,>=7",
"shopware/storefront": "<6.5.0.0,>=7"
},
"description": "PostFinanceCheckout integration for Shopware 6",
"extra": {
"copyright": "(c) by PostFinance Checkout",
"description": {
"de-DE": "PostFinanceCheckout integration f\u00fcr Shopware 6",
"en-GB": "PostFinanceCheckout integration for Shopware 6",
"fr-FR": "Int\u00e9gration de PostFinanceCheckout pour Shopware 6",
"it-IT": "Integrazione PostFinanceCheckout per Shopware"
},
"label": {
"de-DE": "PostFinanceCheckout Produkte f\u00fcr Shopware 6",
"en-GB": "PostFinanceCheckout Products for Shopware 6",
"fr-FR": "PostFinanceCheckout Produits for Shopware 6",
"it-IT": "PostFinanceCheckout Prodotti per Shopware 6"
},
"manufacturerLink": {
"de-DE": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"en-GB": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"fr-FR": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"it-IT": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html"
},
"supportLink": {
"de-DE": "https://www.postfinance.ch/en/business/support.html",
"en-GB": "https://www.postfinance.ch/en/business/support.html",
"fr-FR": "https://www.postfinance.ch/en/business/support.html",
"it-IT": "https://www.postfinance.ch/en/business/support.html"
},
"shopware-plugin-class": "PostFinanceCheckoutPayment\\PostFinanceCheckoutPayment"
},
"homepage": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html/",
"keywords": [
"PostFinance Checkout",
"payment",
"php",
"shopware"
],
"license": "Apache-2.0",
"name": "postfinancecheckout/shopware-6",
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"php": ">=7.4",
"shopware/core": "6.5.*",
"shopware/storefront": "6.5.*",
"postfinancecheckout/sdk": "4.5.0"
},
"type": "shopware-platform-plugin",
"version": "5.0.13"
}
"authors": [
{
"homepage": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"name": "PostFinance Checkout"
}
],
"autoload": {
"psr-4": {
"PostFinanceCheckoutPayment\\": "src/"
}
},
"conflict": {
"shopware/administration": "<6.6.0.0,>=7",
"shopware/storefront": "<6.6.0.0,>=7"
},
"description": "PostFinanceCheckout integration for Shopware 6",
"extra": {
"copyright": "(c) by PostFinance Checkout",
"description": {
"de-DE": "PostFinanceCheckout integration für Shopware 6",
"en-GB": "PostFinanceCheckout integration for Shopware 6",
"fr-FR": "Intégration de PostFinanceCheckout pour Shopware 6",
"it-IT": "Integrazione PostFinanceCheckout per Shopware"
},
"label": {
"de-DE": "PostFinanceCheckout Produkte für Shopware 6",
"en-GB": "PostFinanceCheckout Products for Shopware 6",
"fr-FR": "PostFinanceCheckout Produits for Shopware 6",
"it-IT": "PostFinanceCheckout Prodotti per Shopware 6"
},
"manufacturerLink": {
"de-DE": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"en-GB": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"fr-FR": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html",
"it-IT": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html"
},
"supportLink": {
"de-DE": "https://www.postfinance.ch/en/business/support.html",
"en-GB": "https://www.postfinance.ch/en/business/support.html",
"fr-FR": "https://www.postfinance.ch/en/business/support.html",
"it-IT": "https://www.postfinance.ch/en/business/support.html"
},
"shopware-plugin-class": "PostFinanceCheckoutPayment\\PostFinanceCheckoutPayment"
},
"homepage": "https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html/",
"keywords": [
"PostFinance Checkout",
"payment",
"php",
"shopware"
],
"license": "Apache-2.0",
"name": "postfinancecheckout/shopware-6",
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"php": ">=8.2"
},
"type": "shopware-platform-plugin"
}
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/pfpayments/shopware-6/releases/tag/5.0.13/">
<a href="https://github.com/pfpayments/shopware-6/releases/tag/6.1.8/">
Source
</a>
</li>
Expand Down
Loading

0 comments on commit 2a748d2

Please sign in to comment.