From 1c9304ec105dbafcf7b9d8808c321251700a5040 Mon Sep 17 00:00:00 2001 From: Drew Rowan Date: Tue, 27 Jun 2023 10:46:37 +0200 Subject: [PATCH] Release 1.0.47 --- Application/Model/Transaction.php | 2 ++ README.md | 6 +++--- docs/README.md | 6 +++--- docs/en/documentation.html | 4 ++-- metadata.php | 10 ++++++++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Application/Model/Transaction.php b/Application/Model/Transaction.php index f109754..0659b4c 100644 --- a/Application/Model/Transaction.php +++ b/Application/Model/Transaction.php @@ -175,6 +175,8 @@ public static function loadPendingFromSession(\OxidEsales\Eshop\Core\Session $se $transaction = oxNew(\Pfc\PostFinanceCheckout\Application\Model\Transaction::class); /* @var $transaction \Pfc\PostFinanceCheckout\Application\Model\Transaction */ $transaction->create(); + } else { + $transaction->updateFromSession(); } return $transaction; } diff --git a/README.md b/README.md index 2f190f5..6a44d24 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # OXID 6.X -v1.0.46, 2023-4 +v1.0.47, 2023-6 This repository contains the OXID PostFinance Checkout payment module that enables the shop to process payments with [PostFinance Checkout](https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html). @@ -33,8 +33,8 @@ Support queries can be issued on the [PostFinance Checkout support site](https:/ ## Documentation -* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/oxid-6.0/1.0.46/docs/en/documentation.html) +* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/oxid-6.0/1.0.47/docs/en/documentation.html) ## License -Please see the [license file](https://github.com/pfpayments/oxid-6.0/blob/1.0.46/LICENSE) for more information. \ No newline at end of file +Please see the [license file](https://github.com/pfpayments/oxid-6.0/blob/1.0.47/LICENSE) for more information. \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 2f190f5..6a44d24 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,7 +2,7 @@ # OXID 6.X -v1.0.46, 2023-4 +v1.0.47, 2023-6 This repository contains the OXID PostFinance Checkout payment module that enables the shop to process payments with [PostFinance Checkout](https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html). @@ -33,8 +33,8 @@ Support queries can be issued on the [PostFinance Checkout support site](https:/ ## Documentation -* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/oxid-6.0/1.0.46/docs/en/documentation.html) +* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/oxid-6.0/1.0.47/docs/en/documentation.html) ## License -Please see the [license file](https://github.com/pfpayments/oxid-6.0/blob/1.0.46/LICENSE) for more information. \ No newline at end of file +Please see the [license file](https://github.com/pfpayments/oxid-6.0/blob/1.0.47/LICENSE) for more information. \ No newline at end of file diff --git a/docs/en/documentation.html b/docs/en/documentation.html index 67ea82e..4e8d9a0 100644 --- a/docs/en/documentation.html +++ b/docs/en/documentation.html @@ -22,7 +22,7 @@

Documentation

  • - + Source
  • @@ -49,7 +49,7 @@

    1. -

      Download the extension.

      +

      Download the extension.

    2. Extract the files and upload them to the root directory of your store using FTP/SSH.

      diff --git a/metadata.php b/metadata.php index c0aec76..0b1d806 100644 --- a/metadata.php +++ b/metadata.php @@ -29,7 +29,7 @@ 'en' => 'PFC PostFinanceCheckout Module' ), 'thumbnail' => 'out/pictures/picture.png', - 'version' => '1.0.46', + 'version' => '1.0.47', 'author' => 'customweb GmbH', 'url' => 'https://www.customweb.com', 'email' => 'info@customweb.com', @@ -148,7 +148,13 @@ 'name' => 'pfcPostFinanceCheckoutSpaceViewId', 'type' => 'str', 'value' => '' - ) + ), + array( + 'group' => 'pfcPostFinanceCheckoutShopSettings', + 'name' => 'pfcPostFinanceCheckoutMigration', + 'type' => 'num', + 'value' => 0, + ) ), 'events' => array( 'onActivate' => Pfc\PostFinanceCheckout\Core\PostFinanceCheckoutModule::class . '::onActivate',