Plugin Directory

Changeset 3440793


Ignore:
Timestamp:
01/16/2026 07:11:59 AM (3 months ago)
Author:
payhere
Message:

Bug fixes and security enhancements.

Location:
payhere-payment-gateway-beta
Files:
70 added
3 edited

Legend:

Unmodified
Added
Removed
  • payhere-payment-gateway-beta/trunk/gateway/class-wcgatewaypayhere.php

    r3343482 r3440793  
    843843            if (('completed' !== $order->get_status() && !$is_subscription) || ($is_subscription)) {
    844844
    845                 if (!$verified && floatval($payhere_amount) === floatval($order_amount) && $payhere_currency === $order_currncy) {
     845                if (!$verified || floatval($payhere_amount) === floatval($order_amount) || $payhere_currency === $order_currncy) {
    846846                    $this->msg['class']   = 'error';
    847847                    $this->msg['message'] = 'Security Error. Illegal access detected.';
  • payhere-payment-gateway-beta/trunk/payhere-payment-gateway-beta.php

    r3343482 r3440793  
    77 * Plugin Name:       PayHere Payment Gateway - Beta
    88 * Description:       This is a beta version of the PayHere Payment Gateway and is recommended for use in a development environment.
    9  * Version:           2.5.1
     9 * Version:           2.5.2
    1010 * Author:            PayHere (Private) Limited
    1111 * Author URI:        https://www.payhere.lk
     
    2727 * Start at version 2.0.0 and use SemVer - https://semver.org
    2828 */
    29 define('PAYHERE_VERSION', '2.5.1');
     29define('PAYHERE_VERSION', '2.5.2');
    3030/**
    3131 * Currently plugin text domain.
  • payhere-payment-gateway-beta/trunk/readme.txt

    r3343482 r3440793  
    66Tested up to: 6.7.2
    77WC tested up to: 9.6.0
    8 Stable tag: 2.5.1
     8Stable tag: 2.5.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4444= 2.5.1 =
    4545Bug Fixes
     46
     47= 2.5.2 =
     48Bug fixes and security enhancements.
    4649
    4750== Frequently Asked Questions ==
Note: See TracChangeset for help on using the changeset viewer.