From beb50fa36d97605f0cd118c7d28fea8b8c793cc2 Mon Sep 17 00:00:00 2001 From: Drew Rowan Date: Tue, 24 Sep 2024 10:30:17 +0200 Subject: [PATCH] Release 3.2.1 --- README.md | 4 ++-- changelog.txt | 7 +++++++ docs/en/documentation.html | 2 +- ...s-wc-postfinancecheckout-admin-settings-page.php | 2 +- includes/class-wc-postfinancecheckout-migration.php | 2 +- readme.txt | 13 ++++--------- woocommerce-postfinancecheckout.php | 6 +++--- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 4206f1c..fc621d6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc ## Documentation -* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.0/docs/en/documentation.html) +* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.1/docs/en/documentation.html) ## Support @@ -33,7 +33,7 @@ ____________________________________________________________________________ ## License -Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.2.0/LICENSE) for more information. +Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.2.1/LICENSE) for more information. ## Privacy Policy diff --git a/changelog.txt b/changelog.txt index c668153..5f13ff7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -834,3 +834,10 @@ Tested against: - [Tested Against] Woocommerce 9.3.1 - [Tested Against] PHP SDK 4.5.0 += 3.2.1 - Sept 24 2024 = +- [Bugfix] Fix constant name +- [Tested Against] PHP 8.2 +- [Tested Against] Wordpress 6.6 +- [Tested Against] Woocommerce 9.3.1 +- [Tested Against] PHP SDK 4.5.0 + diff --git a/docs/en/documentation.html b/docs/en/documentation.html index b327ee8..02b88ea 100644 --- a/docs/en/documentation.html +++ b/docs/en/documentation.html @@ -23,7 +23,7 @@

Documentation

  • - + Source
  • diff --git a/includes/admin/class-wc-postfinancecheckout-admin-settings-page.php b/includes/admin/class-wc-postfinancecheckout-admin-settings-page.php index 0d8afd8..b8eca35 100644 --- a/includes/admin/class-wc-postfinancecheckout-admin-settings-page.php +++ b/includes/admin/class-wc-postfinancecheckout-admin-settings-page.php @@ -184,7 +184,7 @@ public function get_settings() { $settings = array( array( 'links' => array( - 'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.0/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ), + 'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.1/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ), 'https://checkout.postfinance.ch/en-ch/user/signup' => esc_html__( 'Sign Up', 'woo-postfinancecheckout' ), ), 'type' => 'postfinancecheckout_links', diff --git a/includes/class-wc-postfinancecheckout-migration.php b/includes/class-wc-postfinancecheckout-migration.php index 6facece..9d22f96 100644 --- a/includes/class-wc-postfinancecheckout-migration.php +++ b/includes/class-wc-postfinancecheckout-migration.php @@ -267,7 +267,7 @@ public static function check_version() { public static function plugin_row_meta( $links, $file ) { if ( WC_POSTFINANCECHECKOUT_PLUGIN_BASENAME === $file ) { $row_meta = array( - 'docs' => '' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '', + 'docs' => '' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '', ); return array_merge( $links, $row_meta ); diff --git a/readme.txt b/readme.txt index 226f5d7..4da4bce 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: postfinancecheckout AG Tags: woocommerce PostFinance Checkout, woocommerce, PostFinance Checkout, payment, e-commerce, webshop, psp, invoice, packing slips, pdf, customer invoice, processing Requires at least: 4.7 Tested up to: 6.6 -Stable tag: 3.2.0 +Stable tag: 3.2.1 License: Apache 2 License URI: http://www.apache.org/licenses/LICENSE-2.0 @@ -23,7 +23,7 @@ To use this extension, a PostFinance Checkout account is required. Sign up on [P == Documentation == -Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.0/docs/en/documentation.html). +Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.2.1/docs/en/documentation.html). == Support == @@ -64,13 +64,8 @@ Enquiries about our terms of use can be made on the [PostFinance Checkout terms == Changelog == -= 3.2.0 - Sept 23 2024 = -- [Feature] Add privacy policy URL -- [Feature] Adhere to WP code standards -- [Feature] Add Support for WC 9.3.x -- [Bugfix] Fix for error when renewing subscriptions -- [Bugfix] Fix for deferred payments status being incorrect -- [Bugfix] Added migrations for 3.2.0 changes += 3.2.1 - Sept 24 2024 = +- [Bugfix] Fix constant name - [Tested Against] PHP 8.2 - [Tested Against] Wordpress 6.6 - [Tested Against] Woocommerce 9.3.1 diff --git a/woocommerce-postfinancecheckout.php b/woocommerce-postfinancecheckout.php index 2d3175b..e732d0c 100644 --- a/woocommerce-postfinancecheckout.php +++ b/woocommerce-postfinancecheckout.php @@ -3,7 +3,7 @@ * Plugin Name: PostFinance Checkout * Plugin URI: https://wordpress.org/plugins/woo-postfinance-checkout * Description: Process WooCommerce payments with PostFinance Checkout. - * Version: 3.2.0 + * Version: 3.2.1 * Author: postfinancecheckout AG * Author URI: https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html * Text Domain: postfinancecheckout @@ -46,7 +46,7 @@ final class WooCommerce_PostFinanceCheckout { * * @var string */ - private $version = '3.2.0'; + private $version = '3.2.1'; /** * The single instance of the class. @@ -425,7 +425,7 @@ public static function migrate_plugin_data_on_activation() { $old_option_prefix . self::POSTFINANCECHECKOUT_CK_INTEGRATION, $old_option_prefix . self::POSTFINANCECHECKOUT_CK_ORDER_REFERENCE, $old_option_prefix . self::POSTFINANCECHECKOUT_CK_ENFORCE_CONSISTENCY, - $old_option_prefix . self::POSTFINANCECHECKOUT_WC_MAXIMUM_VERSION, + $old_option_prefix . self::WC_MAXIMUM_VERSION, ]; // If the old plugin options exist, perform the migration