/** * Checkout class constructor. Does the setup of some member variables. * * @return void */ public function __construct() { // Setup the required variables for the PayPal checkout module parent::__construct(); $this->xmlUrl = $GLOBALS['ShopPathSSL'].'/modules/checkout/googlecheckout/xml.php'; $this->_name = GetLang('GoogleCheckoutName'); $this->_image = "google_checkout.gif"; $this->_description = GetLang('GoogleCheckoutDesc'); $this->_help = sprintf(GetLang('GoogleCheckoutHelp'), $this->xmlUrl); $this->_height = 0; if ($this->GetValue('testmode') === 'YES') { $this->_server_type = 'sandbox'; } else { $this->_server_type = 'production'; } if (GetConfig('TaxTypeSelected') == 1 && GetConfig('PricesIncludeTax') == 1) { $this->_help .= MessageBox(GetLang('GoogleCheckoutTaxWarning'), MSG_ERROR); } require_once(dirname(__FILE__).'/library/googlerequest.php'); $this->request = new GoogleRequest($this->GetValue('merchantid'), $this->GetValue('merchanttoken'), $this->_server_type, $this->GetDefaultCurrencyCode()); include_once(dirname(__FILE__).'/library/googleshipping.php'); $this->defaultZoneGFilter = new GoogleShippingFilters(); $this->defaultZoneGFilter->SetAllowedWorldArea(true); }
/** * Checkout class constructor */ public function __construct() { parent::__construct(); $this->_name = GetLang('NabName'); $this->_image = "nab_logo.gif"; $this->_description = GetLang('NabDesc'); $this->_help = sprintf(GetLang('NabHelp'), $GLOBALS['ShopPathSSL']); }
public function __construct() { parent::__construct(); $this->setName(GetLang('EwayName')); $this->setImage("eway_logo.gif"); $this->setDescription(GetLang('EwayDesc')); $this->SetHelpText(GetLang('EwayHelp')); }
/** * The constructor. */ public function __construct() { parent::__construct(); $this->SetImage('paypal_logo.gif'); $this->SetName(GetLang('PayPalExpressName')); $this->SetDescription(GetLang('PayPalExpressDesc')); $this->_help = sprintf(GetLang('PayPalExpressHelp'), GetConfig('ShopPathSSL'), GetConfig('ShopPathSSL')); }
public function __construct() { // Setup the required variables for the MIGS checkout module parent::__construct(); $this->SetName(GetLang('MIGSRedirectName')); $this->SetImage('mastercard_logo.jpg'); $this->SetDescription(GetLang('MIGSRedirectDesc')); $this->SetHelpText(sprintf(GetLang('MIGSRedirectHelp'), $GLOBALS['ShopPath'])); }
public function __construct() { // Setup the required variables for the VCSDIVERTCCFORM checkout module parent::__construct(); $this->_name = GetLang('VCSName'); $this->_image = "virtualterminal.jpg"; $this->_description = GetLang('VCSDesc'); $this->_help = sprintf(GetLang('VCSHelp'), $GLOBALS['ShopPathSSL'],$GLOBALS['ShopPathSSL'],$GLOBALS['ShopPathSSL']); }
/** * The constructor. */ public function __construct() { // Setup the required variables for the Authorize.net checkout module parent::__construct(); $this->SetName(GetLang('AuthorizeNetName')); $this->SetImage("authorizenet_logo.gif"); $this->SetDescription(GetLang('AuthorizeNetDesc')); $this->SetHelpText(sprintf(GetLang('AuthorizeNetHelp'), $GLOBALS['ShopPath'])); }
public function __construct() { // Setup the required variables for the manual credit card module parent::__construct(); $this->_name = GetLang('CCManualName'); $this->_description = GetLang('CCManualDesc'); $this->_help = GetLang('CCManualHelp'); $this->_height = 0; }
/** * The constructor. */ public function __construct() { // Setup the required variables for the PayMate checkout module parent::__construct(); $this->SetName(GetLang('PayMateName')); $this->SetImage('paymate_logo.jpg'); $this->SetDescription(GetLang('PayMateDesc')); $this->SetHelpText(sprintf(GetLang("PayMateHelp"), $GLOBALS['ShopPathSSL'])); }
/** * The constructor. */ public function __construct() { // Setup the required variables for the eWay checkout module parent::__construct(); $this->SetName(GetLang('EWayName')); $this->SetImage('eway_logo.gif'); $this->SetDescription(GetLang('EWayDesc')); $this->SetHelpText(sprintf(GetLang('EWayHelp'), $GLOBALS['ShopPath'])); }
public function __construct() { // Setup the required variables for the LinkPoint Connect checkout module parent::__construct(); $this->_name = GetLang('LinkPointConnectName'); $this->_image = "linkpoint_logo.jpg"; $this->_description = GetLang('LinkPointConnectDesc'); $this->_help = sprintf(GetLang('LinkPointConnectHelp'), $GLOBALS['ShopPathSSL'], $GLOBALS['ShopPathSSL'], $GLOBALS['ShopPathSSL']); }
/** * Checkout class constructor */ public function __construct() { // Setup the required variables for the PayPal checkout module parent::__construct(); $this->_name = GetLang('PayPalName'); $this->_image = "paypal_logo.gif"; $this->_description = GetLang('PayPalDesc'); $this->_help = sprintf(GetLang('PayPalHelp'), $GLOBALS['ShopPathSSL']); }
/** * The constructor. */ public function __construct() { // Setup the required variables for the 2Checkout checkout module parent::__construct(); $this->SetName(GetLang('2CheckoutName')); $this->SetImage("2checkout_logo.gif"); $this->SetDescription(GetLang('2CheckoutDesc')); $this->SetHelpText(sprintf(GetLang('2CheckoutHelp'), $GLOBALS['ShopPathSSL'])); }
public function __construct() { // Setup the required variables for the in store checkout module parent::__construct(); $this->_name = GetLang('InStoreName'); $this->_description = GetLang('InStoreDesc'); $this->_help = GetLang('InStoreHelp'); // This is an offline payment method $this->paymentType = PAYMENT_PROVIDER_OFFLINE; }
public function __construct() { // Setup the required variables for the Cybersouce checkout module parent::__construct(); $this->_name = GetLang($this->_languagePrefix.'Name'); $this->_image = "paymentexpress.png"; $this->_description = GetLang($this->_languagePrefix.'Desc'); $this->_help = sprintf(GetLang($this->_languagePrefix.'Help'), $GLOBALS['ShopPath']); // Help Message $this->_height = 0; }
public function __construct() { // Setup the required variables for the Payflow Pro checkout module parent::__construct(); $this->_name = GetLang('PayflowProName'); $this->_image = "paypal_logo.gif"; $this->_description = GetLang('PayflowProDesc'); $this->_help = sprintf(GetLang('PayflowProHelp'), $GLOBALS['ShopPath']); $this->_file = basename(__FILE__); }
public function __construct() { // Setup the required variables for the iDeal Connect checkout module parent::__construct(); $this->_name = GetLang('iDealName'); $this->_image = "ideal_logo.jpg"; $this->_description = GetLang('iDealDesc'); $this->_help = sprintf(GetLang('iDealHelp'), $GLOBALS['ShopPathSSL'], $GLOBALS['ShopPathSSL'], $GLOBALS['ShopPathSSL']); $this->_file = basename(__FILE__); }
public function __construct() { // Setup the required variables for the WorldPay checkout module parent::__construct(); $this->_name = GetLang('WorldPayName'); $this->_image = "worldpay_logo.gif"; $this->_description = GetLang('WorldPayDesc'); $this->_help = sprintf(GetLang('WorldPayHelp'), $GLOBALS['ShopPathSSL']); $this->_height = 0; }
public function __construct() { // Setup the required variables for the Realex checkout module parent::__construct(); $this->_name = GetLang($this->_languagePrefix.'Name'); $this->_image = "moneybookers.gif"; $this->_description = GetLang($this->_languagePrefix.'Desc'); $this->_help = sprintf(GetLang($this->_languagePrefix.'Help'), $GLOBALS['ShopPath']); // Help Message $this->_height = 0; }
public function __construct() { // Setup the required variables for the money order checkout module parent::__construct(); $this->SetName(GetLang('MoneyOrderName')); $this->_description = GetLang('MoneyOrderDesc'); $this->_help = GetLang('MoneyOrderHelp'); // This is an offline payment method $this->paymentType = PAYMENT_PROVIDER_OFFLINE; }
public function __construct() { // Setup the required variables for the LinkPoint Connect checkout module parent::__construct(); $this->_name = GetLang('LinkPointConnectName'); $this->_image = "firstdata_logo.gif"; $this->_description = GetLang('LinkPointConnectDesc'); $this->_help = GetLang('LinkPointConnectHelp', array( 'shopPathSSL' => $GLOBALS['ShopPathSSL'], )); }
public function __construct() { // Setup the required variables for the AmazonFps checkout module parent::__construct(); $this->_name = GetLang('AmazonFpsName'); $this->_image = "apmark_180x110.jpg"; $this->_description = GetLang('AmazonFpsDesc'); $openPopup = 'openPopup("../modules/checkout/amazonfps/lib/amazontokengenerator.php", "'.GetLang('AmazonFpsName').'");'; $this->_help = sprintf(GetLang($this->_languagePrefix.'Help'), $openPopup); // Help Message $this->_height = 0; }
public function __construct() { // Setup the required variables for the AmazonFps checkout module parent::__construct(); $this->_name = GetLang('AmazonFpsName'); $this->_image = "apmark_180x110.jpg"; $this->_description = GetLang('AmazonFpsDesc'); $this->_help = sprintf(GetLang($this->_languagePrefix . 'Help'), $GLOBALS['ShopPath']); // Help Message $this->_height = 0; }
public function __construct() { // Setup the required variables for the bank deposit checkout module parent::__construct(); $this->_name = GetLang('BankDepositName'); $this->_description = GetLang('BankDepositDesc'); $this->_help = GetLang('BankDepositHelp'); $this->_height = 0; // This is an offline payment method $this->paymentType = PAYMENT_PROVIDER_OFFLINE; }
public function __construct() { // Setup the required variables for the eSelectPlusDP Connect checkout module parent::__construct(); $this->_name = GetLang('eSelectPlusDPName'); $this->_image = "eSelectPlus_logo.gif"; $this->_description = GetLang('eSelectPlusDPDesc'); $this->_help = sprintf(GetLang('eSelectPlusDPHelp'), $GLOBALS['ShopPathSSL']); $this->_height = 0; $this->_file = basename(__FILE__); }
public function __construct() { // Setup the required variables for the eSelectPlus Connect checkout module parent::__construct(); $this->_name = GetLang('eSelectPlusName'); $this->_image = "eSelectPlus_logo.gif"; $this->_description = GetLang('eSelectPlusDesc'); $this->_help = GetLang('eSelectPlusHelp', array( 'shopPathSSL' => $GLOBALS['ShopPathSSL'], )); $this->_height = 0; }
public function __construct() { // Setup the required variables for the BPAY checkout module parent::__construct(); $this->_name = GetLang('BPAYName'); $this->_description = GetLang('BPAYDesc'); $this->_image = "BPAY_logo.gif"; $this->_help = GetLang('BPAYHelp'); $this->_height = 0; // This is an offline payment method $this->paymentType = PAYMENT_PROVIDER_OFFLINE; }
public function __construct() { // Setup the required variables for the USAePay checkout module $this->_languagePrefix = "PayFlowLinks"; parent::__construct(); $this->_id = "checkout_payflowlinks"; $this->_image = "paypal_logo.gif"; $this->_name = GetLang('PayFlowLinksName'); $this->_description = GetLang('PayFlowLinksDesc'); $this->_help = sprintf(GetLang('PayFlowLinksHelp'), $GLOBALS['ShopPathSSL'] . '/finishorder.php?provider=' . $this->GetId(), $GLOBALS['ShopPathSSL'] . '/checkout.php?action=gateway_ping&provider=' . $this->GetId()); $this->_height = 0; $this->requiresSSL = true; $this->_currenciesSupported = array('USD', 'EUR', 'GBP', 'JPY', 'CAD', 'AUD'); $this->_curlSupported = true; $this->_fsocksSupported = true; }
public function __construct() { // Setup the required variables for the checkout module parent::__construct(); $this->_name = GetLang($this->_languagePrefix . 'Name'); // Name of the Checkout Module $this->_description = GetLang($this->_languagePrefix . 'Desc'); // Description if ($this->shoppathssl) { $this->_help = sprintf(GetLang($this->_languagePrefix . 'Help'), $GLOBALS['ShopPathSSL'], $GLOBALS['ShopPathSSL']); // Help Message } else { $this->_help = sprintf(GetLang($this->_languagePrefix . 'Help'), $GLOBALS['ShopPath'], $GLOBALS['ShopPath']); // Help Message } $this->_height = 0; }
public function __construct() { // Setup the required variables for the Ogone checkout module parent::__construct(); $this->_name = GetLang($this->_languagePrefix.'Name'); $this->_image = "logo.gif"; $this->_description = GetLang($this->_languagePrefix.'Desc'); if (($serverIP = GetServerIP()) === false) { $serverIP = GetLang('CantGetServerIP'); } $this->_help = GetLang($this->_languagePrefix.'Help', array( "serverIP" => $serverIP, "checkoutLink" => $GLOBALS['ShopPathSSL'] . "/checkout.php", )); $this->_height = 0; }