Skip to content

Commit

Permalink
Merge pull request #232 from pay-now/release/2.4.32
Browse files Browse the repository at this point in the history
Release/2.4.32
  • Loading branch information
DeveloperMovecloser authored Nov 24, 2023
2 parents f1d53dd + d0fe1cf commit 6eb18ee
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pay-now/paynow-woocommerce",
"description": "paynow.pl plugin for WooCommerce",
"license": "GPLv3",
"version": "2.4.31",
"version": "2.4.32",
"authors": [
{
"name": "mElements S.A.",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tags: payment, payment gateway, paynow, woocommerce, płatności, payments, bramka płatności
Tested up to: 6.2
Requires PHP: 7.1
Stable tag: 2.4.31
Stable tag: 2.4.32
License: GPLv3

**pay**now is a secure online payment by bank transfers, BLIK and card.
Expand Down
2 changes: 1 addition & 1 deletion src/includes/class-wc-pay-by-paynow-pl-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function enqueue_admin_scripts() {
public function declare_hpos_compatibility() {

if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', WC_PAY_BY_PAYNOW_PL_PLUGIN_FILE_PATH, true );
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', WC_PAY_BY_PAYNOW_PL_PLUGIN_FILE, true );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public function __construct() {
$this->method_description = __( 'Accept Apple Pay payments with paynow.pl', 'pay-by-paynow-pl' );
$this->payment_method_id = 2004;
parent::__construct();

$this->enabled = 'yes';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public function __construct() {
$this->method_description = __( 'Accept Google Pay payments with paynow.pl', 'pay-by-paynow-pl' );
$this->payment_method_id = 2003;
parent::__construct();

$this->enabled = 'yes';
}

/**
Expand Down
3 changes: 2 additions & 1 deletion src/pay-by-paynow-pl.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Pay by paynow.pl
* Plugin URI: https://github.com/pay-now/paynow-woocommerce
* Description: Accepts secure BLIK, credit cards payments and fast online transfers by paynow.pl
* Version: 2.4.31
* Version: 2.4.32
* Requires PHP: 7.1
* Author: mElements S.A.
* Author URI: https://www.paynow.pl
Expand Down Expand Up @@ -33,6 +33,7 @@ function wc_pay_by_paynow_pl_php_version_notice() {
return;
}

define( 'WC_PAY_BY_PAYNOW_PL_PLUGIN_FILE', __FILE__ );
define( 'WC_PAY_BY_PAYNOW_PL_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) );
define( 'WC_PAY_BY_PAYNOW_PL_PLUGIN_ASSETS_PATH', plugin_dir_url( __FILE__ ) . 'assets/' );
define( 'WC_PAY_BY_PAYNOW_PL_PLUGIN_TEMPLATES_PATH', 'includes/templates/' );
Expand Down

0 comments on commit 6eb18ee

Please sign in to comment.