Plugin Directory

Changeset 2647480


Ignore:
Timestamp:
12/21/2021 06:14:36 PM (4 years ago)
Author:
idofri
Message:

new version-20211221

Location:
woo-pelecard-gateway/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • woo-pelecard-gateway/trunk/includes/Invoices/EZCount.php

    r2467432 r2647480  
    7272            'vat_type' => $this->get_option( 'ezcount_vat_type' ),
    7373            'item' => $this->get_formatted_items( $order ),
     74            'auto_balance' => true,
    7475            'forceItemsIntoNonItemsDocument' => 400 === (int) $this->get_option( 'ezcount_doc_type' ),
    7576        ], $order );
  • woo-pelecard-gateway/trunk/includes/Plugin.php

    r2566392 r2647480  
    1818     * @var string $version
    1919     */
    20     public static $version = '1.4.8';
     20    public static $version = '1.4.9';
    2121
    2222    /**
  • woo-pelecard-gateway/trunk/includes/Transaction.php

    r2566392 r2647480  
    156156        } elseif ( $this->meta_exists( 'ParamX' ) ) {
    157157            $order_id = $this->get_meta( 'ParamX', true, $context );
    158         }
    159 
    160         return (int) ( $order_id ?? 0 );
     158        } else {
     159            $order_id = 0;
     160        }
     161
     162        return (int) apply_filters( 'wpg/transaction/order_id', $order_id, $context, $this );
    161163    }
    162164
  • woo-pelecard-gateway/trunk/readme.txt

    r2566392 r2647480  
    44Requires at least: 5.5
    55Tested up to: 5.8
    6 Stable tag: 1.4.8
     6Stable tag: 1.4.9
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555
    5656== Changelog ==
     57
     58= 1.4.9 =
     59* Added the 'wpg/transaction/order_id' filter hook.
     60* Added the auto_balance parameter to EZCount integration.
    5761
    5862= 1.4.8 =
  • woo-pelecard-gateway/trunk/woocommerce-pelecard-gateway.php

    r2566392 r2647480  
    44 * Plugin URI: https://wordpress.org/plugins/woo-pelecard-gateway/
    55 * Description: Extends WooCommerce with Pelecard payment gateway.
    6  * Version: 1.4.8
     6 * Version: 1.4.9
    77 * Author: Ido Friedlander
    88 * Author URI: https://profiles.wordpress.org/idofri/
     
    1212 *
    1313 * WC requires at least: 3.0
    14  * WC tested up to: 5.4
     14 * WC tested up to: 6.0
    1515 */
    1616
Note: See TracChangeset for help on using the changeset viewer.