// Merge -> revision 8342

This commit is contained in:
rMalie
2011-09-05 14:56:02 +00:00
parent d84373e4d3
commit 3d89058084
46 changed files with 1299 additions and 249 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ class authorizeAIM extends PaymentModule
{
$this->name = 'authorizeaim';
$this->tab = 'payments_gateways';
$this->version = '1.2';
$this->version = '1.2.1';
$this->author = 'PrestaShop';
$this->limited_countries = array('us');
$this->need_instance = 0;
@@ -140,7 +140,7 @@ class authorizeAIM extends PaymentModule
public function hookPayment($params)
{
if (Tools::usingSecureMode() AND Configuration::get('PS_SSL_ENABLED'))
if (Configuration::get('PS_SSL_ENABLED') || (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off'))
{
$invoiceAddress = new Address((int)$params['cart']->id_address_invoice);