Skip to content

Commit

Permalink
Release 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoEigenmannCW committed Jul 17, 2019
1 parent 13b9d75 commit d41b284
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 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.5/LICENSE) for more information.
Please see the [license file](https://github.com/wallee-payment/woocommerce-subscription/blob/1.0.6/LICENSE) for more information.

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

* Dev - Added filters to modify transaction

= 1.0.6 - July 17, 2019 =

* Tweak - Removed unused meta data

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.5/">
<a href="https://github.com/wallee-payment/woocommerce-subscription/releases/tag/1.0.6/">
Source
</a>
</li>
Expand Down
5 changes: 2 additions & 3 deletions includes/class-wc-wallee-subscription-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,15 @@ public function process_scheduled_subscription_payment($amount_to_charge, WC_Ord
return;
}
$transaction_service->update_transaction_by_renewal_order($order, $amount_to_charge, $token_id, $existing_transaction);
$transaction = $transaction_service->process_transaction_without_user_interaction($existing_transaction->getLinkedSpaceId(), $existing_transaction->getId());
$transaction_service->process_transaction_without_user_interaction($existing_transaction->getLinkedSpaceId(), $existing_transaction->getId());
}
else{
$create_transaction = $transaction_service->create_transaction_by_renewal_order($order, $amount_to_charge, $token_id);
$transaction_service->update_transaction_info($create_transaction, $order);
$transaction = $transaction_service->process_transaction_without_user_interaction($token_space_id, $create_transaction->getId());
$transaction_service->process_transaction_without_user_interaction($token_space_id, $create_transaction->getId());
}

$order->add_meta_data('_wallee_gateway_id', $this->gateway->id, true);
$order->add_meta_data('_wallee_linked_ids', array('sapce_id' => $transaction->getLinkedSpaceId(), 'transaction_id' => $transaction->getId()), false);
$order->delete_meta_data('_wc_wallee_restocked');
}
catch(Exception $e){
Expand Down
8 changes: 4 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
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.1
Stable tag: 1.0.5
Tested up to: 5.2.2
Stable tag: 1.0.6
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.5 - June 05, 2019 =
= 1.0.6 - July 17, 2019 =

* Dev - Added filters to modify transaction
* Tweak - Removed unused meta data
8 changes: 4 additions & 4 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.5
* Version: 1.0.6
* 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.1
* Tested up to: 5.2.2
* WC requires at least: 3.0.0
* WC tested up to: 3.6.4
* WC tested up to: 3.6.5
*
* 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.5';
private $version = '1.0.6';

/**
* The single instance of the class.
Expand Down

0 comments on commit d41b284

Please sign in to comment.