Changeset 3344113
- Timestamp:
- 08/13/2025 03:23:02 PM (6 months ago)
- Location:
- agency-toolkit
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.27 (copied) (copied from agency-toolkit/trunk)
-
tags/1.0.27/functions/payments_test_mode_check.php (modified) (1 diff)
-
tags/1.0.27/main.php (modified) (2 diffs)
-
tags/1.0.27/readme.txt (modified) (2 diffs)
-
trunk/functions/payments_test_mode_check.php (modified) (1 diff)
-
trunk/main.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
agency-toolkit/tags/1.0.27/functions/payments_test_mode_check.php
r3314002 r3344113 29 29 30 30 // 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 } 34 36 } 35 37 36 38 // 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 } 40 44 } 41 45 42 46 // 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 } 46 52 } 47 53 -
agency-toolkit/tags/1.0.27/main.php
r3314002 r3344113 3 3 Plugin Name: Agency Toolkit 4 4 Description: Lightweight and modular client site tools to empower your agency. 5 Version: 1.0.2 65 Version: 1.0.27 6 6 Author: Inspry 7 7 Author URI: https://www.inspry.com/ … … 166 166 } 167 167 } 168 ?> -
agency-toolkit/tags/1.0.27/readme.txt
r3316368 r3344113 5 5 Requires at least: 5.5 6 6 Requires PHP: 7.2 7 Stable tag: 1.0.2 67 Stable tag: 1.0.27 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Changelog == 76 = 1.0.27 = 77 * Bug Fix: Test mode notifications no longer sent for payment gateways that are deactivated. 78 76 79 = 1.0.26 = 77 80 * New Feature: Receive email notifications when specific plugins are activated and deactivated. -
agency-toolkit/trunk/functions/payments_test_mode_check.php
r3314002 r3344113 29 29 30 30 // 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 } 34 36 } 35 37 36 38 // 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 } 40 44 } 41 45 42 46 // 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 } 46 52 } 47 53 -
agency-toolkit/trunk/main.php
r3314002 r3344113 3 3 Plugin Name: Agency Toolkit 4 4 Description: Lightweight and modular client site tools to empower your agency. 5 Version: 1.0.2 65 Version: 1.0.27 6 6 Author: Inspry 7 7 Author URI: https://www.inspry.com/ … … 166 166 } 167 167 } 168 ?> -
agency-toolkit/trunk/readme.txt
r3316368 r3344113 5 5 Requires at least: 5.5 6 6 Requires PHP: 7.2 7 Stable tag: 1.0.2 67 Stable tag: 1.0.27 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Changelog == 76 = 1.0.27 = 77 * Bug Fix: Test mode notifications no longer sent for payment gateways that are deactivated. 78 76 79 = 1.0.26 = 77 80 * New Feature: Receive email notifications when specific plugins are activated and deactivated.
Note: See TracChangeset
for help on using the changeset viewer.