From 75532e7258ff4bd7b5bf7810081632c4e70bf1be Mon Sep 17 00:00:00 2001 From: Sebastian Bossert Date: Wed, 27 Nov 2019 15:22:51 +0100 Subject: [PATCH] Release 1.0.8 --- README.md | 2 +- changelog.txt | 4 ++++ docs/en/documentation.html | 2 +- .../class-wc-wallee-subscription-autoloader.php | 2 +- readme.txt | 6 +++--- woocommerce-wallee-subscription.php | 16 ++++++++-------- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 84833a5..0a35d44 100644 --- a/README.md +++ b/README.md @@ -15,5 +15,5 @@ This repository contains the wallee WooCommerce Subscriptions addon that enables ## License -Please see the [license file](https://github.com/wallee-payment/woocommerce-subscription/blob/1.0.7/LICENSE) for more information. +Please see the [license file](https://github.com/wallee-payment/woocommerce-subscription/blob/1.0.8/LICENSE) for more information. diff --git a/changelog.txt b/changelog.txt index 07e6585..5575242 100644 --- a/changelog.txt +++ b/changelog.txt @@ -30,3 +30,7 @@ * Dev - Updated supported plugin versions += 1.0.8 - November 20, 2019 = + +* Dev - Updated to latest SDK and updated plugin versions. + diff --git a/docs/en/documentation.html b/docs/en/documentation.html index e4e65b7..b6afe1a 100644 --- a/docs/en/documentation.html +++ b/docs/en/documentation.html @@ -21,7 +21,7 @@

Documentation

  • - + Source
  • diff --git a/includes/class-wc-wallee-subscription-autoloader.php b/includes/class-wc-wallee-subscription-autoloader.php index 6e9c493..7cc5cce 100644 --- a/includes/class-wc-wallee-subscription-autoloader.php +++ b/includes/class-wc-wallee-subscription-autoloader.php @@ -11,7 +11,7 @@ * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) */ /** - * This is the autoloader for WhitelabelName Subscription classes. + * This is the autoloader for wallee Subscription classes. */ class WC_Wallee_Subscription_Autoloader { diff --git a/readme.txt b/readme.txt index c22ab37..ee70d23 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: customwebgmbh Tags: woocommerce wallee, woocommerce, wallee, payment, e-commerce, webshop, psp, subscription, recurring payment, processing Requires at least: 4.7 Tested up to: 5.2.4 -Stable tag: 1.0.7 +Stable tag: 1.0.8 License: Apache 2 License URI: http://www.apache.org/licenses/LICENSE-2.0 @@ -49,6 +49,6 @@ Therefore, it is necessary that you install the this plugin as well. == Changelog == -= 1.0.7 - October 29, 2019 = += 1.0.8 - November 20, 2019 = -* Dev - Updated supported plugin versions +* Dev - Updated to latest SDK and updated plugin versions. diff --git a/woocommerce-wallee-subscription.php b/woocommerce-wallee-subscription.php index 42ddde9..7753d33 100644 --- a/woocommerce-wallee-subscription.php +++ b/woocommerce-wallee-subscription.php @@ -3,15 +3,15 @@ * Plugin Name: WooCommerce wallee Subscription * Plugin URI: https://wordpress.org/plugins/woo-wallee-subscription * Description: Addon to processs WooCommerce Subscriptions with wallee - * Version: 1.0.7 + * Version: 1.0.8 * License: Apache2 * License URI: http://www.apache.org/licenses/LICENSE-2.0 * Author: customweb GmbH * Author URI: https://www.customweb.com * Requires at least: 4.7 - * Tested up to: 5.2.4 + * Tested up to: 5.3.0 * WC requires at least: 3.0.0 - * WC tested up to: 3.7.1 + * WC tested up to: 3.8.0 * * Text Domain: woo-wallee-subscription * Domain Path: /languages/ @@ -36,7 +36,7 @@ final class WooCommerce_Wallee_Subscription * * @var string */ - private $version = '1.0.7'; + private $version = '1.0.8'; /** * The single instance of the class. @@ -134,7 +134,7 @@ protected function define_constants() $this->define('WC_WALLEE_SUBSCRIPTION_ABSPATH', dirname(__FILE__) . '/'); $this->define('WC_WALLEE_SUBSCRIPTION_PLUGIN_BASENAME', plugin_basename(__FILE__)); $this->define('WC_WALLEE_SUBSCRIPTION_VERSION', $this->version); - $this->define('WC_WALLEE_SUBSCRIPTION_REQUIRED_WALLEE_VERSION', '1.2.4'); + $this->define('WC_WALLEE_SUBSCRIPTION_REQUIRED_WALLEE_VERSION', '1.2.12'); $this->define('WC_WALLEE_REQUIRED_WC_SUBSCRIPTION_VERSION', '2.5'); } @@ -382,7 +382,7 @@ public function add_valid_order_statuses_for_subscription_completion($statuses, public function update_transaction_from_session(\Wallee\Sdk\Model\AbstractTransactionPending $transaction) { if(WC_Subscriptions_Cart::cart_contains_subscription() || wcs_cart_contains_failed_renewal_order_payment()){ - $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationnMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); + $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); } return $transaction; } @@ -414,10 +414,10 @@ public function modify_order_total_method_change($total, $order){ public function update_transaction_from_order(\Wallee\Sdk\Model\AbstractTransactionPending $transaction, $order) { if(wcs_order_contains_subscription($order, array( 'parent', 'resubscribe', 'switch', 'renewal'))){ - $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationnMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); + $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); } if(WC_Subscriptions_Change_Payment_Gateway::$is_request_to_change_payment){ - $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationnMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); + $transaction->setTokenizationMode(\Wallee\Sdk\Model\TokenizationMode::FORCE_CREATION_WITH_ONE_CLICK_PAYMENT); } return $transaction; }