/**
  * Setup main plugin class
  *
  * @since 3.0
  */
 public function __construct()
 {
     parent::__construct(self::PLUGIN_ID, self::VERSION, self::TEXT_DOMAIN, array('gateways' => array(self::CREDIT_CARD_GATEWAY_ID => self::CREDIT_CARD_GATEWAY_CLASS_NAME, self::ECHECK_GATEWAY_ID => self::ECHECK_GATEWAY_CLASS_NAME), 'dependencies' => array('SimpleXML', 'xmlwriter', 'dom'), 'require_ssl' => true, 'supports' => array(self::FEATURE_CAPTURE_CHARGE)));
     // Load gateway files after woocommerce is loaded
     add_action('sv_wc_framework_plugins_loaded', array($this, 'includes'), 11);
     // load templates
     add_action('init', array($this, 'include_template_functions'), 25);
     if (is_admin() && !defined('DOING_AJAX')) {
         // handle activating/deactivating legacy SIM gateway
         add_action('admin_action_wc_authorize_net_toggle_sim', array($this, 'maybe_toggle_sim_gateway'));
     }
 }
 /**
  * Setup main plugin class
  *
  * @since 1.0
  * @return \WC_Authorize_Net_CIM
  */
 public function __construct()
 {
     parent::__construct(self::PLUGIN_ID, self::VERSION, array('gateways' => array(self::CREDIT_CARD_GATEWAY_ID => self::CREDIT_CARD_GATEWAY_CLASS_NAME, self::ECHECK_GATEWAY_ID => self::ECHECK_GATEWAY_CLASS_NAME), 'dependencies' => array('SimpleXML', 'xmlwriter', 'dom'), 'require_ssl' => true, 'supports' => array(self::FEATURE_CAPTURE_CHARGE, self::FEATURE_MY_PAYMENT_METHODS, self::FEATURE_CUSTOMER_ID)));
     // Load gateway files after woocommerce is loaded
     add_action('sv_wc_framework_plugins_loaded', array($this, 'includes'), 11);
 }
 /**
  * Setup main plugin class
  *
  * @since 1.0
  */
 public function __construct()
 {
     parent::__construct(self::PLUGIN_ID, self::VERSION, array('gateways' => array(self::CREDIT_CARD_GATEWAY_ID => self::CREDIT_CARD_GATEWAY_CLASS_NAME), 'dependencies' => array('SimpleXML', 'xmlwriter', 'dom', 'iconv'), 'require_ssl' => true, 'supports' => array(self::FEATURE_CUSTOMER_ID, self::FEATURE_CAPTURE_CHARGE, self::FEATURE_MY_PAYMENT_METHODS)));
     // Load gateway files after woocommerce is loaded
     add_action('sv_wc_framework_plugins_loaded', array($this, 'includes'), 11);
     add_action('init', array($this, 'include_template_functions'), 25);
     if (is_admin() && !is_ajax()) {
         // render the "View Transaction" link in the order edit page
         add_action('admin_footer-post.php', array($this, 'render_view_transaction_form'));
         add_action('admin_init', array($this, 'enqueue_order_admin_js'));
     }
 }