Example #1
0
 /**
  * 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://secure.merchantwarrior.com';
     $this->gatewayUrlQuery = 'https://api.merchantwarrior.com/post/';
     $this->ipnLogFile = 'mwarrior.ipn_results.log';
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $this->gatewayUrl = 'https://checkout.globalgatewaye4.firstdata.com/payment';
     $this->ipnLogFile = 'authorize.ipn_results.log';
     // Populate $fields array with a few default
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     //$this->gatewayUrl = 'https://www.nsiapay.com/ipg_payment/RegisterOrderInfo';
     //$this->gatewayUrl = 'https://pay.doku.com/ipg_payment/RegisterOrderInfo';
     $this->gatewayUrl = 'https://pay.doku.com/DokuSuite/Channel';
     $this->ipnLogFile = 'nsiapay.ipn_results.log';
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->gatewayUrl = 'https://www.paypal.com/cgi-bin/webscr';
     $this->ipnLogFile = 'log.txt';
     $this->addField('rm', '2');
     $this->addField('cmd', '_xclick');
 }
 /**
  * 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';
 }
Example #7
0
 public function __construct()
 {
     parent::__construct();
     $this->setPaymentName(self::NAME);
     $this->setDisplayName(self::DISPLAY_NAME);
     $this->setPaymentImage(self::PAYMENT_IMAGE);
     $this->setTestMode(FALSE);
     $this->setTermAndConditions("Only works with verve");
     $this->setViewLink('_online');
 }
Example #8
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');
 }
Example #9
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 = 'paypal.ipn_results.log';
     // Populate $fields array with a few default
     $this->addField('rm', '2');
     // Return method = POST
     $this->addField('cmd', '_xclick');
 }
Example #10
0
 public function __construct()
 {
     parent::__construct();
     $this->requried_fields = array('interswitchProductID', 'interswitchItemID', 'site_redirect_url', 'MAC_key');
     $this->setPaymentName(self::NAME);
     $this->setDisplayName(self::DISPLAY_NAME);
     $this->setPaymentImage(self::PAYMENT_IMAGE);
     $this->setTestMode(FALSE);
     $this->setTermAndConditions("Only works with visa");
     $this->setViewLink('_online');
 }
Example #11
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 = 'protected/runtime/paypal.ipn_results.log';
     // Populate $fields array with a few default
     $this->addField('rm', '2');
     // Return method = POST
     $this->addField('cmd', '_ext-enter');
     $this->addField('redirect_cmd', '_cart');
     $this->addField('upload', '1');
 }
Example #12
0
 /**
  * Initialize the eway gateway
  *
  * @param none
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Some default values of the class
     $eway_settings = get_option('event_espresso_eway_settings');
     switch ($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
 }
Example #13
0
    /**
     * Initialize the nab gateway
     *
     * @param none
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
        $this->gatewayUrl = 'https://transact.nab.com.au/live/directpost/genfingerprint
';
    }