<?php
/**
 * Loads admin view for Gateway Settings functionality.
 *
 * @package miniorange-sms-order-notification-otp-verification/controllers/
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
use WCSMSOTP\Helper\MoUtility;

$mowc_request_uri = remove_query_arg( array( 'addon', 'form', 'subpage' ), isset( $_SERVER['REQUEST_URI'] ) ? esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : '' );
$mowc_license_url = add_query_arg( array( 'page' => 'mowcpricing' ), $mowc_request_uri );
$mowc_pricing_url = MOV_WC_PORTAL . '/initializepayment?requestOrigin=wp_otp_verification_basic_plan';

$mowc_gateway_config_file = MOV_WC_DIR . 'views/mogatewayconfig.php';
if ( ! MoUtility::mo_require_file( $mowc_gateway_config_file, MOV_WC_DIR ) ) {
	return;
}
require_once $mowc_gateway_config_file;
