# formidable/trunk/stripe/views/settings/connect.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version trunk. 38 lines.

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/stripe/views/settings/connect.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/stripe/views/settings/connect.php
- Modified: 2026-09-09T16:18:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/trunk/code/stripe/views/settings/connect.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<div style="margin-bottom:15px;" data-test-mode="<?php echo $test ? 1 : 0; ?>">
	<span style="margin-bottom: 5px;min-width:40px;display: inline-block;">
		<b style="color: var(--medium-grey);"><?php echo esc_html( $title ); ?></b>
	</span>
	<?php if ( $account_id ) { ?>
		<?php if ( $connected ) { ?>
			<?php FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_icon frm-yes' ); ?>
			<?php esc_html_e( 'Connected', 'formidable' ); ?>
			&nbsp; &nbsp;
		<?php } else { ?>
			<strong>
				<span class="frm-nope" style="color:#F04438">&#10008;</span>
				<?php esc_html_e( 'Not connected!', 'formidable' ); ?>
			</strong>
			<br/><br/>
			<a class="frm_reauth_stripe button-primary frm-button-primary" href="#">
				<?php FrmStrpLiteConnectHelper::stripe_icon(); ?> &nbsp;
				<?php esc_html_e( 'Finish Stripe Setup', 'formidable' ); ?>
			</a>
			or
		<?php } ?>
		<a class="frm_disconnect_stripe" href="#" style="font-size:13px"><?php esc_html_e( 'Disconnect', 'formidable' ); ?></a>
	<?php } else { ?>
		<br/><br/>
		<a class="frm_connect_with_oauth button-primary frm-button-primary">
			<?php FrmStrpLiteConnectHelper::stripe_icon(); ?> &nbsp;
			<?php esc_html_e( 'Connect to Stripe', 'formidable' ); ?>
		</a>
		<?php
	}//end if
	?>
</div>

```
