Plugin Directory

Changeset 3211346


Ignore:
Timestamp:
12/21/2024 03:38:35 AM (16 months ago)
Author:
payhere
Message:

Bug fixes & improvements.

Location:
payhere-payment-gateway
Files:
66 added
4 edited

Legend:

Unmodified
Added
Removed
  • payhere-payment-gateway/trunk/admin/class-payhereadmin.php

    r3209703 r3211346  
    250250     * Include capture modal content
    251251     */
    252     public function payhere_order_auth_capture_content($wc_auth_order) {
     252    public function payhere_order_auth_capture_content() {
    253253        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/partials/order-auth-payment.php';
    254254    }
  • payhere-payment-gateway/trunk/admin/partials/order-auth-payment.php

    r3209703 r3211346  
    1212 */
    1313
    14 $_order_id                = $wc_auth_order->get_id();
    15 $_order                   = wc_get_order($_order_id);
     14global $post;
     15$_order = wc_get_order( get_the_ID($post) );
    1616$payhere_authorize_token  = $_order->get_meta('payhere_auth_token', true) ? $_order->get_meta('payhere_auth_token', true) : '';
    1717$payhere_authorize_amount = $_order->get_meta('payhere_auth_amount', true) ? $_order->get_meta('payhere_auth_amount', true) : '';
  • payhere-payment-gateway/trunk/payhere-payment-gateway.php

    r3209703 r3211346  
    88 * Plugin URI:        https://www.payhere.lk
    99 * Description:       PayHere Payment Gateway allows you to accept payment on your Woocommerce store via Visa, MasterCard, AMEX, eZcash, mCash & Internet banking services.
    10  * Version:           2.3.8
     10 * Version:           2.3.9
    1111 * Author:            PayHere (Private) Limited
    1212 * Author URI:        https://www.payhere.lk
     
    2626 * Start at version 2.0.0 and use SemVer - https://semver.org
    2727 */
    28 define('PAYHERE_VERSION', '2.3.8');
     28define('PAYHERE_VERSION', '2.3.9');
    2929/**
    3030 * Currently plugin text domain.
  • payhere-payment-gateway/trunk/readme.txt

    r3209703 r3211346  
    66Tested up to: 6.7.1
    77WC tested up to: 9.5.1
    8 Stable tag: 2.3.8
     8Stable tag: 2.3.9
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    172172= 2.3.8 =
    173173Support for PayHere gateway discounts has been enabled to display in WooCommerce Orders.
     174
     175= 2.3.9 =
     176Bug fixes & improvements.
    174177
    175178== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.