Skip to content

Commit 2ac713f

Browse files
Merge pull request #248 from pay-now/release/2.5.5
Release/2.5.5
2 parents bc39a2f + cfe63b7 commit 2ac713f

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
== Changelog ==
2+
= 2.5.5 (2024-06-27) =
3+
4+
- Fix BLIK code validation
5+
- Fix compatibility with Active Payments
6+
27
= 2.5.4 (2024-03-11) =
38

49
- Update SDK to 2.3.1, change of Calculate Buyer ID

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pay-now/paynow-woocommerce",
33
"description": "paynow.pl plugin for WooCommerce",
44
"license": "GPLv3",
5-
"version": "2.5.4",
5+
"version": "2.5.5",
66
"authors": [
77
{
88
"name": "mElements S.A.",

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Tags: payment, payment gateway, paynow, woocommerce, płatności, payments, bramka płatności
33
Tested up to: 6.4
44
Requires PHP: 7.1
5-
Stable tag: 2.5.4
5+
Stable tag: 2.5.5
66
License: GPLv3
77

88
**pay**now is a secure online payment by bank transfers, BLIK and card.

src/includes/class-wc-pay-by-paynow-pl-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function woocommerce_dependencies() {
9999
'WC_Gateway_Pay_By_Paynow_PL_Digital_Wallets_Payment',
100100
);
101101

102-
if ( ! is_admin() ) {
102+
if ( ! is_admin() || is_admin() && isset( $_GET['page'] ) && 'wc-settings' !== $_GET['page'] ) {
103103
$payment_gateways = array_merge(
104104
$payment_gateways,
105105
array(

src/includes/templates/blik_payment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<?php echo __( 'Enter the BLIK code:', 'pay-by-paynow-pl' ); ?>
55
</label>
66
<div class="col-md-4">
7-
<input autocomplete="off" inputmode="numeric" pattern="[0-9]{3} [0-9]{3}" minlength="6" maxlength="7"
7+
<input autocomplete="off" inputmode="numeric" pattern="[0-9]{3} [0-9]{3}" minlength="6" maxlength="6"
88
id="paynow_blik_code" name="authorizationCode" type="text" value="" class="required form-control"
99
placeholder="___ ___">
1010
</div>

src/pay-by-paynow-pl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Pay by paynow.pl
44
* Plugin URI: https://github.com/pay-now/paynow-woocommerce
55
* Description: Accepts secure BLIK, credit cards payments and fast online transfers by paynow.pl
6-
* Version: 2.5.4
6+
* Version: 2.5.5
77
* Requires PHP: 7.1
88
* Author: mElements S.A.
99
* Author URI: https://www.paynow.pl

0 commit comments

Comments
 (0)