Skip to content

Commit

Permalink
release: v1.4.4 (#78)
Browse files Browse the repository at this point in the history
* release: v1.4.3

* hotfix: cashback data type backwards compatibility

---------

Co-authored-by: Thrashattack <henrique202@gmail.com>
  • Loading branch information
Thrashattack and Thrashattack authored Dec 17, 2024
1 parent d89a524 commit 8bf30c8
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
== FLIZpay for WooCommerce Changelog ==

2024-17-12 - version 1.4.4
* Hotfix cashback data type backwards compatibility

2024-17-12 - version 1.4.3
* Dynamic cashback value for first purchase and standard options
* Remove the webhook url on uninstall
* Disable new order emails for FLIZpay orders

2024-03-12 - version 1.4.2
* Create order in draft to prevent accountability softwares from picking pending orders

Expand Down
20 changes: 19 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Flizpay
Tags: kostenlos, payments, Zahlung, cashback, no-fee
Requires at least: 4.4
Tested up to: 6.7
Stable tag: 1.4.2
Stable tag: 1.4.4
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.txt
Expand Down Expand Up @@ -134,8 +134,26 @@ Der erste Schritt, um FLIZpay in deinem Checkout zu installieren, ist die Erstel
- CHANGED
- Create order in draft mode to prevent accountability softwares from picking the order in pending

- v1.4.3
- CHANGED
- Dynamic cashback value for first purchase and standard options
- Remove the webhook url on uninstall
- Disable new order emails for FLIZpay orders

- v1.4.4
- HOTFIX
- Cashback data typecheck for backwards compatibility

== Upgrade Notice ==

= v1.4.4 =
* Hotfix for cashback data type backwards compatibility

= v1.4.3 =
* Dynamic cashback value for first purchase and standard options
* Remove the webhook url on uninstall
* Disable new order emails for FLIZpay orders

= v1.4.2 =
* Orders are now created in draft mode to prevent being picked by other softwares while in pending state

Expand Down
4 changes: 2 additions & 2 deletions flizpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: FLIZpay Gateway für WooCommerce
* Plugin URI: https://www.flizpay.de/companies
* Description: FLIZpay: 100% free!
* Version: 1.4.2
* Version: 1.4.4
* Author: FLIZpay
* Author URI: https://www.flizpay.de/companies
* License: GPL-2.0+
Expand All @@ -35,7 +35,7 @@
* Currently plugin version.
* Start at version 1.0.0 and use SemVer - https://semver.org
*/
define('FLIZPAY_VERSION', '1.4.2');
define('FLIZPAY_VERSION', '1.4.4');

function flizpay_check_dependencies()
{
Expand Down
6 changes: 5 additions & 1 deletion includes/class-flizpay-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function flizpay_init_gateway_class()

class WC_Flizpay_Gateway extends WC_Payment_Gateway
{
static $VERSION = "1.4.2";
static $VERSION = "1.4.4";

public $icon;
public $title;
Expand Down Expand Up @@ -371,6 +371,10 @@ public function get_cashback_data()
{
$cashback_data = get_transient('flizpay_cashback_transient');

if (gettype($cashback_data) === "string") {
$cashback_data = false;
}

if ($cashback_data === false && !empty($this->api_key)) {

$client = WC_Flizpay_API::get_instance($this->api_key);
Expand Down
2 changes: 1 addition & 1 deletion includes/class-flizpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function __construct()
if (defined('FLIZPAY_VERSION')) {
$this->version = FLIZPAY_VERSION;
} else {
$this->version = '1.4.2';
$this->version = '1.4.4';
}
$this->plugin_name = 'flizpay';

Expand Down
2 changes: 1 addition & 1 deletion languages/flizpay-for-woocommerce-de_DE.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Project-Id-Version: FlizPay 1.4.2\n"
"Project-Id-Version: FlizPay 1.4.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-30 10:00+0000\n"
"PO-Revision-Date: 2024-07-30 10:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/flizpay-for-woocommerce-en_GB.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Project-Id-Version: FlizPay 1.4.2\n"
"Project-Id-Version: FlizPay 1.4.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-30 10:00+0000\n"
"PO-Revision-Date: 2024-07-30 10:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/flizpay-for-woocommerce-en_US.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Project-Id-Version: FlizPay 1.4.2\n"
"Project-Id-Version: FlizPay 1.4.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-30 10:00+0000\n"
"PO-Revision-Date: 2024-07-30 10:00+0000\n"
Expand Down

0 comments on commit 8bf30c8

Please sign in to comment.