Skip to content

Commit

Permalink
Release 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
sbossert committed Nov 27, 2019
1 parent 7abae8c commit 75532e7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@

* Dev - Updated supported plugin versions

= 1.0.8 - November 20, 2019 =

* Dev - Updated to latest SDK and updated plugin versions.

2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/woocommerce-subscription/releases/tag/1.0.7/">
<a href="https://github.com/wallee-payment/woocommerce-subscription/releases/tag/1.0.8/">
Source
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-wallee-subscription-autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
16 changes: 8 additions & 8 deletions woocommerce-wallee-subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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.
Expand Down Expand Up @@ -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');
}

Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 75532e7

Please sign in to comment.