# formidable/trunk/stripe/views/lists/no-payments.php

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

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/stripe/views/lists/no-payments.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/stripe/views/lists/no-payments.php
- Modified: 2026-07-14T18:37:26+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/lists/no-payments.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

// Check if this is being called from within a list (no header needed)
$is_in_list = isset( $this ) && method_exists( $this, 'no_items' );
?>

<?php if ( ! $is_in_list ) : ?>
<div class="frm_wrap">
	<?php
	FrmAppHelper::get_admin_header(
		array(
			'label' => __( 'Payments', 'formidable' ),
		)
	);
	?>
	<div class="wrap">
<?php endif; ?>

	<div class="frm-no-payments-placeholder">
		<div class="frm-no-payments-content">
			<img src="<?php echo esc_url( FrmAppHelper::plugin_url() . '/images/no-payments.svg' ); ?>" alt="" class="frm-no-payments-image" />
			<h2 class="frm-no-payments-title"><?php esc_html_e( 'Start accepting payments', 'formidable' ); ?></h2>
			<p class="frm-no-payments-description"><?php esc_html_e( 'Connect a payment gateway to collect payments right through your forms. Pick one to get started.', 'formidable' ); ?></p>
			<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-settings&t=stripe_settings' ) ); ?>" class="button button-primary frm-button-primary">
				<?php esc_html_e( 'Go to Payment Settings', 'formidable' ); ?>
			</a>
		</div>
	</div>

<?php if ( ! $is_in_list ) : ?>
	</div>
</div>
<?php endif; ?>

```
