Skip to content

Commit dc86872

Browse files
Release 1.0.14
1 parent 83f5a4e commit dc86872

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ This repository contains the wallee WooCommerce Subscriptions addon that enables
1515

1616
## License
1717

18-
Please see the [license file](https://github.com/wallee-payment/woocommerce-subscription/blob/1.0.13/LICENSE) for more information.
18+
Please see the [license file](https://github.com/wallee-payment/woocommerce-subscription/blob/1.0.14/LICENSE) for more information.
1919

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ test release
1616

1717
readme updates
1818

19+
Bug fix, if space_view_id is not set, it does not send it to the service portal.
20+
1921
= 1.0.2 - March 19, 2019 =
2022

2123
* Fix - WooCommerce Subscription > 2.5.0

docs/en/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
2222
</a>
2323
</li>
2424
<li>
25-
<a href="https://github.com/wallee-payment/woocommerce-subscription/releases/tag/1.0.13/">
25+
<a href="https://github.com/wallee-payment/woocommerce-subscription/releases/tag/1.0.14/">
2626
Source
2727
</a>
2828
</li>

includes/service/class-wc-wallee-subscription-service-transaction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ public function create_transaction_by_renewal_order(WC_Order $order, $order_tota
2020
$space_id = get_option(WooCommerce_Wallee::CK_SPACE_ID);
2121
$create_transaction = new \Wallee\Sdk\Model\TransactionCreate();
2222
$create_transaction->setCustomersPresence(\Wallee\Sdk\Model\CustomersPresence::VIRTUAL_PRESENT);
23-
$create_transaction->setSpaceViewId(get_option(WooCommerce_Wallee::CK_SPACE_VIEW_ID));
23+
$space_view_id = get_option(WooCommerce_Wallee::CK_SPACE_VIEW_ID);
24+
if (is_numeric($space_view_id)) {
25+
$create_transaction->setSpaceViewId($space_view_id);
26+
}
2427
$create_transaction->setToken($token_id);
2528
$this->assemble_order_transaction_data($order, $create_transaction);
2629
$this->set_modified_order_line_items($order, $order_total, $create_transaction);

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: customwebgmbh
33
Tags: woocommerce wallee, woocommerce, wallee, payment, e-commerce, webshop, psp, subscription, recurring payment, processing
44
Requires at least: 4.7
55
Tested up to: 5.7.2
6-
Stable tag: 1.0.13
6+
Stable tag: 1.0.14
77
License: Apache 2
88
License URI: http://www.apache.org/licenses/LICENSE-2.0
99

@@ -49,4 +49,4 @@ Therefore, it is necessary that you install the this plugin as well.
4949

5050
== Changelog ==
5151

52-
readme updates
52+
Bug fix, if space_view_id is not set, it does not send it to the service portal.

woocommerce-wallee-subscription.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WooCommerce wallee Subscription
44
* Plugin URI: https://wordpress.org/plugins/woo-wallee-subscription
55
* Description: Addon to processs WooCommerce Subscriptions with wallee
6-
* Version: 1.0.13
6+
* Version: 1.0.14
77
* License: Apache2
88
* License URI: http://www.apache.org/licenses/LICENSE-2.0
99
* Author: customweb GmbH
@@ -36,7 +36,7 @@ final class WooCommerce_Wallee_Subscription
3636
*
3737
* @var string
3838
*/
39-
private $version = '1.0.13';
39+
private $version = '1.0.14';
4040

4141
/**
4242
* The single instance of the class.

0 commit comments

Comments
 (0)