Icepay_IceAdvanced - Version 1.1.7

Version Notes

- Added Afterpay support for Customer Reward Points module
- Fixed error message when an incorrect address is added for Afterpay.
- Added support for ICEPAY's AutoCapture

Download this release

Release Info

Developer Olaf Abbenhuis
Extension Icepay_IceAdvanced
Version 1.1.7
Comparing to
See all releases


Code changes from version 1.1.6 to 1.1.7

app/code/community/Icepay/IceAdvanced/Helper/Data.php CHANGED
@@ -17,7 +17,7 @@ class Icepay_IceAdvanced_Helper_Data extends Mage_Core_Helper_Abstract {
17
  /* Install values */
18
 
19
  public $title = "Advanced";
20
- public $version = "1.1.6";
21
  public $id = "ADV";
22
  public $fingerprint = "7f4de76ecbf7d847caeba64c42938a6a05821c4f";
23
  public $compatibility_oldest_version = "1.5.0.0";
17
  /* Install values */
18
 
19
  public $title = "Advanced";
20
+ public $version = "1.1.7";
21
  public $id = "ADV";
22
  public $fingerprint = "7f4de76ecbf7d847caeba64c42938a6a05821c4f";
23
  public $compatibility_oldest_version = "1.5.0.0";
app/code/community/Icepay/IceAdvanced/Model/Extensions/MS/Customerreward.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Icepay_IceAdvanced_Model_Extensions_MS_Customerreward extends Mage_Payment_Model_Method_Abstract {
4
+
5
+ public function addCustomerRewardPrices($orderData) {
6
+ $rawDiscount = $orderData['current_money'];
7
+
8
+ $discount = (int) ($rawDiscount * 100);
9
+
10
+ Icepay_Order::getInstance()
11
+ ->addProduct(Icepay_Order_Product::create()
12
+ ->setProductID('03')
13
+ ->setProductName('Reward Points')
14
+ ->setDescription('Reward Points')
15
+ ->setQuantity(1)
16
+ ->setUnitPrice($discount)
17
+ ->setVATCategory(Icepay_Order_VAT::getCategoryForPercentage(21))
18
+ );
19
+ }
20
+
21
+ }
app/code/community/Icepay/IceAdvanced/Model/Extensions/MW/GiftWrap.php CHANGED
@@ -2,17 +2,6 @@
2
 
3
  class Icepay_IceAdvanced_Model_Extensions_MW_GiftWrap extends Mage_Payment_Model_Method_Abstract {
4
 
5
- public function isGiftWrapInstalled() {
6
- $modules = Mage::getConfig()->getNode('modules')->children();
7
- $modulesArray = (array) $modules;
8
-
9
- if (isset($modulesArray['MW_GiftWrap'])) {
10
- return true;
11
- }
12
-
13
- return false;
14
- }
15
-
16
  public function addGiftWrapPrices($quoteID) {
17
  $collections1 = Mage::getModel('giftwrap/quote')->getCollection()
18
  ->addFieldToFilter('quote_id', array('eq' => $quoteID));
2
 
3
  class Icepay_IceAdvanced_Model_Extensions_MW_GiftWrap extends Mage_Payment_Model_Method_Abstract {
4
 
 
 
 
 
 
 
 
 
 
 
 
5
  public function addGiftWrapPrices($quoteID) {
6
  $collections1 = Mage::getModel('giftwrap/quote')->getCollection()
7
  ->addFieldToFilter('quote_id', array('eq' => $quoteID));
app/code/community/Icepay/IceAdvanced/Model/Observer.php CHANGED
@@ -25,6 +25,27 @@ class Icepay_IceAdvanced_Model_Observer extends Mage_Payment_Block_Form_Containe
25
  private $_advancedSQL = null;
26
  private $_coreSQL = null;
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  public function sales_quote_collect_totals_after(Varien_Event_Observer $observer) {
29
  $paymentMethod = Mage::app()->getFrontController()->getRequest()->getParam('payment');
30
 
@@ -72,11 +93,23 @@ class Icepay_IceAdvanced_Model_Observer extends Mage_Payment_Block_Form_Containe
72
  }
73
  break;
74
  }
 
 
 
 
 
 
 
 
 
 
75
 
76
  if ($message) {
77
  Mage::getSingleton('checkout/session')->addError($message);
78
- Mage::app()->getFrontController()->getResponse()->setRedirect('checkout/cart');
79
- return false;
 
 
80
  }
81
 
82
  return;
25
  private $_advancedSQL = null;
26
  private $_coreSQL = null;
27
 
28
+ private function validateStreetAddress($streetAddress) {
29
+ $pattern = '#^([a-z0-9 [:punct:]\']*) ([0-9]{1,5})([a-z0-9 \-/]{0,})$#i';
30
+
31
+ $aMatch = array();
32
+
33
+ if (preg_match($pattern, $streetAddress, $aMatch)) {
34
+ array_shift($aMatch);
35
+
36
+ $street = array_shift($aMatch);
37
+ $houseNumber = array_shift($aMatch);
38
+
39
+
40
+ if (empty($street) || empty($houseNumber))
41
+ return false;
42
+ } else {
43
+ return false;
44
+ }
45
+
46
+ return true;
47
+ }
48
+
49
  public function sales_quote_collect_totals_after(Varien_Event_Observer $observer) {
50
  $paymentMethod = Mage::app()->getFrontController()->getRequest()->getParam('payment');
51
 
93
  }
94
  break;
95
  }
96
+
97
+ $billingStreetAddress = implode(' ', Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getStreet());
98
+ if (!$this->validateStreetAddress($billingStreetAddress)) {
99
+ $message = "Billing address incorrect.";
100
+ }
101
+
102
+ $shippingStreetAddress = implode(' ', Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getStreet());
103
+ if (!$this->validateStreetAddress($shippingStreetAddress)) {
104
+ $message = "Shipping address incorrect.";
105
+ }
106
 
107
  if ($message) {
108
  Mage::getSingleton('checkout/session')->addError($message);
109
+
110
+ Mage::app()->getResponse()->setRedirect(Mage::getUrl('checkout/cart'));
111
+ Mage::app()->getResponse()->sendResponse();
112
+ exit();
113
  }
114
 
115
  return;
app/code/community/Icepay/IceAdvanced/Model/Pay.php CHANGED
@@ -84,11 +84,16 @@ class Icepay_IceAdvanced_Model_Pay extends Mage_Payment_Model_Method_Abstract {
84
  foreach ($orderItems as $item) {
85
  $itemData = $item->getData();
86
 
 
 
 
87
  $product = Mage::getModel('catalog/product')->load($itemData['product_id']);
88
  $productData = $product->getData();
89
 
90
  $itemData['price'] * $itemData['tax_percent'];
91
 
 
 
92
  if ($productData['tax_class_id'] == '0')
93
  $itemData['tax_percent'] = -1;
94
 
@@ -112,22 +117,29 @@ class Icepay_IceAdvanced_Model_Pay extends Mage_Payment_Model_Method_Abstract {
112
  if ($discount != '0')
113
  $ic_order->setOrderDiscountAmount(-$discount);
114
 
115
- // Set shipping costs
116
- $shippingCosts = ($orderData['shipping_amount'] + $orderData['shipping_tax_amount']) * 100;
117
- $shippingTax = $orderData['shipping_tax_amount'] / $orderData['shipping_amount'] * 100;
 
 
 
 
 
 
118
 
119
- $ic_order->setShippingCosts($shippingCosts, $shippingTax);
120
-
121
- // There should be a general extension model that checks if extension is installed, instead of giving each extension an isInstalled function
122
- $giftWrapExtension = Mage::getModel('iceadvanced/extensions_MW_GiftWrap');
123
-
124
- if ($giftWrapExtension->isGiftWrapInstalled()) {
125
  $giftWrapExtension->addGiftWrapPrices($session->getLastQuoteId());
126
  }
127
-
 
 
 
 
 
128
  // Log the XML Send
129
  Mage::helper("icecore")->log(serialize(Icepay_Order::getInstance()->createXML()));
130
- }
131
 
132
  try {
133
  $checkoutResult = $webservice->doCheckout(
84
  foreach ($orderItems as $item) {
85
  $itemData = $item->getData();
86
 
87
+ if ($itemData['price'] == 0)
88
+ continue;
89
+
90
  $product = Mage::getModel('catalog/product')->load($itemData['product_id']);
91
  $productData = $product->getData();
92
 
93
  $itemData['price'] * $itemData['tax_percent'];
94
 
95
+ $itemData['price_incl_tax'] = number_format($itemData['price_incl_tax'], 2);
96
+
97
  if ($productData['tax_class_id'] == '0')
98
  $itemData['tax_percent'] = -1;
99
 
117
  if ($discount != '0')
118
  $ic_order->setOrderDiscountAmount(-$discount);
119
 
120
+ // Set shipping costs
121
+ if ($orderData['shipping_amount'] != 0) {
122
+ $shippingCosts = ($orderData['shipping_amount'] + $orderData['shipping_tax_amount']) * 100;
123
+ $shippingTax = $orderData['shipping_tax_amount'] / $orderData['shipping_amount'] * 100;
124
+
125
+ $ic_order->setShippingCosts($shippingCosts, $shippingTax);
126
+ } else {
127
+ $ic_order->setShippingCosts(0, -1);
128
+ }
129
 
130
+ if (Mage::helper('icecore')->isModuleInstalled('MW_GiftWrap')) {
131
+ $giftWrapExtension = Mage::getModel('iceadvanced/extensions_MW_GiftWrap');
 
 
 
 
132
  $giftWrapExtension->addGiftWrapPrices($session->getLastQuoteId());
133
  }
134
+
135
+ if (Mage::helper('icecore')->isModuleInstalled('Magestore_Customerreward')) {
136
+ $customerRewardExtension = Mage::getModel('iceadvanced/extensions_MS_Customerreward');
137
+ $customerRewardExtension->addCustomerRewardPrices($orderData);
138
+ }
139
+
140
  // Log the XML Send
141
  Mage::helper("icecore")->log(serialize(Icepay_Order::getInstance()->createXML()));
142
+ }
143
 
144
  try {
145
  $checkoutResult = $webservice->doCheckout(
app/code/community/Icepay/IceAdvanced/Model/Webservice.php CHANGED
@@ -25,12 +25,15 @@ extends Icepay_IceCore_Model_Icepay_Webservice_Api {
25
  return $this->webservice($merchantID, $secretCode);
26
  }
27
 
28
- protected function generateChecksum($obj = null) {
29
  $arr = array();
30
 
31
  array_push($arr, $this->getMerchantID());
32
  array_push($arr, $this->getSecretCode());
33
  array_push($arr, $this->getTimeStamp());
 
 
 
34
 
35
  return sha1(implode("|", $arr));
36
  }
25
  return $this->webservice($merchantID, $secretCode);
26
  }
27
 
28
+ protected function generateChecksum($obj = null, $paymentID = null) {
29
  $arr = array();
30
 
31
  array_push($arr, $this->getMerchantID());
32
  array_push($arr, $this->getSecretCode());
33
  array_push($arr, $this->getTimeStamp());
34
+
35
+ if ($paymentID)
36
+ array_push($arr, $paymentID);
37
 
38
  return sha1(implode("|", $arr));
39
  }
app/code/community/Icepay/IceAdvanced/Model/icepay_api_order.php CHANGED
@@ -355,7 +355,7 @@ class Icepay_Order_Address {
355
  */
356
  public function setStreet($street) {
357
  if (empty($street))
358
- throw new Exception('Streetname must be set and cannot be empty.');
359
 
360
  $this->street = trim($street);
361
 
355
  */
356
  public function setStreet($street) {
357
  if (empty($street))
358
+ throw new Exception('Streetname incorrect.');
359
 
360
  $this->street = trim($street);
361
 
app/code/community/Icepay/IceCore/Helper/Data.php CHANGED
@@ -13,215 +13,229 @@
13
  * charged in accordance with the standard ICEPAY tariffs.
14
  *
15
  */
16
-
17
- class Icepay_IceCore_Helper_Data extends Mage_Core_Helper_Abstract
18
- {
19
-
20
- /* Install values */
21
- public $title = "Core";
22
- public $version = "1.1.5";
23
- public $id = "003";
24
- public $fingerprint = "003";
25
- public $compatibility_oldest_version = "1.5.0.0";
26
- public $compatibility_latest_version = "1.7.0.2";
27
- public $section = "icecore";
28
- public $serial_required = "0";
29
-
30
- public $imageDir = "adminhtml/default/default/icepay/images/";
31
- public $imageExtension = "png";
32
- public $defaultLocale = "en_EN";
33
-
34
-
35
- /* Public functions used in all modules */
36
- public function isAdminPage(){
37
- return (Mage::app()->getFrontController()->getRequest()->getParam('section', false) == $this->section)? true: false;
38
- }
39
-
40
- public function hasSOAP(){
41
- return (class_exists("SoapClient"))?true:false;
42
- }
43
-
44
- public function isCompatible($fromVersion, $toVersion){
45
- return ((
46
- str_replace('.', '', Mage::getVersion()) <= str_replace('.', '', $toVersion) &&
47
- str_replace('.', '', Mage::getVersion()) >= str_replace('.', '', $fromVersion)
48
- )?true:false);
49
- }
50
-
51
- public function makeArray($obj) {
52
- if (is_array($obj))
53
- return $obj;
54
-
55
- $arr = array();
56
- array_push($arr, $obj);
57
- return $arr;
 
 
 
 
 
58
  }
59
 
 
 
60
 
61
- public function adminGetFrontScope(){
62
- /* default/websites/stores */
63
- return Mage::app()->getFrontController()->getRequest()->getParam('store');
64
- }
65
 
66
- /* note that this only works in default/stores scope
67
- * If a 0 is returned, it'll be default (admin) store scope ID
68
- */
69
- public function adminGetStoreScopeID(){
70
- if (Mage::app()->getStore($this->getStoreFromRequest())->isAdmin()){
71
- //Store is Admin, so pick the first available store view
72
-
73
- return Mage::app()->getStore()->getId();
74
- }
75
- return Mage::app()->getStore($this->getStoreFromRequest())->getId();
76
- }
77
-
78
- public function getStoreFromRequest(){
79
- return Mage::app()->getFrontController()->getRequest()->getParam('store');
80
- }
81
-
82
- public function adminGetStore(){
83
- return Mage::app()->getStore($this->adminGetStoreScopeID());
84
  }
85
-
86
- public function getStoreFrontURL($action = "result"){
87
- if (Mage::app()->getStore()->getStoreInUrl()) return Mage::app()->getStore($this->adminGetStoreScopeID())->getUrl("icepay/processing/".$action, array('_secure'=>true));
88
- return Mage::app()->getStore()->getUrl("icepay/processing/".$action, array('_secure'=>true));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  }
 
 
90
 
91
- public function getStoreScopeID(){
92
- return (Mage::app()->getStore()->getId() == NULL || Mage::app()->getStore()->isAdmin())?$this->adminGetStoreScopeID():Mage::app()->getStore()->getId();
93
- }
94
-
95
- public function getConfig($str){
96
- return Mage::app()->getStore($this->getStoreScopeID())->getConfig($str);
97
- }
98
 
99
- public function getConfigForStore($storeID, $config){
100
- return Mage::app()->getStore($storeID)->getConfig($config);
101
- }
102
 
103
- public function getMerchantIDForStore($storeID){
104
- return Mage::app()->getStore($storeID)->getConfig(Icepay_IceCore_Model_Config::MERCHANTID);
 
105
  }
106
 
107
- public function getSecretcodeForStore($storeID){
108
- return Mage::app()->getStore($storeID)->getConfig(Icepay_IceCore_Model_Config::SECRETCODE);
 
109
  }
110
 
111
- public function cleanArray($arr){
112
- foreach($arr as $key => $val) $arr[$key] = trim($val);
113
- return array_unique($arr);
114
  }
115
-
116
- public function setImageDir($str){
117
- $this->imageDir = $str;
118
- }
119
-
120
- public function getLangISO2($default = false){
121
- $locale = explode("_", ($default)?$this->defaultLocale:Mage::app()->getLocale()->getLocale());
122
- if (is_array($locale) && !empty($locale)) {
123
- return strtoupper($locale[0]);
124
- }
125
- return "EN";
126
- }
127
-
128
- public function log($str){
129
- Mage::log($str, null, 'icepay.log');
130
- }
131
-
132
- /* Checks */
133
- public function validateMerchantID($val){
134
- $return = array('val'=>false,'msg'=>$this->__("Merchant ID is properly configured"));
135
-
136
- if (!$val){
137
- $return['msg'] = $this->__("Merchant ID not set for this storeview");
138
- return $return;
139
- }
140
-
141
- if (strlen($val) != 5){
142
- $return['msg'] = $this->__("Merchant ID does not contain 5 digits");
143
- return $return;
144
- }
145
-
146
- if (!is_numeric($val)){
147
- $return['msg'] = $this->__("Merchant ID is not numeric");
148
- return $return;
149
- }
150
-
151
- $return['val'] = true;
152
- return $return;
153
- }
154
-
155
- public function toIcon($code, $title=""){
156
- $code = strtolower($code);
157
- if (!$img = $this->getImage("{$code}.{$this->imageExtension}")) return false;
158
- return "<img src=\"{$img}\" id=\"ICEPAY_{$code}\" title=\"{$title}\" >";
159
- }
160
-
161
- public function cleanString($string){
162
- $string = trim($string);
163
- return $string;
164
- }
165
-
166
- public function getImage($img){
167
-
168
- // Get image in lang folder
169
- if (file_exists(
170
- Mage::getModel('core/config')->getOptions()->getSkinDir()."/".$this->imageDir.strtolower($this->getLangISO2())."/".$img
171
- )) return $this->getImageURL().strtolower($this->getLangISO2())."/".$img;
172
-
173
- // Get image in standard lang folder
174
- if (file_exists(
175
- Mage::getModel('core/config')->getOptions()->getSkinDir()."/".$this->imageDir.strtolower($this->getLangISO2(true))."/".$img
176
- )) return $this->getImageURL().strtolower($this->getLangISO2(true))."/".$img;
177
-
178
- // Get standard image
179
- if (file_exists(
180
- Mage::getModel('core/config')->getOptions()->getSkinDir()."/".$this->imageDir.$img
181
- )) return $this->getImageURL().$img;
182
-
183
- //Hmm still no image, lets return the nologo image
184
- if (file_exists(
185
- Mage::getModel('core/config')->getOptions()->getSkinDir()."/".$this->imageDir."nologo.png"
186
- )) return $this->getImageURL()."nologo.png";
187
-
188
- return false;
189
- }
190
-
191
- public function getImageURL(){
192
- return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).$this->imageDir;
193
- }
194
-
195
- public function validateSecretCode($val){
196
- $return = array('val'=>false,'msg'=>$this->__("SecretCode is properly configured"));
197
-
198
- if (!$val){
199
- $return['msg'] = $this->__("SecretCode not set for this storeview");
200
- return $return;
201
- }
202
-
203
- if (strlen($val) != 40){
204
- $return['msg'] = $this->__("SecretCode does not contain 40 characters");
205
- return $return;
206
- }
207
-
208
- $return['val'] = true;
209
-
210
- return $return;
211
- }
212
-
213
- public function getTransactionDescription($default){
214
- return ($statement = $this->getConfig(Icepay_IceCore_Model_Config::TRANSDESCR))?$statement:$default;
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  }
217
 
218
- public function formatTotal($number){
219
- return round($number*100);
 
220
  }
221
 
222
- public function generateChecksum($arr){
223
- return sha1(implode("|",$arr));
224
- }
 
 
 
 
 
 
 
 
 
225
 
 
 
 
226
 
227
  }
13
  * charged in accordance with the standard ICEPAY tariffs.
14
  *
15
  */
16
+ class Icepay_IceCore_Helper_Data extends Mage_Core_Helper_Abstract {
17
+ /* Install values */
18
+
19
+ public $title = "Core";
20
+ public $version = "1.1.7";
21
+ public $id = "003";
22
+ public $fingerprint = "003";
23
+ public $compatibility_oldest_version = "1.5.0.0";
24
+ public $compatibility_latest_version = "1.7.0.2";
25
+ public $section = "icecore";
26
+ public $serial_required = "0";
27
+ public $imageDir = "adminhtml/default/default/icepay/images/";
28
+ public $imageExtension = "png";
29
+ public $defaultLocale = "en_EN";
30
+
31
+ /* Public functions used in all modules */
32
+
33
+ public function isAdminPage() {
34
+ return (Mage::app()->getFrontController()->getRequest()->getParam('section', false) == $this->section) ? true : false;
35
+ }
36
+
37
+ public function hasSOAP() {
38
+ return (class_exists("SoapClient")) ? true : false;
39
+ }
40
+
41
+ public function isCompatible($fromVersion, $toVersion) {
42
+ return ((
43
+ str_replace('.', '', Mage::getVersion()) <= str_replace('.', '', $toVersion) &&
44
+ str_replace('.', '', Mage::getVersion()) >= str_replace('.', '', $fromVersion)
45
+ ) ? true : false);
46
+ }
47
+
48
+ public function makeArray($obj) {
49
+ if (is_array($obj))
50
+ return $obj;
51
+
52
+ $arr = array();
53
+ array_push($arr, $obj);
54
+ return $arr;
55
+ }
56
+
57
+ public function isModuleInstalled($name) {
58
+ $modules = Mage::getConfig()->getNode('modules')->children();
59
+ $modulesArray = (array) $modules;
60
+
61
+ if (isset($modulesArray[$name])) {
62
+ return true;
63
  }
64
 
65
+ return false;
66
+ }
67
 
68
+ public function adminGetFrontScope() {
69
+ /* default/websites/stores */
70
+ return Mage::app()->getFrontController()->getRequest()->getParam('store');
71
+ }
72
 
73
+ /* note that this only works in default/stores scope
74
+ * If a 0 is returned, it'll be default (admin) store scope ID
75
+ */
76
+
77
+ public function adminGetStoreScopeID() {
78
+ if (Mage::app()->getStore($this->getStoreFromRequest())->isAdmin()) {
79
+ //Store is Admin, so pick the first available store view
80
+
81
+ return Mage::app()->getStore()->getId();
 
 
 
 
 
 
 
 
 
82
  }
83
+ return Mage::app()->getStore($this->getStoreFromRequest())->getId();
84
+ }
85
+
86
+ public function getStoreFromRequest() {
87
+ return Mage::app()->getFrontController()->getRequest()->getParam('store');
88
+ }
89
+
90
+ public function adminGetStore() {
91
+ return Mage::app()->getStore($this->adminGetStoreScopeID());
92
+ }
93
+
94
+ public function getStoreFrontURL($action = "result") {
95
+ if (Mage::app()->getStore()->getStoreInUrl())
96
+ return Mage::app()->getStore($this->adminGetStoreScopeID())->getUrl("icepay/processing/" . $action, array('_secure' => true));
97
+ return Mage::app()->getStore()->getUrl("icepay/processing/" . $action, array('_secure' => true));
98
+ }
99
+
100
+ public function getStoreScopeID() {
101
+ return (Mage::app()->getStore()->getId() == NULL || Mage::app()->getStore()->isAdmin()) ? $this->adminGetStoreScopeID() : Mage::app()->getStore()->getId();
102
+ }
103
+
104
+ public function getConfig($str) {
105
+ return Mage::app()->getStore($this->getStoreScopeID())->getConfig($str);
106
+ }
107
+
108
+ public function getConfigForStore($storeID, $config) {
109
+ return Mage::app()->getStore($storeID)->getConfig($config);
110
+ }
111
+
112
+ public function getMerchantIDForStore($storeID) {
113
+ return Mage::app()->getStore($storeID)->getConfig(Icepay_IceCore_Model_Config::MERCHANTID);
114
+ }
115
+
116
+ public function getSecretcodeForStore($storeID) {
117
+ return Mage::app()->getStore($storeID)->getConfig(Icepay_IceCore_Model_Config::SECRETCODE);
118
+ }
119
+
120
+ public function cleanArray($arr) {
121
+ foreach ($arr as $key => $val)
122
+ $arr[$key] = trim($val);
123
+ return array_unique($arr);
124
+ }
125
+
126
+ public function setImageDir($str) {
127
+ $this->imageDir = $str;
128
+ }
129
+
130
+ public function getLangISO2($default = false) {
131
+ $locale = explode("_", ($default) ? $this->defaultLocale : Mage::app()->getLocale()->getLocale());
132
+ if (is_array($locale) && !empty($locale)) {
133
+ return strtoupper($locale[0]);
134
  }
135
+ return "EN";
136
+ }
137
 
138
+ public function log($str) {
139
+ Mage::log($str, null, 'icepay.log');
140
+ }
141
+
142
+ /* Checks */
 
 
143
 
144
+ public function validateMerchantID($val) {
145
+ $return = array('val' => false, 'msg' => $this->__("Merchant ID is properly configured"));
 
146
 
147
+ if (!$val) {
148
+ $return['msg'] = $this->__("Merchant ID not set for this storeview");
149
+ return $return;
150
  }
151
 
152
+ if (strlen($val) != 5) {
153
+ $return['msg'] = $this->__("Merchant ID does not contain 5 digits");
154
+ return $return;
155
  }
156
 
157
+ if (!is_numeric($val)) {
158
+ $return['msg'] = $this->__("Merchant ID is not numeric");
159
+ return $return;
160
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
 
162
+ $return['val'] = true;
163
+ return $return;
164
+ }
165
+
166
+ public function toIcon($code, $title = "") {
167
+ $code = strtolower($code);
168
+ if (!$img = $this->getImage("{$code}.{$this->imageExtension}"))
169
+ return false;
170
+ return "<img src=\"{$img}\" id=\"ICEPAY_{$code}\" title=\"{$title}\" >";
171
+ }
172
+
173
+ public function cleanString($string) {
174
+ $string = trim($string);
175
+ return $string;
176
+ }
177
+
178
+ public function getImage($img) {
179
+
180
+ // Get image in lang folder
181
+ if (file_exists(
182
+ Mage::getModel('core/config')->getOptions()->getSkinDir() . "/" . $this->imageDir . strtolower($this->getLangISO2()) . "/" . $img
183
+ ))
184
+ return $this->getImageURL() . strtolower($this->getLangISO2()) . "/" . $img;
185
+
186
+ // Get image in standard lang folder
187
+ if (file_exists(
188
+ Mage::getModel('core/config')->getOptions()->getSkinDir() . "/" . $this->imageDir . strtolower($this->getLangISO2(true)) . "/" . $img
189
+ ))
190
+ return $this->getImageURL() . strtolower($this->getLangISO2(true)) . "/" . $img;
191
+
192
+ // Get standard image
193
+ if (file_exists(
194
+ Mage::getModel('core/config')->getOptions()->getSkinDir() . "/" . $this->imageDir . $img
195
+ ))
196
+ return $this->getImageURL() . $img;
197
+
198
+ //Hmm still no image, lets return the nologo image
199
+ if (file_exists(
200
+ Mage::getModel('core/config')->getOptions()->getSkinDir() . "/" . $this->imageDir . "nologo.png"
201
+ ))
202
+ return $this->getImageURL() . "nologo.png";
203
+
204
+ return false;
205
+ }
206
+
207
+ public function getImageURL() {
208
+ return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) . $this->imageDir;
209
+ }
210
+
211
+ public function validateSecretCode($val) {
212
+ $return = array('val' => false, 'msg' => $this->__("SecretCode is properly configured"));
213
+
214
+ if (!$val) {
215
+ $return['msg'] = $this->__("SecretCode not set for this storeview");
216
+ return $return;
217
  }
218
 
219
+ if (strlen($val) != 40) {
220
+ $return['msg'] = $this->__("SecretCode does not contain 40 characters");
221
+ return $return;
222
  }
223
 
224
+ $return['val'] = true;
225
+
226
+ return $return;
227
+ }
228
+
229
+ public function getTransactionDescription($default) {
230
+ return ($statement = $this->getConfig(Icepay_IceCore_Model_Config::TRANSDESCR)) ? $statement : $default;
231
+ }
232
+
233
+ public function formatTotal($number) {
234
+ return round($number * 100);
235
+ }
236
 
237
+ public function generateChecksum($arr) {
238
+ return sha1(implode("|", $arr));
239
+ }
240
 
241
  }
app/code/community/Icepay/IceCore/Model/Icepay/Postback.php CHANGED
@@ -53,6 +53,14 @@ class Icepay_IceCore_Model_Icepay_Postback {
53
 
54
  $doSpecialActions = false;
55
 
 
 
 
 
 
 
 
 
56
  if ($this->canUpdateBasedOnIcepayTable($icepayTransaction['status'], $_vars['Status'])) {
57
  /* creating the invoice causes major overhead! Status should to be updated and saved first */
58
  if ($_vars['Status'] == Icepay_IceCore_Model_Config::STATUS_SUCCESS)
@@ -228,28 +236,28 @@ class Icepay_IceCore_Model_Icepay_Postback {
228
  case Icepay_IceCore_Model_Config::STATUS_NEW:
229
  case Icepay_IceCore_Model_Config::STATUS_OPEN:
230
  return (
231
- $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS ||
232
- $newStatus == Icepay_IceCore_Model_Config::STATUS_ERROR ||
233
- $newStatus == Icepay_IceCore_Model_Config::STATUS_AUTH ||
234
- $newStatus == Icepay_IceCore_Model_Config::STATUS_OPEN
235
- );
236
  break;
237
  case Icepay_IceCore_Model_Config::STATUS_AUTH:
238
  return (
239
- $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS ||
240
- $newStatus == Icepay_IceCore_Model_Config::STATUS_ERROR
241
- );
242
  break;
243
  case Icepay_IceCore_Model_Config::STATUS_ERROR:
244
  return (
245
- $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS
246
- );
247
  break;
248
  case Icepay_IceCore_Model_Config::STATUS_SUCCESS:
249
  return (
250
- $newStatus == Icepay_IceCore_Model_Config::STATUS_CHARGEBACK ||
251
- $newStatus == Icepay_IceCore_Model_Config::STATUS_REFUND
252
- );
253
  break;
254
  default:
255
  return false;
@@ -272,18 +280,18 @@ class Icepay_IceCore_Model_Icepay_Postback {
272
 
273
  protected function getMagentoState($icepayStatus) {
274
  switch ($icepayStatus) {
275
- case Icepay_IceCore_Model_Config::STATUS_SUCCESS:
276
  return Mage_Sales_Model_Order::STATE_PROCESSING;
277
  break;
278
- case Icepay_IceCore_Model_Config::STATUS_OPEN:
279
- case Icepay_IceCore_Model_config::STATUS_AUTH:
280
  return Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
281
  break;
282
- case Icepay_IceCore_Model_Config::STATUS_ERROR:
283
  return Mage_Sales_Model_Order::STATE_CANCELED;
284
  break;
285
- case Icepay_IceCore_Model_Config::STATUS_CHARGEBACK:
286
- case Icepay_IceCore_Model_Config::STATUS_REFUND:
287
  return Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW;
288
  break;
289
  default:
53
 
54
  $doSpecialActions = false;
55
 
56
+ if ($_vars['Status'] == Icepay_IceCore_Model_Config::STATUS_AUTH) {
57
+ if (Mage::helper('icecore')->isModuleInstalled('Icepay_AutoCapture')) {
58
+ if (Mage::Helper('icepay_autocapture')->isAutoCaptureActive($this->storeID)) {
59
+ $_vars['Status'] = Icepay_IceCore_Model_Config::STATUS_SUCCESS;
60
+ }
61
+ }
62
+ }
63
+
64
  if ($this->canUpdateBasedOnIcepayTable($icepayTransaction['status'], $_vars['Status'])) {
65
  /* creating the invoice causes major overhead! Status should to be updated and saved first */
66
  if ($_vars['Status'] == Icepay_IceCore_Model_Config::STATUS_SUCCESS)
236
  case Icepay_IceCore_Model_Config::STATUS_NEW:
237
  case Icepay_IceCore_Model_Config::STATUS_OPEN:
238
  return (
239
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS ||
240
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_ERROR ||
241
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_AUTH ||
242
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_OPEN
243
+ );
244
  break;
245
  case Icepay_IceCore_Model_Config::STATUS_AUTH:
246
  return (
247
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS ||
248
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_ERROR
249
+ );
250
  break;
251
  case Icepay_IceCore_Model_Config::STATUS_ERROR:
252
  return (
253
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_SUCCESS
254
+ );
255
  break;
256
  case Icepay_IceCore_Model_Config::STATUS_SUCCESS:
257
  return (
258
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_CHARGEBACK ||
259
+ $newStatus == Icepay_IceCore_Model_Config::STATUS_REFUND
260
+ );
261
  break;
262
  default:
263
  return false;
280
 
281
  protected function getMagentoState($icepayStatus) {
282
  switch ($icepayStatus) {
283
+ case Icepay_IceCore_Model_Config::STATUS_SUCCESS:
284
  return Mage_Sales_Model_Order::STATE_PROCESSING;
285
  break;
286
+ case Icepay_IceCore_Model_Config::STATUS_OPEN:
287
+ case Icepay_IceCore_Model_config::STATUS_AUTH:
288
  return Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
289
  break;
290
+ case Icepay_IceCore_Model_Config::STATUS_ERROR:
291
  return Mage_Sales_Model_Order::STATE_CANCELED;
292
  break;
293
+ case Icepay_IceCore_Model_Config::STATUS_CHARGEBACK:
294
+ case Icepay_IceCore_Model_Config::STATUS_REFUND:
295
  return Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW;
296
  break;
297
  default:
app/code/community/Icepay/IceCore/Model/Icepay/Webservice/Api.php CHANGED
@@ -21,7 +21,6 @@ class Icepay_IceCore_Model_Icepay_Webservice_Api {
21
  protected $url = "https://connect.icepay.com/webservice/icepay.svc?wsdl";
22
 
23
  public function webservice($merchantID, $secretCode) {
24
-
25
  $this->setMerchantID($merchantID);
26
  $this->setSecretCode($secretCode);
27
 
@@ -62,9 +61,11 @@ class Icepay_IceCore_Model_Icepay_Webservice_Api {
62
  protected function generateChecksum($obj = null) {
63
  $arr = array();
64
  array_push($arr, $this->getSecretCode());
 
65
  foreach ($obj as $val) {
66
  array_push($arr, $val);
67
  }
 
68
  return sha1(implode("|", $arr));
69
  }
70
 
@@ -73,7 +74,6 @@ class Icepay_IceCore_Model_Icepay_Webservice_Api {
73
  }
74
 
75
  // Webservice methods below:
76
-
77
  public function doCheckout(
78
  $amount, $country, $currency, $lang, $descr, $paymentmethod, $issuer, $orderID, $reference, $URLCompleted = "", $URLError = ""
79
  ) {
21
  protected $url = "https://connect.icepay.com/webservice/icepay.svc?wsdl";
22
 
23
  public function webservice($merchantID, $secretCode) {
 
24
  $this->setMerchantID($merchantID);
25
  $this->setSecretCode($secretCode);
26
 
61
  protected function generateChecksum($obj = null) {
62
  $arr = array();
63
  array_push($arr, $this->getSecretCode());
64
+
65
  foreach ($obj as $val) {
66
  array_push($arr, $val);
67
  }
68
+
69
  return sha1(implode("|", $arr));
70
  }
71
 
74
  }
75
 
76
  // Webservice methods below:
 
77
  public function doCheckout(
78
  $amount, $country, $currency, $lang, $descr, $paymentmethod, $issuer, $orderID, $reference, $URLCompleted = "", $URLError = ""
79
  ) {
app/code/community/Icepay/IceCore/Model/Mysql4/IceCore.php CHANGED
@@ -163,7 +163,7 @@ class Icepay_IceCore_Model_Mysql4_IceCore extends Mage_Core_Model_Mysql4_Abstrac
163
  $conn = $this->_getReadAdapter();
164
  $select = $conn
165
  ->select()
166
- ->from($this->getTable('icepay_transactions'), array('transaction_data', 'status', 'store_id', 'model', 'order_id'))
167
  ->where(new Zend_Db_Expr("order_id = '" . $id . "'"));
168
  $data = $conn->fetchRow($select);
169
  return $data;
163
  $conn = $this->_getReadAdapter();
164
  $select = $conn
165
  ->select()
166
+ ->from($this->getTable('icepay_transactions'), array('transaction_data', 'transaction_id', 'status', 'store_id', 'model', 'order_id'))
167
  ->where(new Zend_Db_Expr("order_id = '" . $id . "'"));
168
  $data = $conn->fetchRow($select);
169
  return $data;
app/code/community/Icepay/IceCore/etc/system.xml CHANGED
@@ -1,14 +1,17 @@
1
  <?xml version="1.0"?>
2
 
3
  <config>
 
 
 
 
 
 
4
  <sections>
5
  <icecore translate="label comment" module="icecore">
6
- <label>ICEPAY</label>
7
- <tab>sales</tab>
8
-
9
  <frontend_type>text</frontend_type>
10
- <class>icepay-section</class>
11
- <header_css>icepay-header</header_css>
12
  <sort_order>360</sort_order>
13
  <show_in_default>1</show_in_default>
14
  <show_in_website>1</show_in_website>
1
  <?xml version="1.0"?>
2
 
3
  <config>
4
+ <tabs>
5
+ <icepay translate="label" module="icecore">
6
+ <label>Icepay</label>
7
+ <sort_order>99999</sort_order>
8
+ </icepay>
9
+ </tabs>
10
  <sections>
11
  <icecore translate="label comment" module="icecore">
12
+ <label>Advanced</label>
13
+ <tab>icepay</tab>
 
14
  <frontend_type>text</frontend_type>
 
 
15
  <sort_order>360</sort_order>
16
  <show_in_default>1</show_in_default>
17
  <show_in_website>1</show_in_website>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Icepay_IceAdvanced</name>
4
- <version>1.1.6</version>
5
  <stability>stable</stability>
6
  <license>Commercial</license>
7
  <channel>community</channel>
@@ -11,11 +11,13 @@ www.icepay.com</summary>
11
  <description>Enables payments using payment service provider ICEPAY.&#xD;
12
  The Advanced extension includes webservice support&#xD;
13
  This package also contains the Icepay_IceCore extension.</description>
14
- <notes>- Fixed onestepcheckout summary loading issue.</notes>
 
 
15
  <authors><author><name>Olaf Abbenhuis</name><user>Zechiel</user><email>olaf.abbenhuis@icepay.com</email></author><author><name>Wouter van Tilburg</name><user>wvantilburg</user><email>wouter@icepay.eu</email></author></authors>
16
- <date>2013-03-18</date>
17
- <time>09:34:00</time>
18
- <contents><target name="mageetc"><dir name="modules"><file name="Icepay_IceCore.xml" hash="268e777c318f1cd6258a56c3049ac678"/><file name="Icepay_IceAdvanced.xml" hash="069d0a2d2c7a34e366bc2b79483cd2b4"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Icepay_IceCore.csv" hash="e0d67599dc2088767b8ae2b1b601fec8"/><file name="Icepay_IceAdvanced.csv" hash="dd3ba59aeac6ac11d4071bd3529767cd"/></dir><dir name="nl_NL"><file name="Icepay_IceCore.csv" hash="becf356de17d63f4cd237e03b1d704e8"/><file name="Icepay_IceAdvanced.csv" hash="5d1d00bd9add8b1fcb61cd10ee5fa2af"/></dir><dir name="de_DE"><file name="Icepay_IceAdvanced.csv" hash="3cae75009684ac7a1b4afb6667d6a477"/><file name="Icepay_IceCore.csv" hash="e8ad59c02f83d67b31e7bbef3ede043e"/></dir><dir name="es_ES"><file name="Icepay_IceAdvanced.csv" hash="f469c13d48a7361d0346fd29181c8370"/><file name="Icepay_IceCore.csv" hash="fa46bf1feedc31495401dfab9e4232d6"/></dir><dir name="fr_FR"><file name="Icepay_IceAdvanced.csv" hash="66ae26a1d9f20009878f19673d2d67b0"/><file name="Icepay_IceCore.csv" hash="5191576073b592b4285a983cc7fd17dc"/></dir><dir name="it_IT"><file name="Icepay_IceAdvanced.csv" hash="114d8290130a9f090efe210484eff1b9"/><file name="Icepay_IceCore.csv" hash="351fdc02d699cf65d763da8a44479f42"/></dir></target><target name="magecommunity"><dir name="Icepay"><dir name="IceCore"><dir><dir name="Block"><dir name="Adminhtml"><file name="CheckSettings.php" hash="1e37aaa21895b1536895d4b2f2063061"/><file name="GenerateURL.php" hash="1b085eef7e7baff781c814376ab99314"/><dir name="Grid"><file name="Modules.php" hash="10bd64d92a0f0366d6a3ac2a19953725"/></dir><file name="Init.php" hash="0ec5a603fe82b11d7a0a3e7c82265e1a"/></dir><dir name="Front"><file name="Statement.php" hash="85ee089622ff4a3bc15d08f0a2e80813"/><file name="Template.php" hash="06eb31a4a51dc6ee7143d6c8866131d6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6e21b9222a6df079917b0590cde7e193"/></dir><dir name="Model"><file name="Config.php" hash="952b1621e8df054150a357b11f4af177"/><dir name="Icepay"><file name="Postback.php" hash="de72128ef99aa20a4affb5b6c27f9af3"/><file name="Result.php" hash="4bfc63bf6d76d0ddf3045bd855ff9ccc"/><dir name="Webservice"><file name="Api.php" hash="4d2fa70fcdc06117f74c985f573dfcfb"/></dir></dir><dir name="Mysql4"><file name="IceCore.php" hash="d796f09db791d857f257c3ad5ac9e84a"/></dir></dir><dir name="controllers"><file name="AboutController.php" hash="9ca5a652dbf27e57cc7bbcb7ed073e1b"/><file name="CheckController.php" hash="901adc45f9c44fa5b1a11dd36eb025d1"/><file name="IndexController.php" hash="01d74f3579ebf469788ee6e7e41d7b21"/><file name="ProcessingController.php" hash="4cbedbf49193562e9739b0a3d00b3dda"/></dir><dir name="etc"><file name="config.xml" hash="2071cc4fdc92ba6bb586b64d36165759"/><file name="system.xml" hash="9497988c9b4c53db90c59b57867e9de5"/></dir><dir name="sql"><dir name="icepaycore_setup"><file name="mysql4-install-1.0.0.php" hash="bc37063c45b48e52a7e12584daf82aef"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="b1b1dfd41f1aff682dcf34fb544e922e"/></dir></dir></dir></dir><dir name="IceAdvanced"><dir><dir name="Block"><dir name="Adminhtml"><file name="CheckSettings.php" hash="1e9e08f5414b22dd84557ade567aba48"/><dir name="Grid"><file name="Paymentmethods.php" hash="47bb4bc67953abe8c70e131059b24743"/></dir><dir name="Setting"><file name="Paymentmethod.php" hash="dc5548c4bfde0375c3431d8d9972da1f"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Default.php" hash="f96542cd1e5f13f3639ddc93b9c0172c"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="7b2d66dfc4766cbe0b9a4a1530110520"/></dir><dir name="Model"><dir name="Checkout"><dir name="Placeholder"><file name="Paymentmethod01.php" hash="b825da0ac49ce5fba409116b2a46bf4f"/><file name="Paymentmethod02.php" hash="202eac322f5cd2df65034476d3e87dd5"/><file name="Paymentmethod03.php" hash="1f193436b77bed331837ab64d148c977"/><file name="Paymentmethod04.php" hash="3d4775f70070381a492b7207fce0d606"/><file name="Paymentmethod05.php" hash="16f86a94192131bddd0f078501c277d2"/><file name="Paymentmethod06.php" hash="113c6788b168790700d2baacbdbcb20c"/><file name="Paymentmethod07.php" hash="50635324e7913f864af6a32a65e299bb"/><file name="Paymentmethod08.php" hash="dba0bf1fb39667ff4b94dcea6821d372"/><file name="Paymentmethod09.php" hash="0029e9dcbb989ac4c6ae686b5d2db262"/><file name="Paymentmethod10.php" hash="94ff83c6d23c879f27c958de595bff3b"/><file name="Paymentmethod11.php" hash="4725cefbb4cdc69d12961853b4c00d13"/><file name="Paymentmethod12.php" hash="b82d7e8830a7b22f942496614d84f2ed"/><file name="Paymentmethod13.php" hash="43f18f4948afc2f7613b3ad47baa2577"/><file name="Paymentmethod14.php" hash="a04a63494d6e4df283049abfe35f57f8"/><file name="Paymentmethod15.php" hash="a5d02861c4668c74492b1865d471afdf"/><file name="Paymentmethod16.php" hash="a9d90c5414e27f814aa7b1ff1e212682"/><file name="Paymentmethod17.php" hash="e55127cbf73fecbb8ec66848f300c414"/><file name="Paymentmethod18.php" hash="388c76235c1c35a97ab8893d1f672807"/><file name="Paymentmethod19.php" hash="454f5142fb3e17152c137a052e13294c"/><file name="Paymentmethod20.php" hash="638b60e75678908fc92df8b1469a2500"/></dir><file name="Standard.php" hash="0a4eb475728203d20fab78061ab72bfb"/></dir><dir name="Extensions"><dir name="MW"><file name="GiftWrap.php" hash="b41c1b7e4ee1172e29db922c549c9d7b"/></dir></dir><dir name="Mysql4"><file name="IceAdvanced.php" hash="b41ddf849526fcc38e69c6431c613044"/></dir><file name="Observer.php" hash="9ea45b236d3ca30ae1cafa0057034ace"/><file name="Pay.php" hash="d6fd7209393c0f9a9e19c8414af04661"/><file name="Webservice.php" hash="a174ae0689c94abfff98b5c7731f9827"/><file name="icepay_api_order.php" hash="51fdef6f60389489334fa1f08d53e438"/></dir><dir name="controllers"><file name="AjaxController.php" hash="5663eb36613923b2ccd9ede56787a0c9"/><file name="ConfigController.php" hash="9be40c50c69981034a9787a1f2e005f1"/><file name="ProcessingController.php" hash="5d77f6080bdd46bf5aa610e5c4db78e1"/></dir><dir name="etc"><file name="config.xml" hash="6b6b5d7c4ca73f07b53758415484242e"/><file name="system.xml" hash="d8b509ef49a7037cca8f5215a0551fd3"/></dir><dir name="sql"><dir name="icepayadvanced_setup"><file name="mysql4-install-1.0.0.php" hash="f0b069a3503871e8221dc30441012e56"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="6c771822888f14d9679f6b4ab71719c0"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="icepay"><file name="icepay-logo.png" hash="155f2d4dd137423ccbc3d4037cf46d5f"/><file name="logo-currence.png" hash="fa37b87e496d9955ef455e96251bd434"/><file name="logo-thawte.png" hash="dcf93e2d0631b1e2853ce8380d80c125"/><file name="logo-thuiswinkel.png" hash="4a54a5f4e09988a4b16697fe54a462e7"/><file name="nologo.png" hash="72e977c925c8b6c70ff5fb69c0e054c8"/><dir name="nl"><file name="afterpay.png" hash="b9d37ce8c7daad7939f25d4f3f522d28"/><file name="creditcard.png" hash="1036251ede1a09299feecb75043d6e16"/><file name="ddebit.png" hash="2efd78c91a6558f0e5e71a4cdc6f82e4"/><file name="directebank.png" hash="70c2f9d0c6726b7b4b72b97437ed137b"/><file name="elv.png" hash="cdb571467e6e3f0718887ea5c6e9dc24"/><file name="giropay.png" hash="57167e2c98a48f3a24b1743e74f6158a"/><file name="icepay.png" hash="39a55d71460ccce2b65517ce40d3826a"/><file name="ideal.png" hash="fc18c3e422e4163afee4646623b2569b"/><file name="mistercash.png" hash="84164ec464031eb983cf971c93883291"/><file name="nologo.png" hash="59b4f3e8abf4cd51d1c5ab9f1a425999"/><file name="paypal.png" hash="944b54460b95c4842ce19982264e577d"/><file name="paysafecard.png" hash="23deaae36aa2cb0d7ef1c04804e30145"/><file name="wallie.png" hash="489236d8a7d678f355d6401a1f34dd5b"/><file name="wire.png" hash="63be6b74df1fc107d31e7830756ae39b"/></dir><dir name="en"><file name="afterpay.png" hash="b9d37ce8c7daad7939f25d4f3f522d28"/><file name="creditcard.png" hash="1036251ede1a09299feecb75043d6e16"/><file name="ddebit.png" hash="408f41a0650a204cadb791c3e1b0e1a1"/><file name="directebank.png" hash="65bea681edb8442463b96ca0a6d2f604"/><file name="elv.png" hash="cdb571467e6e3f0718887ea5c6e9dc24"/><file name="giropay.png" hash="57167e2c98a48f3a24b1743e74f6158a"/><file name="icepay.png" hash="39a55d71460ccce2b65517ce40d3826a"/><file name="ideal.png" hash="fc18c3e422e4163afee4646623b2569b"/><file name="mistercash.png" hash="84164ec464031eb983cf971c93883291"/><file name="nologo.png" hash="72e977c925c8b6c70ff5fb69c0e054c8"/><file name="paypal.png" hash="944b54460b95c4842ce19982264e577d"/><file name="paysafecard.png" hash="23deaae36aa2cb0d7ef1c04804e30145"/><file name="wallie.png" hash="489236d8a7d678f355d6401a1f34dd5b"/><file name="wire.png" hash="d61bac01ea81d71bebc03f484b883c12"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="icepay"><file name="admin.css" hash="21126dd9de5b86311f8bd9ff8da82f8f"/><file name="general.css" hash="f2d7fc0cfb170a997892a6a3589cf7fc"/><dir name="images"><file name="icepay-logo.png" hash="584d79128e6df216e9f7304329158b56"/><file name="section-logo.png" hash="5242ece5dd1434831174ef7fba8c2c4a"/><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="success_msg_icon.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="button-manual.png" hash="7b708db3c8915897a4e3526389b7e3b2"/><file name="button-movie.png" hash="c164da277349322fcd4480ece39d6e00"/><dir name="nl"><file name="afterpay.png" hash="a3b02f6f3e53f548d58d2da794f4c900"/><file name="creditcard.png" hash="48a101cac247f07311ef3ccf1075092d"/><file name="ddebit.png" hash="89793240543046ce977a11eee9b99368"/><file name="directebank.png" hash="ec990be24336501593956872b5a69a0c"/><file name="elv.png" hash="af722d1a80025fbef18faf9baafe91e3"/><file name="giropay.png" hash="5e167cb8dbe05391b1ecceb02042a158"/><file name="ideal.png" hash="16ecbed935f5fb896620c1ec60d5fecd"/><file name="mistercash.png" hash="fe437531e8ea3160dd3ce7c22c6d1dd7"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="paypal.png" hash="4d28dd0b563dcffb4192b5fe54a43530"/><file name="paysafecard.png" hash="55a46938a74dbba9f8fa2c63e464ae98"/><file name="wallie.png" hash="643897c26a2ad7be40457bc1faafd591"/><file name="wire.png" hash="6027a80b16b699c299e748fc1f891b03"/></dir><dir name="en"><file name="afterpay.png" hash="a3b02f6f3e53f548d58d2da794f4c900"/><file name="creditcard.png" hash="a1f1758c0ed18c576daddfad4e287dcf"/><file name="ddebit.png" hash="8eaa9ca96554a065bba75f3a3c62c25b"/><file name="directebank.png" hash="ec990be24336501593956872b5a69a0c"/><file name="elv.png" hash="af722d1a80025fbef18faf9baafe91e3"/><file name="giropay.png" hash="abbc084008a2bc4692cee1e014e88e01"/><file name="ideal.png" hash="3ad4441b5e59613b07efad0b4c781812"/><file name="mistercash.png" hash="fe437531e8ea3160dd3ce7c22c6d1dd7"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="paypal.png" hash="db854b8832246666da38130f2d527331"/><file name="paysafecard.png" hash="d9fac94c828b6429641e74f027a6e23d"/><file name="wallie.png" hash="9bbc206f96bfeb2ec82a47d6ecbae4b9"/><file name="wire.png" hash="f602b0978725d2663fe69c93276cace0"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecore.xml" hash="98b5a6c55a72ba244b21a5815ae0c4fc"/></dir><dir name="template"><dir name="icepaycore"><file name="grid_modules.phtml" hash="a386ca826b2386094d54cce23fb90170"/></dir><dir name="icepayadvanced"><file name="grid_paymentmethods.phtml" hash="8bf6b91fd7438ffa1d64ee1f96dc0766"/><file name="paymentmethod.phtml" hash="ad3f14775491b77a69c9943eb6a767a5"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="icecore.xml" hash="96ed3cf67c702affdb8869e1a6c5d980"/></dir><dir name="template"><dir name="icepaycore"><dir><dir name="front"><file name="check.phtml" hash="ae5608fb727b2457af10c7bd9faee6d9"/><file name="statement.phtml" hash="7cc11055297c480e75b6f082c41bdaa6"/></dir></dir></dir><dir name="icepayadvanced"><dir><dir name="form"><file name="default.phtml" hash="fdf9eb2d5c4a5ef8f43f6e9d8090ebd4"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Icepay_IceAdvanced</name>
4
+ <version>1.1.7</version>
5
  <stability>stable</stability>
6
  <license>Commercial</license>
7
  <channel>community</channel>
11
  <description>Enables payments using payment service provider ICEPAY.&#xD;
12
  The Advanced extension includes webservice support&#xD;
13
  This package also contains the Icepay_IceCore extension.</description>
14
+ <notes>- Added Afterpay support for Customer Reward Points module &#xD;
15
+ - Fixed error message when an incorrect address is added for Afterpay.&#xD;
16
+ - Added support for ICEPAY's AutoCapture</notes>
17
  <authors><author><name>Olaf Abbenhuis</name><user>Zechiel</user><email>olaf.abbenhuis@icepay.com</email></author><author><name>Wouter van Tilburg</name><user>wvantilburg</user><email>wouter@icepay.eu</email></author></authors>
18
+ <date>2013-05-23</date>
19
+ <time>07:35:48</time>
20
+ <contents><target name="mageetc"><dir name="modules"><file name="Icepay_IceCore.xml" hash="268e777c318f1cd6258a56c3049ac678"/><file name="Icepay_IceAdvanced.xml" hash="069d0a2d2c7a34e366bc2b79483cd2b4"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Icepay_IceCore.csv" hash="e0d67599dc2088767b8ae2b1b601fec8"/><file name="Icepay_IceAdvanced.csv" hash="dd3ba59aeac6ac11d4071bd3529767cd"/></dir><dir name="nl_NL"><file name="Icepay_IceCore.csv" hash="becf356de17d63f4cd237e03b1d704e8"/><file name="Icepay_IceAdvanced.csv" hash="5d1d00bd9add8b1fcb61cd10ee5fa2af"/></dir><dir name="de_DE"><file name="Icepay_IceAdvanced.csv" hash="3cae75009684ac7a1b4afb6667d6a477"/><file name="Icepay_IceCore.csv" hash="e8ad59c02f83d67b31e7bbef3ede043e"/></dir><dir name="es_ES"><file name="Icepay_IceAdvanced.csv" hash="f469c13d48a7361d0346fd29181c8370"/><file name="Icepay_IceCore.csv" hash="fa46bf1feedc31495401dfab9e4232d6"/></dir><dir name="fr_FR"><file name="Icepay_IceAdvanced.csv" hash="66ae26a1d9f20009878f19673d2d67b0"/><file name="Icepay_IceCore.csv" hash="5191576073b592b4285a983cc7fd17dc"/></dir><dir name="it_IT"><file name="Icepay_IceAdvanced.csv" hash="114d8290130a9f090efe210484eff1b9"/><file name="Icepay_IceCore.csv" hash="351fdc02d699cf65d763da8a44479f42"/></dir></target><target name="magecommunity"><dir name="Icepay"><dir name="IceCore"><dir><dir name="Block"><dir name="Adminhtml"><file name="CheckSettings.php" hash="1e37aaa21895b1536895d4b2f2063061"/><file name="GenerateURL.php" hash="1b085eef7e7baff781c814376ab99314"/><dir name="Grid"><file name="Modules.php" hash="10bd64d92a0f0366d6a3ac2a19953725"/></dir><file name="Init.php" hash="0ec5a603fe82b11d7a0a3e7c82265e1a"/></dir><dir name="Front"><file name="Statement.php" hash="85ee089622ff4a3bc15d08f0a2e80813"/><file name="Template.php" hash="06eb31a4a51dc6ee7143d6c8866131d6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="99929c3307825d5abbc9fcd015d486ee"/></dir><dir name="Model"><file name="Config.php" hash="952b1621e8df054150a357b11f4af177"/><dir name="Icepay"><file name="Postback.php" hash="a74d8f8fcfcf1fcca7af10966f4ac738"/><file name="Result.php" hash="4bfc63bf6d76d0ddf3045bd855ff9ccc"/><dir name="Webservice"><file name="Api.php" hash="0248c9464bea2e06c0fa77ca13ab1643"/></dir></dir><dir name="Mysql4"><file name="IceCore.php" hash="08fb084fac507e3caef381c3467db909"/></dir></dir><dir name="controllers"><file name="AboutController.php" hash="9ca5a652dbf27e57cc7bbcb7ed073e1b"/><file name="CheckController.php" hash="901adc45f9c44fa5b1a11dd36eb025d1"/><file name="IndexController.php" hash="01d74f3579ebf469788ee6e7e41d7b21"/><file name="ProcessingController.php" hash="4cbedbf49193562e9739b0a3d00b3dda"/></dir><dir name="etc"><file name="config.xml" hash="2071cc4fdc92ba6bb586b64d36165759"/><file name="system.xml" hash="13f9dd78dc575d5f3338d6ca142f2a0c"/></dir><dir name="sql"><dir name="icepaycore_setup"><file name="mysql4-install-1.0.0.php" hash="bc37063c45b48e52a7e12584daf82aef"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="b1b1dfd41f1aff682dcf34fb544e922e"/></dir></dir></dir></dir><dir name="IceAdvanced"><dir><dir name="Block"><dir name="Adminhtml"><file name="CheckSettings.php" hash="1e9e08f5414b22dd84557ade567aba48"/><dir name="Grid"><file name="Paymentmethods.php" hash="47bb4bc67953abe8c70e131059b24743"/></dir><dir name="Setting"><file name="Paymentmethod.php" hash="dc5548c4bfde0375c3431d8d9972da1f"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Default.php" hash="f96542cd1e5f13f3639ddc93b9c0172c"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="063f2ad8ed3b5663d3eec1fb1d8471fb"/></dir><dir name="Model"><dir name="Checkout"><dir name="Placeholder"><file name="Paymentmethod01.php" hash="b825da0ac49ce5fba409116b2a46bf4f"/><file name="Paymentmethod02.php" hash="202eac322f5cd2df65034476d3e87dd5"/><file name="Paymentmethod03.php" hash="1f193436b77bed331837ab64d148c977"/><file name="Paymentmethod04.php" hash="3d4775f70070381a492b7207fce0d606"/><file name="Paymentmethod05.php" hash="16f86a94192131bddd0f078501c277d2"/><file name="Paymentmethod06.php" hash="113c6788b168790700d2baacbdbcb20c"/><file name="Paymentmethod07.php" hash="50635324e7913f864af6a32a65e299bb"/><file name="Paymentmethod08.php" hash="dba0bf1fb39667ff4b94dcea6821d372"/><file name="Paymentmethod09.php" hash="0029e9dcbb989ac4c6ae686b5d2db262"/><file name="Paymentmethod10.php" hash="94ff83c6d23c879f27c958de595bff3b"/><file name="Paymentmethod11.php" hash="4725cefbb4cdc69d12961853b4c00d13"/><file name="Paymentmethod12.php" hash="b82d7e8830a7b22f942496614d84f2ed"/><file name="Paymentmethod13.php" hash="43f18f4948afc2f7613b3ad47baa2577"/><file name="Paymentmethod14.php" hash="a04a63494d6e4df283049abfe35f57f8"/><file name="Paymentmethod15.php" hash="a5d02861c4668c74492b1865d471afdf"/><file name="Paymentmethod16.php" hash="a9d90c5414e27f814aa7b1ff1e212682"/><file name="Paymentmethod17.php" hash="e55127cbf73fecbb8ec66848f300c414"/><file name="Paymentmethod18.php" hash="388c76235c1c35a97ab8893d1f672807"/><file name="Paymentmethod19.php" hash="454f5142fb3e17152c137a052e13294c"/><file name="Paymentmethod20.php" hash="638b60e75678908fc92df8b1469a2500"/></dir><file name="Standard.php" hash="0a4eb475728203d20fab78061ab72bfb"/></dir><dir name="Extensions"><dir name="MS"><file name="Customerreward.php" hash="19de9518fca762eb13711fbdca0d5376"/></dir><dir name="MW"><file name="GiftWrap.php" hash="8bc1b0152f50ecec9353cf47d6eb5ded"/></dir></dir><dir name="Mysql4"><file name="IceAdvanced.php" hash="b41ddf849526fcc38e69c6431c613044"/></dir><file name="Observer.php" hash="22ba70cdcb42e81306122cffccf2ccdf"/><file name="Pay.php" hash="38b0397ec3dea35a1b4276975a5fe6a5"/><file name="Webservice.php" hash="f8f8109a7c89f97c8cbd17cce5d615fe"/><file name="icepay_api_order.php" hash="0b9947c1132d7a1b4c09c4b910533c33"/></dir><dir name="controllers"><file name="AjaxController.php" hash="5663eb36613923b2ccd9ede56787a0c9"/><file name="ConfigController.php" hash="9be40c50c69981034a9787a1f2e005f1"/><file name="ProcessingController.php" hash="5d77f6080bdd46bf5aa610e5c4db78e1"/></dir><dir name="etc"><file name="config.xml" hash="6b6b5d7c4ca73f07b53758415484242e"/><file name="system.xml" hash="d8b509ef49a7037cca8f5215a0551fd3"/></dir><dir name="sql"><dir name="icepayadvanced_setup"><file name="mysql4-install-1.0.0.php" hash="f0b069a3503871e8221dc30441012e56"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="6c771822888f14d9679f6b4ab71719c0"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="icepay"><file name="icepay-logo.png" hash="155f2d4dd137423ccbc3d4037cf46d5f"/><file name="logo-currence.png" hash="fa37b87e496d9955ef455e96251bd434"/><file name="logo-thawte.png" hash="dcf93e2d0631b1e2853ce8380d80c125"/><file name="logo-thuiswinkel.png" hash="4a54a5f4e09988a4b16697fe54a462e7"/><file name="nologo.png" hash="72e977c925c8b6c70ff5fb69c0e054c8"/><dir name="nl"><file name="afterpay.png" hash="b9d37ce8c7daad7939f25d4f3f522d28"/><file name="creditcard.png" hash="1036251ede1a09299feecb75043d6e16"/><file name="ddebit.png" hash="2efd78c91a6558f0e5e71a4cdc6f82e4"/><file name="directebank.png" hash="70c2f9d0c6726b7b4b72b97437ed137b"/><file name="elv.png" hash="cdb571467e6e3f0718887ea5c6e9dc24"/><file name="giropay.png" hash="57167e2c98a48f3a24b1743e74f6158a"/><file name="icepay.png" hash="39a55d71460ccce2b65517ce40d3826a"/><file name="ideal.png" hash="fc18c3e422e4163afee4646623b2569b"/><file name="mistercash.png" hash="84164ec464031eb983cf971c93883291"/><file name="nologo.png" hash="59b4f3e8abf4cd51d1c5ab9f1a425999"/><file name="paypal.png" hash="944b54460b95c4842ce19982264e577d"/><file name="paysafecard.png" hash="23deaae36aa2cb0d7ef1c04804e30145"/><file name="wallie.png" hash="489236d8a7d678f355d6401a1f34dd5b"/><file name="wire.png" hash="63be6b74df1fc107d31e7830756ae39b"/></dir><dir name="en"><file name="afterpay.png" hash="b9d37ce8c7daad7939f25d4f3f522d28"/><file name="creditcard.png" hash="1036251ede1a09299feecb75043d6e16"/><file name="ddebit.png" hash="408f41a0650a204cadb791c3e1b0e1a1"/><file name="directebank.png" hash="65bea681edb8442463b96ca0a6d2f604"/><file name="elv.png" hash="cdb571467e6e3f0718887ea5c6e9dc24"/><file name="giropay.png" hash="57167e2c98a48f3a24b1743e74f6158a"/><file name="icepay.png" hash="39a55d71460ccce2b65517ce40d3826a"/><file name="ideal.png" hash="fc18c3e422e4163afee4646623b2569b"/><file name="mistercash.png" hash="84164ec464031eb983cf971c93883291"/><file name="nologo.png" hash="72e977c925c8b6c70ff5fb69c0e054c8"/><file name="paypal.png" hash="944b54460b95c4842ce19982264e577d"/><file name="paysafecard.png" hash="23deaae36aa2cb0d7ef1c04804e30145"/><file name="wallie.png" hash="489236d8a7d678f355d6401a1f34dd5b"/><file name="wire.png" hash="d61bac01ea81d71bebc03f484b883c12"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="icepay"><file name="admin.css" hash="65865fc9d5d232853b37ec2188b01c8d"/><file name="general.css" hash="25fbd45dc203dce3f6bf907135a9f841"/><dir name="images"><file name="icepay-logo.png" hash="584d79128e6df216e9f7304329158b56"/><file name="section-logo.png" hash="5242ece5dd1434831174ef7fba8c2c4a"/><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="success_msg_icon.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="button-manual.png" hash="7b708db3c8915897a4e3526389b7e3b2"/><file name="button-movie.png" hash="c164da277349322fcd4480ece39d6e00"/><dir name="nl"><file name="afterpay.png" hash="a3b02f6f3e53f548d58d2da794f4c900"/><file name="creditcard.png" hash="48a101cac247f07311ef3ccf1075092d"/><file name="ddebit.png" hash="89793240543046ce977a11eee9b99368"/><file name="directebank.png" hash="ec990be24336501593956872b5a69a0c"/><file name="elv.png" hash="af722d1a80025fbef18faf9baafe91e3"/><file name="giropay.png" hash="5e167cb8dbe05391b1ecceb02042a158"/><file name="ideal.png" hash="16ecbed935f5fb896620c1ec60d5fecd"/><file name="mistercash.png" hash="fe437531e8ea3160dd3ce7c22c6d1dd7"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="paypal.png" hash="4d28dd0b563dcffb4192b5fe54a43530"/><file name="paysafecard.png" hash="55a46938a74dbba9f8fa2c63e464ae98"/><file name="wallie.png" hash="643897c26a2ad7be40457bc1faafd591"/><file name="wire.png" hash="6027a80b16b699c299e748fc1f891b03"/></dir><dir name="en"><file name="afterpay.png" hash="a3b02f6f3e53f548d58d2da794f4c900"/><file name="creditcard.png" hash="a1f1758c0ed18c576daddfad4e287dcf"/><file name="ddebit.png" hash="8eaa9ca96554a065bba75f3a3c62c25b"/><file name="directebank.png" hash="ec990be24336501593956872b5a69a0c"/><file name="elv.png" hash="af722d1a80025fbef18faf9baafe91e3"/><file name="giropay.png" hash="abbc084008a2bc4692cee1e014e88e01"/><file name="ideal.png" hash="3ad4441b5e59613b07efad0b4c781812"/><file name="mistercash.png" hash="fe437531e8ea3160dd3ce7c22c6d1dd7"/><file name="nologo.png" hash="57404bbcfb3e5a70239d3085e14471cc"/><file name="paypal.png" hash="db854b8832246666da38130f2d527331"/><file name="paysafecard.png" hash="d9fac94c828b6429641e74f027a6e23d"/><file name="wallie.png" hash="9bbc206f96bfeb2ec82a47d6ecbae4b9"/><file name="wire.png" hash="f602b0978725d2663fe69c93276cace0"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecore.xml" hash="98b5a6c55a72ba244b21a5815ae0c4fc"/></dir><dir name="template"><dir name="icepaycore"><file name="grid_modules.phtml" hash="a386ca826b2386094d54cce23fb90170"/></dir><dir name="icepayadvanced"><file name="grid_paymentmethods.phtml" hash="8bf6b91fd7438ffa1d64ee1f96dc0766"/><file name="paymentmethod.phtml" hash="ad3f14775491b77a69c9943eb6a767a5"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="icecore.xml" hash="96ed3cf67c702affdb8869e1a6c5d980"/></dir><dir name="template"><dir name="icepaycore"><dir><dir name="front"><file name="check.phtml" hash="ae5608fb727b2457af10c7bd9faee6d9"/><file name="statement.phtml" hash="7cc11055297c480e75b6f082c41bdaa6"/></dir></dir></dir><dir name="icepayadvanced"><dir><dir name="form"><file name="default.phtml" hash="fdf9eb2d5c4a5ef8f43f6e9d8090ebd4"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
skin/adminhtml/default/default/icepay/admin.css CHANGED
@@ -1,11 +1,10 @@
1
-
2
  #row_icecore_settings_step_1,
3
  #row_icecore_settings_step_2,
4
  #row_icecore_settings_step_3 {
5
- font-weight: bold;
6
- border-bottom-width: 1px;
7
- border-bottom-style: solid;
8
- border-bottom-color: #333;
9
  }
10
  #row_icecore_settings_step_1 .scope-label,
11
  #row_icecore_settings_step_1 .use-default,
@@ -23,8 +22,8 @@
23
  #row_icecore_advanced_settings_manual .scope-label,
24
  #row_icecore_advanced_settings_manual .use-default
25
 
26
- {
27
- display: none;
28
  }
29
 
30
  #row_icecore_settings_merchant_url_notify input,
@@ -42,8 +41,8 @@
42
  #row_icecore_settings_merchant_url_notify label,
43
  #row_icecore_settings_merchant_id label,
44
  #row_icecore_settings_merchant_secret label
45
- {
46
- margin-left: 20px;
47
  }
48
 
49
  /* manual links */
@@ -56,79 +55,79 @@
56
  #row_icecore_settings_manual .btn-movie,
57
  #row_icecore_advanced_settings_manual .btn-manual,
58
  #row_icecore_advanced_settings_manual .btn-movie {
59
- display: inline-block;
60
- background-image: url("images/button-manual.png");
61
- background-repeat: no-repeat;
62
- background-attachment: scroll;
63
- background-position: 0px 0px;
64
- width: 150px;
65
- height: 50px;
66
- float: left;
67
- margin-right: 4px;
68
  }
69
  #row_icecore_settings_manual .btn-movie,
70
  #row_icecore_advanced_settings_manual .btn-movie {
71
- background-image: url("images/button-movie.png");
72
  }
73
 
74
 
75
  .icepay_issuer {
76
- font-size: 9px;
77
- border-bottom: 1px solid #dadfe0;
78
- /*white-space: nowrap;*/
79
  }
80
 
81
  .icepay_url_form {
82
- padding: 2px;
83
- width: 274px;
84
- color:#6f8992;
85
  }
86
 
87
  .icepay_debug {
88
- padding: 4px;
89
- font-size: 9px;
90
- font-weight: bold;
91
- border: 1px solid #c8c8c8;
92
  }
93
  .icepay_debug .ok{
94
- color: #3d6611;
95
- background-color: #eff5ea;
96
- background-image: url("images/success_msg_icon.gif");
97
- background-repeat: no-repeat;
98
- background-attachment: scroll;
99
- background-position: 0px 0px;
100
- padding-left: 20px;
101
  }
102
  .icepay_debug .err{
103
- color: #eb5e00;
104
- background-color: #fff9e9;
105
- background-image: url("images/error_msg_icon.gif");
106
- background-repeat: no-repeat;
107
- background-attachment: scroll;
108
- background-position: 0px 0px;
109
- padding-left: 20px;
110
  }
111
 
112
  .icemodule_incompatible {
113
- background-color: #fff9e9;
114
- font-size: 11px;
115
- font-weight: bold;
116
- color: #eb5e00;
117
  }
118
 
119
  #icepay_statement table {
120
- border: 1px solid #D9DEE4;
121
  }
122
 
123
  #icepay_statement td {
124
- background-color: #FAFBFF;
125
- font-family: Arial, Verdana, sans-serif;
126
- color: #7093a9;
127
- font-size: 12px;
128
- padding: 8px;
129
- text-align: left;
130
  }
131
 
132
  .content-header h3 {
133
- background:url(images/icepay-logo.png) no-repeat 0 0; height:0; overflow:hidden; padding:59px 0 0; width:224px; display:block;
134
- }
 
1
  #row_icecore_settings_step_1,
2
  #row_icecore_settings_step_2,
3
  #row_icecore_settings_step_3 {
4
+ font-weight: bold;
5
+ border-bottom-width: 1px;
6
+ border-bottom-style: solid;
7
+ border-bottom-color: #333;
8
  }
9
  #row_icecore_settings_step_1 .scope-label,
10
  #row_icecore_settings_step_1 .use-default,
22
  #row_icecore_advanced_settings_manual .scope-label,
23
  #row_icecore_advanced_settings_manual .use-default
24
 
25
+ {
26
+ display: none;
27
  }
28
 
29
  #row_icecore_settings_merchant_url_notify input,
41
  #row_icecore_settings_merchant_url_notify label,
42
  #row_icecore_settings_merchant_id label,
43
  #row_icecore_settings_merchant_secret label
44
+ {
45
+ margin-left: 20px;
46
  }
47
 
48
  /* manual links */
55
  #row_icecore_settings_manual .btn-movie,
56
  #row_icecore_advanced_settings_manual .btn-manual,
57
  #row_icecore_advanced_settings_manual .btn-movie {
58
+ display: inline-block;
59
+ background-image: url("images/button-manual.png");
60
+ background-repeat: no-repeat;
61
+ background-attachment: scroll;
62
+ background-position: 0px 0px;
63
+ width: 150px;
64
+ height: 50px;
65
+ float: left;
66
+ margin-right: 4px;
67
  }
68
  #row_icecore_settings_manual .btn-movie,
69
  #row_icecore_advanced_settings_manual .btn-movie {
70
+ background-image: url("images/button-movie.png");
71
  }
72
 
73
 
74
  .icepay_issuer {
75
+ font-size: 9px;
76
+ border-bottom: 1px solid #dadfe0;
77
+ /*white-space: nowrap;*/
78
  }
79
 
80
  .icepay_url_form {
81
+ padding: 2px;
82
+ width: 274px;
83
+ color:#6f8992;
84
  }
85
 
86
  .icepay_debug {
87
+ padding: 4px;
88
+ font-size: 9px;
89
+ font-weight: bold;
90
+ border: 1px solid #c8c8c8;
91
  }
92
  .icepay_debug .ok{
93
+ color: #3d6611;
94
+ background-color: #eff5ea;
95
+ background-image: url("images/success_msg_icon.gif");
96
+ background-repeat: no-repeat;
97
+ background-attachment: scroll;
98
+ background-position: 0px 0px;
99
+ padding-left: 20px;
100
  }
101
  .icepay_debug .err{
102
+ color: #eb5e00;
103
+ background-color: #fff9e9;
104
+ background-image: url("images/error_msg_icon.gif");
105
+ background-repeat: no-repeat;
106
+ background-attachment: scroll;
107
+ background-position: 0px 0px;
108
+ padding-left: 20px;
109
  }
110
 
111
  .icemodule_incompatible {
112
+ background-color: #fff9e9;
113
+ font-size: 11px;
114
+ font-weight: bold;
115
+ color: #eb5e00;
116
  }
117
 
118
  #icepay_statement table {
119
+ border: 1px solid #D9DEE4;
120
  }
121
 
122
  #icepay_statement td {
123
+ background-color: #FAFBFF;
124
+ font-family: Arial, Verdana, sans-serif;
125
+ color: #7093a9;
126
+ font-size: 12px;
127
+ padding: 8px;
128
+ text-align: left;
129
  }
130
 
131
  .content-header h3 {
132
+ background:url(images/icepay-logo.png) no-repeat 0 0; height:0; padding: 25px 0 0 220px; width: 224px; height: 39px; display:block;
133
+ }
skin/adminhtml/default/default/icepay/general.css CHANGED
@@ -6,4 +6,4 @@ ul.tabs a.icepay-section:hover { background:url(../images/tabs_span_bg.gif) repe
6
  ul.tabs a.icepay-section:hover { background-color:#d8e6e6; }
7
  ul.tabs a.icepay-section.active, ul.tabs a.icepay-section.active:hover { background-color:#fff; }
8
  ul.tabs a.icepay-section span,
9
- ul.tabs a.icepay-section:hover span { background:url(images/section-logo.png) no-repeat 0 0; height:0; overflow:hidden; padding:18px 0 0; width:89px; }
6
  ul.tabs a.icepay-section:hover { background-color:#d8e6e6; }
7
  ul.tabs a.icepay-section.active, ul.tabs a.icepay-section.active:hover { background-color:#fff; }
8
  ul.tabs a.icepay-section span,
9
+ ul.tabs a.icepay-section:hover span { background:url(images/section-logo.png) no-repeat 0 0; padding: 0 0 0 80px; }