/**
  * Initialize the 2CheckOut gateway
  *
  * @param none
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://www.2checkout.com/checkout/purchase';
     $this->ipnLogFile = '2co.ipn_results.log';
 }
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://checkout.e-xact.com/payment';
     $this->ipnLogFile = 'authorize.ipn_results.log';
     // Populate $fields array with a few default
 }
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://secure.merchantwarrior.com';
     $this->gatewayUrlQuery = 'https://api.merchantwarrior.com/post/';
     $this->ipnLogFile = 'mwarrior.ipn_results.log';
 }
Exemple #4
0
 /**
  * Initialize the WorldPay gateway
  *
  * @param none
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://secure.worldpay.com/wcc/purchase';
     $this->ipnLogFile = 'worldpay.ipn_results.log';
     $this->worldpay_gateway_version = '1.0';
 }
 /**
  * Initialize the PayPal gateway
  *
  * @param none
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://www.paypal.com/cgi-bin/webscr';
     $this->ipnLogFile = EVENT_ESPRESSO_UPLOAD_DIR . 'logs/paypal.ipn_results.log';
     // Populate $fields array with a few default
     $this->addField('rm', '2');
     // Return method = POST
     $this->addField('cmd', '_xclick');
 }
Exemple #6
0
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://secure.authorize.net/gateway/transact.dll';
     $this->ipnLogFile = 'authorize.ipn_results.log';
     // Populate $fields array with a few default
     $this->addField('x_Version', '3.0');
     $this->addField('x_Show_Form', 'PAYMENT_FORM');
     $this->addField('x_Relay_Response', 'TRUE');
 }
 /**
  * Initialize the Moneris Hosted Pay Page gateway
  *
  * 	@return 	void
  */
 public function __construct()
 {
     parent::__construct();
     $this->settings = get_option('event_espresso_moneris_hpp_settings');
     // Some default values of the class
     $this->ipnLogFile = EVENT_ESPRESSO_UPLOAD_DIR . 'logs/moneris_hpp.log';
     if (is_writable(EVENT_ESPRESSO_UPLOAD_DIR . 'logs') && !file_exists($this->ipnLogFile)) {
         touch($this->ipnLogFile);
     }
     $this->gatewayUrl = 'https://www3.moneris.com/HPPDP/index.php';
     $this->_verification_url = 'https://www3.moneris.com/HPPDP/verifyTxn.php';
     echo '<!--Event Espresso Moneris Hosted Pay Page Gateway Version ' . $this->gateway_version . '-->';
 }
 /**
  * Initialize the eWay gateway
  *
  * @param none
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->eway_settings = get_option('event_espresso_eway_settings');
     switch ($this->eway_settings['region']) {
         case 'NZ':
             $this->gatewayUrl = 'https://nz.ewaygateway.com/Request/';
             break;
         case 'AU':
             $this->gatewayUrl = 'https://au.ewaygateway.com/Request/';
             break;
         case 'UK':
             $this->gatewayUrl = 'https://payment.ewaygateway.com/Request/';
             break;
     }
     // Populate $fields array with a few default
 }
Exemple #9
0
    /**
     * Initialize the Espresso_nab gateway
     *
     * @param none
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
        $this->gatewayUrl = 'https://transact.nab.com.au/live/directpost/genfingerprint
';
    }