# monei/7.1.3/src/Templates/NoticeGatewayNotAvailable.php

MONEI Payments for WooCommerce, version 7.1.3. 29 lines.

- Page: https://pluginprobe.com/plugins/monei/7.1.3/code/src/Templates/NoticeGatewayNotAvailable.php
- Raw: https://pluginprobe.com/plugins/monei/7.1.3/raw/src/Templates/NoticeGatewayNotAvailable.php
- Modified: 2025-10-10T14:08:50+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/monei/7.1.3/code/src/Templates/NoticeGatewayNotAvailable.php#L10-L20`.

```php
<?php

namespace Monei\Templates;

class NoticeGatewayNotAvailable implements TemplateInterface {

	public function render( $data ): void {
		$settings_link = esc_url(
			admin_url(
				add_query_arg(
					array(
						'page' => 'wc-settings',
						'tab'  => 'monei_settings',
					),
					'admin.php'
				)
			)
		);
		?>
		<a class="button" href="<?php echo esc_url( $settings_link ); ?>"><?php esc_html_e( 'Go to MONEI API Key Settings', 'monei' ); ?></a>

		<div class="inline error">
			<p>
				<strong><?php esc_html_e( 'Gateway Disabled', 'monei' ); ?></strong>: <?php esc_html_e( 'MONEI only support EUROS, USD & GBP currencies.', 'monei' ); ?>
			</p>
		</div>
		<?php
	}
}
```
