/** * Set up the gateway */ public function __construct() { parent::__construct('test_gateway', array('dropdown' => 'Developer Gateway', 'admin' => 'Developer Gateway', 'recurring' => true)); add_filter('appthemes_dev_gateway_fields', array($this, 'display_order'), 10, 2); }
/** * Sets up the gateway */ public function __construct() { parent::__construct('paypal', array('dropdown' => __('PayPal', APP_TD), 'admin' => __('PayPal', APP_TD), 'recurring' => true)); add_action('init', array($this, 'register')); $this->bridge = new APP_PayPal_Bridge(); }