PluginProbe
MONEI Payments for WooCommerce / trunk
MONEI Payments for WooCommerce vtrunk
7.3.3 7.3.2 7.3.1 7.3.0 7.2.4 7.2.3 7.2.2 7.2.0 7.2.1 7.1.3 2.1.0 3.0.0 3.1.0 3.1.1 4.0.0 4.1.0 4.1.1 4.2.0 4.2.1 5.0 5.1.0 5.1.1 5.1.2 5.2.2 5.2.3 All 87 releases
monei / src / Templates / NoticeGatewayNotAvailable.php

NoticeGatewayNotAvailable.php in MONEI Payments for WooCommerce trunk, at src/Templates/NoticeGatewayNotAvailable.php

29 lines 683 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Monei\Templates;
4
5 class NoticeGatewayNotAvailable implements TemplateInterface {
6
7 public function render( $data ): void {
8 $settings_link = esc_url(
9 admin_url(
10 add_query_arg(
11 array(
12 'page' => 'wc-settings',
13 'tab' => 'monei_settings',
14 ),
15 'admin.php'
16 )
17 )
18 );
19 ?>
20 <a class="button" href="<?php echo esc_url( $settings_link ); ?>"><?php esc_html_e( 'Go to MONEI API Key Settings', 'monei' ); ?></a>
21
22 <div class="inline error">
23 <p>
24 <strong><?php esc_html_e( 'Gateway Disabled', 'monei' ); ?></strong>: <?php esc_html_e( 'MONEI only support EUROS, USD & GBP currencies.', 'monei' ); ?>
25 </p>
26 </div>
27 <?php
28 }
29 }