コード例 #1
0
ファイル: TwoCo.php プロジェクト: hyrmedia/microweber
 /**
  * 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';
 }
コード例 #2
0
 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';
 }
コード例 #3
0
ファイル: FirstDataE4.php プロジェクト: sriram911/pls
 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
 }
コード例 #4
0
ファイル: Nsiapay.php プロジェクト: hukumonline/store
 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';
 }
コード例 #5
0
ファイル: Paypal.php プロジェクト: pengfeiaaa/web
 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');
 }
コード例 #6
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';
 }
コード例 #7
0
ファイル: Global_pay.php プロジェクト: Rudianasaja/cycommerce
 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');
 }
コード例 #8
0
ファイル: Authorize.php プロジェクト: sriram911/pls
 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');
 }
コード例 #9
0
ファイル: Paypal.php プロジェクト: rinodung/yii-shop
 /**
  * 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');
 }
コード例 #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');
 }
コード例 #11
0
ファイル: Paypal.php プロジェクト: htom78/XZB2c
 /**
  * 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');
 }
コード例 #12
0
ファイル: Eway.php プロジェクト: macconsultinggroup/WordPress
 /**
  * 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
 }
コード例 #13
0
ファイル: Nab.php プロジェクト: macconsultinggroup/WordPress
    /**
     * Initialize the nab gateway
     *
     * @param none
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
        $this->gatewayUrl = 'https://transact.nab.com.au/live/directpost/genfingerprint
';
    }