Plugin Directory

Changeset 3344113


Ignore:
Timestamp:
08/13/2025 03:23:02 PM (6 months ago)
Author:
inspry
Message:

Update to version 1.0.27 from GitHub

Location:
agency-toolkit
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • agency-toolkit/tags/1.0.27/functions/payments_test_mode_check.php

    r3314002 r3344113  
    2929
    3030    // Stripe
    31     $stripe_settings = get_option( 'woocommerce_stripe_settings' );
    32     if ( isset( $stripe_settings['testmode'] ) && $stripe_settings['testmode'] === 'yes' ) {
    33         $gateways_in_test[] = 'Stripe';
     31    if ( is_plugin_active( 'woocommerce-gateway-stripe/woocommerce-gateway-stripe.php' ) ) {
     32        $stripe_settings = get_option( 'woocommerce_stripe_settings' );
     33        if ( isset( $stripe_settings['testmode'] ) && $stripe_settings['testmode'] === 'yes' ) {
     34            $gateways_in_test[] = 'Stripe';
     35        }
    3436    }
    3537
    3638    // PayPal Standard
    37     $paypal_settings = get_option( 'woocommerce-ppcp-data-common' );
    38     if ( isset( $paypal_settings['use_sandbox'] ) && $paypal_settings['use_sandbox'] === true ) {
    39         $gateways_in_test[] = 'PayPal';
     39    if ( is_plugin_active( 'woocommerce-paypal-payments/woocommerce-paypal-payments.php' ) ) {
     40        $paypal_settings = get_option( 'woocommerce-ppcp-data-common' );
     41        if ( isset( $paypal_settings['use_sandbox'] ) && $paypal_settings['use_sandbox'] === true ) {
     42            $gateways_in_test[] = 'PayPal';
     43        }
    4044    }
    4145
    4246    // Authorize.Net AIM
    43     $auth_settings = get_option( 'woocommerce_authorize_net_cim_credit_card_settings' );
    44     if ( isset( $auth_settings['environment'] ) && $auth_settings['environment'] === 'test' ) {
    45         $gateways_in_test[] = 'Authorize.net';
     47    if ( is_plugin_active( 'woocommerce-gateway-authorize-net-cim/woocommerce-gateway-authorize-net-cim.php' ) ) {
     48        $auth_settings = get_option( 'woocommerce_authorize_net_cim_credit_card_settings' );
     49        if ( isset( $auth_settings['environment'] ) && $auth_settings['environment'] === 'test' ) {
     50            $gateways_in_test[] = 'Authorize.net';
     51        }
    4652    }
    4753
  • agency-toolkit/tags/1.0.27/main.php

    r3314002 r3344113  
    33Plugin Name: Agency Toolkit
    44Description: Lightweight and modular client site tools to empower your agency.
    5 Version: 1.0.26
     5Version: 1.0.27
    66Author: Inspry
    77Author URI: https://www.inspry.com/
     
    166166    }
    167167}
    168 ?>
  • agency-toolkit/tags/1.0.27/readme.txt

    r3316368 r3344113  
    55Requires at least: 5.5
    66Requires PHP: 7.2
    7 Stable tag: 1.0.26
     7Stable tag: 1.0.27
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 1.0.27 =
     77* Bug Fix: Test mode notifications no longer sent for payment gateways that are deactivated.
     78
    7679= 1.0.26 =
    7780* New Feature: Receive email notifications when specific plugins are activated and deactivated.
  • agency-toolkit/trunk/functions/payments_test_mode_check.php

    r3314002 r3344113  
    2929
    3030    // Stripe
    31     $stripe_settings = get_option( 'woocommerce_stripe_settings' );
    32     if ( isset( $stripe_settings['testmode'] ) && $stripe_settings['testmode'] === 'yes' ) {
    33         $gateways_in_test[] = 'Stripe';
     31    if ( is_plugin_active( 'woocommerce-gateway-stripe/woocommerce-gateway-stripe.php' ) ) {
     32        $stripe_settings = get_option( 'woocommerce_stripe_settings' );
     33        if ( isset( $stripe_settings['testmode'] ) && $stripe_settings['testmode'] === 'yes' ) {
     34            $gateways_in_test[] = 'Stripe';
     35        }
    3436    }
    3537
    3638    // PayPal Standard
    37     $paypal_settings = get_option( 'woocommerce-ppcp-data-common' );
    38     if ( isset( $paypal_settings['use_sandbox'] ) && $paypal_settings['use_sandbox'] === true ) {
    39         $gateways_in_test[] = 'PayPal';
     39    if ( is_plugin_active( 'woocommerce-paypal-payments/woocommerce-paypal-payments.php' ) ) {
     40        $paypal_settings = get_option( 'woocommerce-ppcp-data-common' );
     41        if ( isset( $paypal_settings['use_sandbox'] ) && $paypal_settings['use_sandbox'] === true ) {
     42            $gateways_in_test[] = 'PayPal';
     43        }
    4044    }
    4145
    4246    // Authorize.Net AIM
    43     $auth_settings = get_option( 'woocommerce_authorize_net_cim_credit_card_settings' );
    44     if ( isset( $auth_settings['environment'] ) && $auth_settings['environment'] === 'test' ) {
    45         $gateways_in_test[] = 'Authorize.net';
     47    if ( is_plugin_active( 'woocommerce-gateway-authorize-net-cim/woocommerce-gateway-authorize-net-cim.php' ) ) {
     48        $auth_settings = get_option( 'woocommerce_authorize_net_cim_credit_card_settings' );
     49        if ( isset( $auth_settings['environment'] ) && $auth_settings['environment'] === 'test' ) {
     50            $gateways_in_test[] = 'Authorize.net';
     51        }
    4652    }
    4753
  • agency-toolkit/trunk/main.php

    r3314002 r3344113  
    33Plugin Name: Agency Toolkit
    44Description: Lightweight and modular client site tools to empower your agency.
    5 Version: 1.0.26
     5Version: 1.0.27
    66Author: Inspry
    77Author URI: https://www.inspry.com/
     
    166166    }
    167167}
    168 ?>
  • agency-toolkit/trunk/readme.txt

    r3316368 r3344113  
    55Requires at least: 5.5
    66Requires PHP: 7.2
    7 Stable tag: 1.0.26
     7Stable tag: 1.0.27
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 1.0.27 =
     77* Bug Fix: Test mode notifications no longer sent for payment gateways that are deactivated.
     78
    7679= 1.0.26 =
    7780* New Feature: Receive email notifications when specific plugins are activated and deactivated.
Note: See TracChangeset for help on using the changeset viewer.