<?php
/**
 * Internal Forminator submission helper for Square return flow.
 *
 * @package SHC4WC
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'Forminator_CForm_Front_Action' ) ) {
	return;
}

class SHC4WC_Forminator_Submitter extends Forminator_CForm_Front_Action {

	/**
	 * Replay a stored submission after Square hosted checkout.
	 *
	 * @return array|false
	 */
	public function submit_from_request() {
		$this->init_properties();
		return $this->handle_form();
	}
}
