Plugin Directory

Changeset 3458238


Ignore:
Timestamp:
02/10/2026 04:32:58 PM (7 weeks ago)
Author:
nakedcatplugins
Message:

Update to version 11.4.1 from GitHub

Location:
multibanco-ifthen-software-gateway-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • multibanco-ifthen-software-gateway-for-woocommerce/tags/11.4.1/class-wc-ifthen-webdados.php

    r3456345 r3458238  
    28012801     *
    28022802     * @param string $method_id The payment methid ID.
    2803      */
    2804     public function cancel_expired_orders( $method_id ) {
     2803     * @param string $datetime  The datetime to compare with the expiration meta (in Y-m-d H:i:s format) - if null, it will use the current datetime, allowing for time delays.
     2804     */
     2805    public function cancel_expired_orders( $method_id, $datetime = null ) {
     2806        // Accept time delays
     2807        if ( ! $datetime ) {
     2808            $datetime = date_i18n( 'Y-m-d H:i:s' );
     2809        }
    28052810        // We are not doing this on the gateway itself because the cron doesn't always load the gateways
    28062811        $args           = array(
     
    28092814            'limit'                   => -1,
    28102815            'payment_method'          => $method_id,
    2811             '_' . $method_id . '_exp' => date_i18n( 'Y-m-d H:i:s' ),
     2816            '_' . $method_id . '_exp' => $datetime,
    28122817        );
    28132818        $expired_orders = WC_IfthenPay_Webdados()->wc_get_orders( $args, $method_id );
  • multibanco-ifthen-software-gateway-for-woocommerce/tags/11.4.1/multibanco_ifthen_for_woocommerce.php

    r3456345 r3458238  
    44 * Plugin URI:           https://www.webdados.pt/wordpress/plugins/multibanco-ifthen-software-gateway-woocommerce-wordpress/
    55 * Description:          Secure WooCommerce payments with Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis, and PIX via ifthenpay’s payment gateway.
    6  * Version:              11.4.0
     6 * Version:              11.4.1
    77 * Author:               Naked Cat Plugins (by Webdados)
    88 * Author URI:           https://nakedcatplugins.com
  • multibanco-ifthen-software-gateway-for-woocommerce/tags/11.4.1/readme.txt

    r3456345 r3458238  
    55Tested up to: 6.9
    66Requires PHP: 7.2
    7 Stable tag: 11.4.0
     7Stable tag: 11.4.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    256256== Changelog ==
    257257
     258= 11.4.1 - 2026-02-10 =
     259* [TWEAK] Allow [PRO add-on 5.8](https://nakedcatplugins.com/product/multibanco-mbway-credit-card-payshop-ifthenpay-woocommerce-pro-add-on/) to cancel or convert to Multibanco expired MB WAY orders after 20 minutes of expiration
     260* [DEV] Tested with WordPress 7.0-alpha-61605 and WooCommerce 10.5.1
     261
    258262= 11.4.0 - 2026-01-21 =
    259263* [TWEAK] Order note and debug (including email) when order is found by callback, but not in pending statuses (for example, already paid or cancelled)
  • multibanco-ifthen-software-gateway-for-woocommerce/trunk/class-wc-ifthen-webdados.php

    r3456345 r3458238  
    28012801     *
    28022802     * @param string $method_id The payment methid ID.
    2803      */
    2804     public function cancel_expired_orders( $method_id ) {
     2803     * @param string $datetime  The datetime to compare with the expiration meta (in Y-m-d H:i:s format) - if null, it will use the current datetime, allowing for time delays.
     2804     */
     2805    public function cancel_expired_orders( $method_id, $datetime = null ) {
     2806        // Accept time delays
     2807        if ( ! $datetime ) {
     2808            $datetime = date_i18n( 'Y-m-d H:i:s' );
     2809        }
    28052810        // We are not doing this on the gateway itself because the cron doesn't always load the gateways
    28062811        $args           = array(
     
    28092814            'limit'                   => -1,
    28102815            'payment_method'          => $method_id,
    2811             '_' . $method_id . '_exp' => date_i18n( 'Y-m-d H:i:s' ),
     2816            '_' . $method_id . '_exp' => $datetime,
    28122817        );
    28132818        $expired_orders = WC_IfthenPay_Webdados()->wc_get_orders( $args, $method_id );
  • multibanco-ifthen-software-gateway-for-woocommerce/trunk/multibanco_ifthen_for_woocommerce.php

    r3456345 r3458238  
    44 * Plugin URI:           https://www.webdados.pt/wordpress/plugins/multibanco-ifthen-software-gateway-woocommerce-wordpress/
    55 * Description:          Secure WooCommerce payments with Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis, and PIX via ifthenpay’s payment gateway.
    6  * Version:              11.4.0
     6 * Version:              11.4.1
    77 * Author:               Naked Cat Plugins (by Webdados)
    88 * Author URI:           https://nakedcatplugins.com
  • multibanco-ifthen-software-gateway-for-woocommerce/trunk/readme.txt

    r3456345 r3458238  
    55Tested up to: 6.9
    66Requires PHP: 7.2
    7 Stable tag: 11.4.0
     7Stable tag: 11.4.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    256256== Changelog ==
    257257
     258= 11.4.1 - 2026-02-10 =
     259* [TWEAK] Allow [PRO add-on 5.8](https://nakedcatplugins.com/product/multibanco-mbway-credit-card-payshop-ifthenpay-woocommerce-pro-add-on/) to cancel or convert to Multibanco expired MB WAY orders after 20 minutes of expiration
     260* [DEV] Tested with WordPress 7.0-alpha-61605 and WooCommerce 10.5.1
     261
    258262= 11.4.0 - 2026-01-21 =
    259263* [TWEAK] Order note and debug (including email) when order is found by callback, but not in pending statuses (for example, already paid or cancelled)
Note: See TracChangeset for help on using the changeset viewer.