Skip to content

Commit

Permalink
Merge pull request #85 from wasakredit/develop
Browse files Browse the repository at this point in the history
Version 2.5.2
  • Loading branch information
mntzrr committed Jul 13, 2023
2 parents 09d949c + 0f1506e commit 7d13ae4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.txt
Expand Up @@ -7,7 +7,7 @@ Tested up to: 6.0
Requires PHP: 7.2
WC requires at least: 5.0.0
WC tested up to: 7.2.0
Stable tag: 2.5.1
Stable tag: 2.5.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -55,6 +55,9 @@ In the settings for Wasa's checkout, there are two new settings with the heading
2. In the text field below, enter the path to the default checkout. For example, in my checkout, it is the "checkout". If it is not the same for you, you can easily get it by activating the standard checkout and copying the uri. Dy activates it at Settings> Advanced> Page Settings> Checkout Page> "Checkout".

== Changelog ==
= 2023-07-12 - version 2.5.2 =
* Fix - Removed an action that references an undefined method which would cause a fatal error.

= 2023-06-28 - version 2.5.1 =
* Tweak - The checkout page has been modified to replace the order receipt with the payment form.

Expand Down
3 changes: 0 additions & 3 deletions includes/class-wasa-kredit-checkout-payment-gateway.php
Expand Up @@ -29,9 +29,6 @@ public function __construct() {
$this->enabled = $this->settings['enabled'];
}

// Hook onto the receipt page to display the payment form.
add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receipt_page' ) );

// Hooks.
add_action(
'woocommerce_update_options_payment_gateways_' . $this->id,
Expand Down
4 changes: 2 additions & 2 deletions wasa-kredit-checkout.php
Expand Up @@ -20,7 +20,7 @@
* Plugin URI: https://github.com/wasakredit/woocommerse-plugin
* Description: Wasa Kredit Checkout offers financing as a payment method for B2B.
* Author: Wasa Kredit
* Version: 2.5.1
* Version: 2.5.2
* Author URI: https://developer.wasakredit.se
* License: GPL-2.0+
Expand All @@ -42,7 +42,7 @@
* Rename this for your plugin and update it as you release new versions.
*/

define( 'WASA_KREDIT_CHECKOUT_VERSION', '2.5.1' );
define( 'WASA_KREDIT_CHECKOUT_VERSION', '2.5.2' );
define( 'WASA_KREDIT_CHECKOUT_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'WASA_KREDIT_CHECKOUT_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );

Expand Down

0 comments on commit 7d13ae4

Please sign in to comment.