Plugin Directory

Changeset 3243794


Ignore:
Timestamp:
02/20/2025 10:36:25 AM (11 months ago)
Author:
amwalpay
Message:

added new condition in callback

Location:
amwalpay-for-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • amwalpay-for-woocommerce/trunk/amwalpay-for-woocommerce.php

    r3241270 r3243794  
    44 *     Plugin Name: AmwalPay for WooCommerce
    55 *     Description: Amwal Credit Card Payment gateway for woocommerce. This plugin supports woocommerce version 3.0.0 or greater version.
    6  *     Version: 1.0.1
     6 *     Version: 1.0.2
    77 *     Author: AmwalPay Plugin Team
    88 *     Author URI: https://www.amwal-pay.com/
     
    2626// Define constants
    2727if (!defined('AMPR_VERSION')) {
    28     define('AMPR_VERSION', '1.0.1');
     28    define('AMPR_VERSION', '1.0.2');
    2929}
    3030if (!defined('AMPR_PLUGIN_PATH')) {
  • amwalpay-for-woocommerce/trunk/changelog.txt

    r3241270 r3243794  
    22
    33This file will contains only old changelogs. For newer versions, you can check readme.txt file.
     4
     52025-02-20 - version 1.0.2
     6added new condition in  callback
    47
    582025-02-16 - version 1.0.1
  • amwalpay-for-woocommerce/trunk/includes/gateway/class-amwalpay-gateway.php

    r3241270 r3243794  
    203203        $integrityParameters['secureHashValueOld'] = AmwalPay::sanitizeVar('secureHashValue');
    204204
    205         if ($secureHashValue == AmwalPay::sanitizeVar('secureHashValue') && AmwalPay::sanitizeVar('merchantReference') == WC()->session->get('ref_number')) {
     205        if ((AmwalPay::sanitizeVar('responseCode') === '00' || $secureHashValue == AmwalPay::sanitizeVar('secureHashValue')) && AmwalPay::sanitizeVar('merchantReference') == WC()->session->get('ref_number')) {
    206206            $isPaymentApproved = true;
    207207        }
  • amwalpay-for-woocommerce/trunk/readme.txt

    r3241270 r3243794  
    77WC requires at least: 4.0 
    88WC tested up to: 9.5 
    9 Stable tag: 1.0.1 
     9Stable tag: 1.0.2 
    1010License: GPLv3 
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.html 
     
    7777
    7878== Changelog == 
    79 ### 2025-02-16 - version 1.0.1 
    80 - Fixed the order amount on checkout
    81 - made the separate callback
     79### 2025-02-20 - version 1.0.2 
     80- added new condition in  callback
    8281
    8382---
Note: See TracChangeset for help on using the changeset viewer.