| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
FrmStrpLiteAppHelper::fee_education( 'stripe-global-settings-tip' ); |
| 7 |
?> |
| 8 |
<table class="form-table"> |
| 9 |
<tr class="form-field"> |
| 10 |
<td> |
| 11 |
<?php esc_html_e( 'Test Mode', 'formidable' ); ?> |
| 12 |
</td> |
| 13 |
<td> |
| 14 |
<label> |
| 15 |
<input type="checkbox" name="frm_strp_test_mode" id="frm_strp_test_mode" value="1" <?php checked( $settings->settings->test_mode, 1 ); ?> /> |
| 16 |
<?php esc_html_e( 'Use the Stripe test mode', 'formidable' ); ?> |
| 17 |
</label> |
| 18 |
<?php if ( ! is_ssl() ) { ?> |
| 19 |
<br/><em><?php esc_html_e( 'Your site is not using SSL. Before using Stripe to collect live payments, you will need to install an SSL certificate on your site.', 'formidable' ); ?></em> |
| 20 |
<?php } ?> |
| 21 |
</td> |
| 22 |
</tr> |
| 23 |
|
| 24 |
<?php FrmStrpLiteConnectHelper::render_stripe_connect_settings_container(); ?> |
| 25 |
</table> |
| 26 |
|