| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
$wrapper_atts = array_merge( |
| 7 |
array( |
| 8 |
'class' => 'show_stripe frm_gateway_no_recur frm6 frm_show_upgrade frm_noallow', |
| 9 |
'data-upgrade' => __( 'Additional Stripe settings', 'formidable' ), |
| 10 |
), |
| 11 |
$upgrade_params |
| 12 |
); |
| 13 |
|
| 14 |
if ( isset( $selected_gateway ) && 'stripe' !== $selected_gateway ) { |
| 15 |
$wrapper_atts['style'] = 'display: none;'; |
| 16 |
} |
| 17 |
?> |
| 18 |
<p <?php FrmAppHelper::array_to_html_params( $wrapper_atts, true ); ?>> |
| 19 |
<label> |
| 20 |
<?php esc_html_e( 'Capture Payment', 'formidable' ); ?> |
| 21 |
</label> |
| 22 |
<select disabled style="pointer-events: none;"> |
| 23 |
<option><?php esc_html_e( 'When entry is submitted', 'formidable' ); ?></option> |
| 24 |
</select> |
| 25 |
</p> |
| 26 |
|