Skip to content

Commit

Permalink
Merge pull request #248 from pay-now/release/2.5.5
Browse files Browse the repository at this point in the history
Release/2.5.5
  • Loading branch information
DeveloperMovecloser authored Jun 27, 2024
2 parents bc39a2f + cfe63b7 commit 2ac713f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
== Changelog ==
= 2.5.5 (2024-06-27) =

- Fix BLIK code validation
- Fix compatibility with Active Payments

= 2.5.4 (2024-03-11) =

- Update SDK to 2.3.1, change of Calculate Buyer ID
Expand Down
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.5.4",
"version": "2.5.5",
"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.4
Requires PHP: 7.1
Stable tag: 2.5.4
Stable tag: 2.5.5
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 @@ -99,7 +99,7 @@ public function woocommerce_dependencies() {
'WC_Gateway_Pay_By_Paynow_PL_Digital_Wallets_Payment',
);

if ( ! is_admin() ) {
if ( ! is_admin() || is_admin() && isset( $_GET['page'] ) && 'wc-settings' !== $_GET['page'] ) {
$payment_gateways = array_merge(
$payment_gateways,
array(
Expand Down
2 changes: 1 addition & 1 deletion src/includes/templates/blik_payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<?php echo __( 'Enter the BLIK code:', 'pay-by-paynow-pl' ); ?>
</label>
<div class="col-md-4">
<input autocomplete="off" inputmode="numeric" pattern="[0-9]{3} [0-9]{3}" minlength="6" maxlength="7"
<input autocomplete="off" inputmode="numeric" pattern="[0-9]{3} [0-9]{3}" minlength="6" maxlength="6"
id="paynow_blik_code" name="authorizationCode" type="text" value="" class="required form-control"
placeholder="___ ___">
</div>
Expand Down
2 changes: 1 addition & 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.5.4
* Version: 2.5.5
* Requires PHP: 7.1
* Author: mElements S.A.
* Author URI: https://www.paynow.pl
Expand Down

0 comments on commit 2ac713f

Please sign in to comment.