Changeset 3458238
- Timestamp:
- 02/10/2026 04:32:58 PM (7 weeks ago)
- Location:
- multibanco-ifthen-software-gateway-for-woocommerce
- Files:
-
- 6 edited
- 1 copied
-
tags/11.4.1 (copied) (copied from multibanco-ifthen-software-gateway-for-woocommerce/trunk)
-
tags/11.4.1/class-wc-ifthen-webdados.php (modified) (2 diffs)
-
tags/11.4.1/multibanco_ifthen_for_woocommerce.php (modified) (1 diff)
-
tags/11.4.1/readme.txt (modified) (2 diffs)
-
trunk/class-wc-ifthen-webdados.php (modified) (2 diffs)
-
trunk/multibanco_ifthen_for_woocommerce.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multibanco-ifthen-software-gateway-for-woocommerce/tags/11.4.1/class-wc-ifthen-webdados.php
r3456345 r3458238 2801 2801 * 2802 2802 * @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 } 2805 2810 // We are not doing this on the gateway itself because the cron doesn't always load the gateways 2806 2811 $args = array( … … 2809 2814 'limit' => -1, 2810 2815 'payment_method' => $method_id, 2811 '_' . $method_id . '_exp' => date_i18n( 'Y-m-d H:i:s' ),2816 '_' . $method_id . '_exp' => $datetime, 2812 2817 ); 2813 2818 $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 4 4 * Plugin URI: https://www.webdados.pt/wordpress/plugins/multibanco-ifthen-software-gateway-woocommerce-wordpress/ 5 5 * 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. 06 * Version: 11.4.1 7 7 * Author: Naked Cat Plugins (by Webdados) 8 8 * Author URI: https://nakedcatplugins.com -
multibanco-ifthen-software-gateway-for-woocommerce/tags/11.4.1/readme.txt
r3456345 r3458238 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 11.4. 07 Stable tag: 11.4.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 256 256 == Changelog == 257 257 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 258 262 = 11.4.0 - 2026-01-21 = 259 263 * [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 2801 2801 * 2802 2802 * @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 } 2805 2810 // We are not doing this on the gateway itself because the cron doesn't always load the gateways 2806 2811 $args = array( … … 2809 2814 'limit' => -1, 2810 2815 'payment_method' => $method_id, 2811 '_' . $method_id . '_exp' => date_i18n( 'Y-m-d H:i:s' ),2816 '_' . $method_id . '_exp' => $datetime, 2812 2817 ); 2813 2818 $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 4 4 * Plugin URI: https://www.webdados.pt/wordpress/plugins/multibanco-ifthen-software-gateway-woocommerce-wordpress/ 5 5 * 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. 06 * Version: 11.4.1 7 7 * Author: Naked Cat Plugins (by Webdados) 8 8 * Author URI: https://nakedcatplugins.com -
multibanco-ifthen-software-gateway-for-woocommerce/trunk/readme.txt
r3456345 r3458238 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 11.4. 07 Stable tag: 11.4.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 256 256 == Changelog == 257 257 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 258 262 = 11.4.0 - 2026-01-21 = 259 263 * [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.