Changeset 3269652
- Timestamp:
- 04/09/2025 11:59:04 AM (10 months ago)
- Location:
- wc-gateway-greeninvoice/trunk
- Files:
-
- 4 edited
-
includes/class-container.php (modified) (2 diffs)
-
includes/integrations/class-woo-subscriptions-integration.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
wc-gateway-greeninvoice.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-gateway-greeninvoice/trunk/includes/class-container.php
r3267440 r3269652 7 7 * @author Dor Zuberi <[email protected]> 8 8 * @link https://www.dorzki.io 9 * @version 2.0. 09 * @version 2.0.2 10 10 * @since 2.0.0 11 11 */ … … 103 103 $this->add( Polylang_Integration::class ); 104 104 $this->add( PW_Gift_Cards_Integration::class ); 105 $this->add( Woo_Subscriptions_Integration::class , [ Settings::class ]);105 $this->add( Woo_Subscriptions_Integration::class ); 106 106 107 107 $this->add( Integration_Manager::class ); -
wc-gateway-greeninvoice/trunk/includes/integrations/class-woo-subscriptions-integration.php
r3267440 r3269652 7 7 * @author Dor Zuberi <[email protected]> 8 8 * @link https://www.dorzki.io 9 * @version 2.0. 09 * @version 2.0.2 10 10 * @since 1.6.0 11 11 */ … … 15 15 use Morning\WC\Base\Base_Integration; 16 16 use Morning\WC\Base\Base_Payment_Gateway; 17 use Morning\WC\Config\Settings;18 17 use Morning\WC\Enum\Capability; 19 18 … … 27 26 */ 28 27 final class Woo_Subscriptions_Integration extends Base_Integration { 29 /**30 * @var Settings31 *32 * @since 2.0.033 */34 private Settings $settings;35 36 37 /**38 * Woo_Subscriptions_Integration constructor.39 *40 * @param Settings $settings41 *42 * @since 2.0.043 */44 public function __construct( Settings $settings ) {45 $this->settings = $settings;46 47 parent::__construct();48 }49 50 51 28 /** 52 29 * @return void … … 97 74 */ 98 75 protected function is_compatible(): bool { 99 $options = $this->settings->get_options(); 100 101 return $this->is_plugin_active( 'woocommerce-subscriptions/woocommerce-subscriptions.php' ) && ! $options->is_basic_mode(); 76 return $this->is_plugin_active( 'woocommerce-subscriptions/woocommerce-subscriptions.php' ); 102 77 } 103 78 -
wc-gateway-greeninvoice/trunk/readme.txt
r3267680 r3269652 4 4 Requires at least: 6.6 5 5 Tested up to: 6.7.2 6 Stable tag: 2.0. 16 Stable tag: 2.0.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 or later … … 60 60 61 61 == Changelog == 62 63 = 2.0.2 | 09.04.2025 = 64 [IMPROVE] Reverted WooCommerce Subscriptions limitation. 62 65 63 66 = 2.0.1 | 07.04.2025 = -
wc-gateway-greeninvoice/trunk/wc-gateway-greeninvoice.php
r3267680 r3269652 3 3 * Plugin Name: Morning for WooCommerce 4 4 * Description: Accept payments from clients, with automated invoice production. 5 * Version: 2.0. 15 * Version: 2.0.2 6 6 * Requires at least: 6.6 7 7 * Requires PHP: 7.4 … … 17 17 * @package Morning\WC 18 18 * @author Dor Zuberi <[email protected]> 19 * @version 2.0. 019 * @version 2.0.2 20 20 * @since 1.0.0 21 21 */
Note: See TracChangeset
for help on using the changeset viewer.