Plugin Directory

Changeset 3269652


Ignore:
Timestamp:
04/09/2025 11:59:04 AM (10 months ago)
Author:
DorZki
Message:

[IMPROVE] Reverted WooCommerce Subscriptions limitation.

Location:
wc-gateway-greeninvoice/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wc-gateway-greeninvoice/trunk/includes/class-container.php

    r3267440 r3269652  
    77 * @author     Dor Zuberi <[email protected]>
    88 * @link       https://www.dorzki.io
    9  * @version    2.0.0
     9 * @version    2.0.2
    1010 * @since      2.0.0
    1111 */
     
    103103        $this->add( Polylang_Integration::class );
    104104        $this->add( PW_Gift_Cards_Integration::class );
    105         $this->add( Woo_Subscriptions_Integration::class, [ Settings::class ] );
     105        $this->add( Woo_Subscriptions_Integration::class );
    106106
    107107        $this->add( Integration_Manager::class );
  • wc-gateway-greeninvoice/trunk/includes/integrations/class-woo-subscriptions-integration.php

    r3267440 r3269652  
    77 * @author     Dor Zuberi <[email protected]>
    88 * @link       https://www.dorzki.io
    9  * @version    2.0.0
     9 * @version    2.0.2
    1010 * @since      1.6.0
    1111 */
     
    1515use Morning\WC\Base\Base_Integration;
    1616use Morning\WC\Base\Base_Payment_Gateway;
    17 use Morning\WC\Config\Settings;
    1817use Morning\WC\Enum\Capability;
    1918
     
    2726 */
    2827final class Woo_Subscriptions_Integration extends Base_Integration {
    29     /**
    30      * @var Settings
    31      *
    32      * @since 2.0.0
    33      */
    34     private Settings $settings;
    35 
    36 
    37     /**
    38      * Woo_Subscriptions_Integration constructor.
    39      *
    40      * @param Settings $settings
    41      *
    42      * @since 2.0.0
    43      */
    44     public function __construct( Settings $settings ) {
    45         $this->settings = $settings;
    46 
    47         parent::__construct();
    48     }
    49 
    50 
    5128    /**
    5229     * @return void
     
    9774     */
    9875    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' );
    10277    }
    10378
  • wc-gateway-greeninvoice/trunk/readme.txt

    r3267680 r3269652  
    44Requires at least: 6.6
    55Tested up to: 6.7.2
    6 Stable tag: 2.0.1
     6Stable tag: 2.0.2
    77Requires PHP: 7.4
    88License: GPLv3 or later
     
    6060
    6161== Changelog ==
     62
     63= 2.0.2 | 09.04.2025 =
     64[IMPROVE] Reverted WooCommerce Subscriptions limitation.
    6265
    6366= 2.0.1 | 07.04.2025 =
  • wc-gateway-greeninvoice/trunk/wc-gateway-greeninvoice.php

    r3267680 r3269652  
    33 * Plugin Name: Morning for WooCommerce
    44 * Description: Accept payments from clients, with automated invoice production.
    5  * Version: 2.0.1
     5 * Version: 2.0.2
    66 * Requires at least: 6.6
    77 * Requires PHP: 7.4
     
    1717 * @package Morning\WC
    1818 * @author  Dor Zuberi <[email protected]>
    19  * @version 2.0.0
     19 * @version 2.0.2
    2020 * @since   1.0.0
    2121 */
Note: See TracChangeset for help on using the changeset viewer.