PluginProbe ʕ •ᴥ•ʔ
WooCommerce Square / 5.4.3
WooCommerce Square v5.4.3
5.4.3 5.4.2 5.4.1 5.4.0 trunk 1.0.25 1.0.26 1.0.27 1.0.28 1.0.29 1.0.30 1.0.31 1.0.32 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.38 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.7.0 2.8.0 2.9.0 2.9.1 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0 3.2.0 3.3.0 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.7.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 4.0.0 4.1.0 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.9.0 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 4.9.6 4.9.7 4.9.8 4.9.9 5.0.0 5.0.1 5.1.0 5.1.1 5.1.2 5.2.0 5.3.0 5.3.1 5.3.2 5.3.3
woocommerce-square / includes / Framework / PaymentGateway / Admin / views / html-admin-gateway-status.php
woocommerce-square / includes / Framework / PaymentGateway / Admin / views Last commit date
html-admin-gateway-status.php 1 month ago html-order-partial-capture.php 1 month ago html-user-payment-token-editor-token.php 1 month ago html-user-payment-token-editor.php 1 month ago html-user-profile-field-customer-id.php 1 month ago html-user-profile-section.php 1 month ago
html-admin-gateway-status.php
103 lines
1 <?php
2 /**
3 * WooCommerce Plugin Framework
4 *
5 * This source file is subject to the GNU General Public License v3.0
6 * that is bundled with this package in the file license.txt.
7 * It is also available through the world-wide-web at this URL:
8 * http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0 or later
9 * If you did not receive a copy of the license and are unable to
10 * obtain it through the world-wide-web, please send an email
11 * to license@skyverge.com so we can send you a copy immediately.
12 *
13 * @since 3.0.0
14 * @author WooCommerce / SkyVerge
15 * @copyright Copyright (c) 2013-2019, SkyVerge, Inc.
16 * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0 or later
17 *
18 * Modified by WooCommerce on 03 January 2022.
19 */
20
21 defined( 'ABSPATH' ) || exit;
22 ?>
23
24 <table class="wc_status_table widefat" cellspacing="0">
25
26 <thead>
27 <tr>
28 <th colspan="3" data-export-label="">
29 <?php echo esc_html( $gateway->get_method_title() ); ?>
30 <?php echo wc_help_tip( esc_html__( 'This section contains configuration settings for this gateway.', 'woocommerce-square' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
31 </th>
32 </tr>
33 </thead>
34
35 <tbody>
36
37 <?php
38 /**
39 * Payment Gateway System Status Start Action.
40 *
41 * Allow actors to add info the start of the gateway system status section.
42 *
43 * @since 3.0.0
44 *
45 * @param Payment_Gateway $gateway
46 */
47 do_action( 'wc_payment_gateway_' . $gateway->get_id() . '_system_status_start', $gateway );
48 ?>
49
50 <tr>
51 <td data-export-label="Environment"><?php esc_html_e( 'Environment', 'woocommerce-square' ); ?>:</td>
52 <td class="help"><?php echo wc_help_tip( esc_html__( 'The transaction environment for this gateway.', 'woocommerce-square' ) ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?></td>
53 <td><?php echo esc_html( $environment ); ?></td>
54 </tr>
55
56 <?php if ( $gateway->supports_tokenization() ) : ?>
57
58 <tr>
59 <td data-export-label="Tokenization Enabled"><?php esc_html_e( 'Tokenization Enabled', 'woocommerce-square' ); ?>:</td>
60 <td class="help"><?php echo wc_help_tip( esc_html__( 'Displays whether or not tokenization is enabled for this gateway.', 'woocommerce-square' ) ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?></td>
61 <td>
62 <?php if ( $gateway->tokenization_enabled() ) : ?>
63 <mark class="yes">&#10004;</mark>
64 <?php else : ?>
65 <mark class="no">&ndash;</mark>
66 <?php endif; ?>
67 </td>
68 </tr>
69
70 <?php endif; ?>
71
72 <tr>
73 <td data-export-label="Debug Mode"><?php esc_html_e( 'Debug Mode', 'woocommerce-square' ); ?>:</td>
74 <td class="help"><?php echo wc_help_tip( esc_html__( 'Displays whether or not debug logging is enabled for this gateway.', 'woocommerce-square' ) ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?></td>
75 <td>
76 <?php if ( $gateway->debug_log() && $gateway->debug_checkout() ) : ?>
77 <?php echo esc_html__( 'Display at Checkout & Log', 'woocommerce-square' ); ?>
78 <?php elseif ( $gateway->debug_checkout() ) : ?>
79 <?php echo esc_html__( 'Display at Checkout', 'woocommerce-square' ); ?>
80 <?php elseif ( $gateway->debug_log() ) : ?>
81 <?php echo esc_html__( 'Save to Log', 'woocommerce-square' ); ?>
82 <?php else : ?>
83 <?php echo esc_html__( 'Off', 'woocommerce-square' ); ?>
84 <?php endif; ?>
85 </td>
86 </tr>
87
88 <?php
89 /**
90 * Payment Gateway System Status End Action.
91 *
92 * Allow actors to add info the end of the gateway system status section.
93 *
94 * @since 3.0.0
95 * @param \Payment_Gateway $gateway
96 */
97 do_action( 'wc_payment_gateway_' . $gateway->get_id() . '_system_status_end', $gateway );
98 ?>
99
100 </tbody>
101
102 </table>
103