Changeset 3283451
- Timestamp:
- 04/28/2025 01:40:13 PM (10 months ago)
- Location:
- woocommerce-gateway-gocardless
- Files:
-
- 10 edited
- 1 copied
-
tags/2.9.4 (copied) (copied from woocommerce-gateway-gocardless/trunk)
-
tags/2.9.4/changelog.txt (modified) (1 diff)
-
tags/2.9.4/includes/class-wc-gocardless-gateway.php (modified) (2 diffs)
-
tags/2.9.4/includes/class-wc-gocardless-privacy.php (modified) (1 diff)
-
tags/2.9.4/readme.txt (modified) (2 diffs)
-
tags/2.9.4/woocommerce-gateway-gocardless.php (modified) (4 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/class-wc-gocardless-gateway.php (modified) (2 diffs)
-
trunk/includes/class-wc-gocardless-privacy.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-gateway-gocardless.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-gateway-gocardless/tags/2.9.4/changelog.txt
r3260847 r3283451 1 1 *** GoCardless for WooCommerce Changelog *** 2 3 2025-04-28 - version 2.9.4 4 * Fix - Ensure that the subscription is cancelled immediately when the payment is cancelled. 5 * Fix - Resolved "translation loading was triggered too early" issue in WordPress 6.7. 6 * Dev - Bump WordPress "tested up to" version 6.8. 7 * Dev - Run E2E tests on the zip generated by the `generate-zip` workflow and ensure it runs on every pull request by default. 2 8 3 9 2025-03-24 - version 2.9.3 -
woocommerce-gateway-gocardless/tags/2.9.4/includes/class-wc-gocardless-gateway.php
r3260847 r3283451 1888 1888 } 1889 1889 1890 /* 1891 * Skip the Pending Cancel status for subscriptions. 1892 * 1893 * Subscriptions orders are updated to the "processing" status without confirmed payment. 1894 * If a payment is cancelled, the subscription must be cancelled immediately. 1895 * 1896 * @see https://github.com/woocommerce/woocommerce-gateway-gocardless-private/issues/75 1897 */ 1898 add_filter( 'woocommerce_subscription_use_pending_cancel', '__return_false' ); 1899 1890 1900 if ( ! empty( $new_status ) ) { 1891 1901 $note = ! empty( $event['details']['description'] ) ? $event['details']['description'] : ''; … … 1920 1930 } 1921 1931 } 1932 1933 // Remove the filter added above. 1934 remove_filter( 'woocommerce_subscription_use_pending_cancel', '__return_false' ); 1922 1935 1923 1936 return true; -
woocommerce-gateway-gocardless/tags/2.9.4/includes/class-wc-gocardless-privacy.php
r3239558 r3283451 23 23 */ 24 24 public function __construct() { 25 parent::__construct( __( 'Direct Debit (GoCardless)', 'woocommerce-gateway-gocardless' ) ); 25 parent::__construct(); 26 27 // Initialize data exporters and erasers. 28 add_action( 'init', array( $this, 'register_erasers_exporters' ) ); 29 } 30 31 /** 32 * Initial registration of privacy erasers and exporters. 33 */ 34 public function register_erasers_exporters() { 35 $this->name = __( 'Direct Debit (GoCardless)', 'woocommerce-gateway-gocardless' ); 26 36 27 37 $this->add_exporter( 'woocommerce-gateway-gocardless-order-data', __( 'WooCommerce GoCardless Order Data', 'woocommerce-gateway-gocardless' ), array( $this, 'order_data_exporter' ) ); -
woocommerce-gateway-gocardless/tags/2.9.4/readme.txt
r3260847 r3283451 2 2 Contributors: gocardless, woocommerce, automattic 3 3 Tags: gocardless, woocommerce, direct debit, instant bank pay 4 Tested up to: 6. 75 Stable tag: 2.9. 34 Tested up to: 6.8 5 Stable tag: 2.9.4 6 6 License: GPL-3.0-or-later 7 7 License URI: https://spdx.org/licenses/GPL-3.0-or-later.html … … 140 140 141 141 == Changelog == 142 143 = 2.9.4 - 2025-04-28 = 144 * Fix - Ensure that the subscription is cancelled immediately when the payment is cancelled. 145 * Fix - Resolved "translation loading was triggered too early" issue in WordPress 6.7. 146 * Dev - Bump WordPress "tested up to" version 6.8. 147 * Dev - Run E2E tests on the zip generated by the `generate-zip` workflow and ensure it runs on every pull request by default. 142 148 143 149 = 2.9.3 - 2025-03-24 = -
woocommerce-gateway-gocardless/tags/2.9.4/woocommerce-gateway-gocardless.php
r3260847 r3283451 4 4 * Plugin URI: https://www.woocommerce.com/products/gocardless/ 5 5 * Description: Extends both WooCommerce and WooCommerce Subscriptions with the GoCardless Payment Gateway. A GoCardless merchant account is required. 6 * Version: 2.9. 36 * Version: 2.9.4 7 7 * Requires at least: 6.6 8 8 * Requires PHP: 7.4 … … 39 39 * @var string 40 40 */ 41 public $version = '2.9. 3'; // WRCS: DEFINED_VERSION.41 public $version = '2.9.4'; // WRCS: DEFINED_VERSION. 42 42 43 43 /** … … 86 86 add_filter( 'woocommerce_payment_gateways', array( $this, 'register_gateway' ) ); 87 87 add_action( 'admin_notices', array( $this, 'environment_check' ) ); 88 add_action( 'init', array( $this, 'load_plugin_textdomain' ) ); 88 89 89 90 $this->plugin_path = untrailingslashit( plugin_dir_path( __FILE__ ) ); … … 238 239 $reports_handler->init(); 239 240 241 add_action( 'init', array( $this, 'init_order_admin' ) ); 242 } 243 244 /** 245 * Load plugin text domain for translation. 246 */ 247 public function load_plugin_textdomain() { 240 248 // Localisation. 241 249 load_plugin_textdomain( 'woocommerce-gateway-gocardless', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 242 243 add_action( 'init', array( $this, 'init_order_admin' ) );244 250 } 245 251 -
woocommerce-gateway-gocardless/trunk/changelog.txt
r3260847 r3283451 1 1 *** GoCardless for WooCommerce Changelog *** 2 3 2025-04-28 - version 2.9.4 4 * Fix - Ensure that the subscription is cancelled immediately when the payment is cancelled. 5 * Fix - Resolved "translation loading was triggered too early" issue in WordPress 6.7. 6 * Dev - Bump WordPress "tested up to" version 6.8. 7 * Dev - Run E2E tests on the zip generated by the `generate-zip` workflow and ensure it runs on every pull request by default. 2 8 3 9 2025-03-24 - version 2.9.3 -
woocommerce-gateway-gocardless/trunk/includes/class-wc-gocardless-gateway.php
r3260847 r3283451 1888 1888 } 1889 1889 1890 /* 1891 * Skip the Pending Cancel status for subscriptions. 1892 * 1893 * Subscriptions orders are updated to the "processing" status without confirmed payment. 1894 * If a payment is cancelled, the subscription must be cancelled immediately. 1895 * 1896 * @see https://github.com/woocommerce/woocommerce-gateway-gocardless-private/issues/75 1897 */ 1898 add_filter( 'woocommerce_subscription_use_pending_cancel', '__return_false' ); 1899 1890 1900 if ( ! empty( $new_status ) ) { 1891 1901 $note = ! empty( $event['details']['description'] ) ? $event['details']['description'] : ''; … … 1920 1930 } 1921 1931 } 1932 1933 // Remove the filter added above. 1934 remove_filter( 'woocommerce_subscription_use_pending_cancel', '__return_false' ); 1922 1935 1923 1936 return true; -
woocommerce-gateway-gocardless/trunk/includes/class-wc-gocardless-privacy.php
r3239558 r3283451 23 23 */ 24 24 public function __construct() { 25 parent::__construct( __( 'Direct Debit (GoCardless)', 'woocommerce-gateway-gocardless' ) ); 25 parent::__construct(); 26 27 // Initialize data exporters and erasers. 28 add_action( 'init', array( $this, 'register_erasers_exporters' ) ); 29 } 30 31 /** 32 * Initial registration of privacy erasers and exporters. 33 */ 34 public function register_erasers_exporters() { 35 $this->name = __( 'Direct Debit (GoCardless)', 'woocommerce-gateway-gocardless' ); 26 36 27 37 $this->add_exporter( 'woocommerce-gateway-gocardless-order-data', __( 'WooCommerce GoCardless Order Data', 'woocommerce-gateway-gocardless' ), array( $this, 'order_data_exporter' ) ); -
woocommerce-gateway-gocardless/trunk/readme.txt
r3260847 r3283451 2 2 Contributors: gocardless, woocommerce, automattic 3 3 Tags: gocardless, woocommerce, direct debit, instant bank pay 4 Tested up to: 6. 75 Stable tag: 2.9. 34 Tested up to: 6.8 5 Stable tag: 2.9.4 6 6 License: GPL-3.0-or-later 7 7 License URI: https://spdx.org/licenses/GPL-3.0-or-later.html … … 140 140 141 141 == Changelog == 142 143 = 2.9.4 - 2025-04-28 = 144 * Fix - Ensure that the subscription is cancelled immediately when the payment is cancelled. 145 * Fix - Resolved "translation loading was triggered too early" issue in WordPress 6.7. 146 * Dev - Bump WordPress "tested up to" version 6.8. 147 * Dev - Run E2E tests on the zip generated by the `generate-zip` workflow and ensure it runs on every pull request by default. 142 148 143 149 = 2.9.3 - 2025-03-24 = -
woocommerce-gateway-gocardless/trunk/woocommerce-gateway-gocardless.php
r3260847 r3283451 4 4 * Plugin URI: https://www.woocommerce.com/products/gocardless/ 5 5 * Description: Extends both WooCommerce and WooCommerce Subscriptions with the GoCardless Payment Gateway. A GoCardless merchant account is required. 6 * Version: 2.9. 36 * Version: 2.9.4 7 7 * Requires at least: 6.6 8 8 * Requires PHP: 7.4 … … 39 39 * @var string 40 40 */ 41 public $version = '2.9. 3'; // WRCS: DEFINED_VERSION.41 public $version = '2.9.4'; // WRCS: DEFINED_VERSION. 42 42 43 43 /** … … 86 86 add_filter( 'woocommerce_payment_gateways', array( $this, 'register_gateway' ) ); 87 87 add_action( 'admin_notices', array( $this, 'environment_check' ) ); 88 add_action( 'init', array( $this, 'load_plugin_textdomain' ) ); 88 89 89 90 $this->plugin_path = untrailingslashit( plugin_dir_path( __FILE__ ) ); … … 238 239 $reports_handler->init(); 239 240 241 add_action( 'init', array( $this, 'init_order_admin' ) ); 242 } 243 244 /** 245 * Load plugin text domain for translation. 246 */ 247 public function load_plugin_textdomain() { 240 248 // Localisation. 241 249 load_plugin_textdomain( 'woocommerce-gateway-gocardless', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 242 243 add_action( 'init', array( $this, 'init_order_admin' ) );244 250 } 245 251
Note: See TracChangeset
for help on using the changeset viewer.