Allopass_Hipay - Version 1.0.6

Version Notes

-added order status filter if hipay response is "Authorized" (116) but order is already captured

Download this release

Release Info

Developer Kassim_Profileo
Extension Allopass_Hipay
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.6

app/code/community/Allopass/Hipay/Helper/Data.php CHANGED
@@ -2,6 +2,20 @@
2
  class Allopass_Hipay_Helper_Data extends Mage_Core_Helper_Abstract
3
  {
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  public function checkSignature($signature,$fromNotification = false)
7
  {
2
  class Allopass_Hipay_Helper_Data extends Mage_Core_Helper_Abstract
3
  {
4
 
5
+ public function getHipayMethods()
6
+ {
7
+ $methods = array();
8
+
9
+ foreach (Mage::getStoreConfig('payment') as $code => $data) {
10
+ if(strpos($code, 'hipay') !== false)
11
+ {
12
+ $methods[$code] = $data['model'];
13
+ }
14
+ }
15
+
16
+ return $methods;
17
+
18
+ }
19
 
20
  public function checkSignature($signature,$fromNotification = false)
21
  {
app/code/community/Allopass/Hipay/Model/Api/Request.php CHANGED
@@ -22,6 +22,8 @@ class Allopass_Hipay_Model_Api_Request
22
 
23
  protected $_methodInstance = null;
24
 
 
 
25
  public function __construct( $methodInstance)
26
  {
27
  $this->_methodInstance = $methodInstance[0];
@@ -81,7 +83,7 @@ class Allopass_Hipay_Model_Api_Request
81
  * Get client HTTP
82
  * @return Zend_Http_Client
83
  */
84
- public function getClient($storeId=null)
85
  {
86
  if(is_null($this->_client))
87
  {
@@ -105,8 +107,8 @@ class Allopass_Hipay_Model_Api_Request
105
  $this->_client->setConfig($config);
106
  $this->_client->setHeaders(array('Content-Type'=>'application/xml',
107
  'Accept'=>'application/json'));
108
- $this->_client->setAuth($this->getApiUsername($storeId),
109
- $this->getApiPassword($storeId),
110
  Zend_Http_Client::AUTH_BASIC);
111
  $this->_client->setAdapter($adapter);
112
 
@@ -192,6 +194,7 @@ class Allopass_Hipay_Model_Api_Request
192
  */
193
  public function vaultRequest($action,$params,$storeId=null)
194
  {
 
195
  $uri = $this->getVaultApiEndpoint($storeId) . $action . "/";
196
 
197
  /* @var $response Allopass_Hipay_Model_Api_Response_Vault */
@@ -209,6 +212,7 @@ class Allopass_Hipay_Model_Api_Request
209
  */
210
  public function gatewayRequest($action,$params,$storeId=null)
211
  {
 
212
  $uri = $this->getGatewayApiEndpoint($storeId) . $action;
213
 
214
  /* @var $response Allopass_Hipay_Model_Api_Response_Gateway */
@@ -216,4 +220,15 @@ class Allopass_Hipay_Model_Api_Request
216
  return $response;
217
  }
218
 
 
 
 
 
 
 
 
 
 
 
 
219
  }
22
 
23
  protected $_methodInstance = null;
24
 
25
+ protected $_storeId = null;
26
+
27
  public function __construct( $methodInstance)
28
  {
29
  $this->_methodInstance = $methodInstance[0];
83
  * Get client HTTP
84
  * @return Zend_Http_Client
85
  */
86
+ public function getClient()
87
  {
88
  if(is_null($this->_client))
89
  {
107
  $this->_client->setConfig($config);
108
  $this->_client->setHeaders(array('Content-Type'=>'application/xml',
109
  'Accept'=>'application/json'));
110
+ $this->_client->setAuth($this->getApiUsername($this->getStoreId()),
111
+ $this->getApiPassword($this->getStoreId()),
112
  Zend_Http_Client::AUTH_BASIC);
113
  $this->_client->setAdapter($adapter);
114
 
194
  */
195
  public function vaultRequest($action,$params,$storeId=null)
196
  {
197
+ $this->setStoreId($storeId);
198
  $uri = $this->getVaultApiEndpoint($storeId) . $action . "/";
199
 
200
  /* @var $response Allopass_Hipay_Model_Api_Response_Vault */
212
  */
213
  public function gatewayRequest($action,$params,$storeId=null)
214
  {
215
+ $this->setStoreId($storeId);
216
  $uri = $this->getGatewayApiEndpoint($storeId) . $action;
217
 
218
  /* @var $response Allopass_Hipay_Model_Api_Response_Gateway */
220
  return $response;
221
  }
222
 
223
+ public function setStoreId($storeId)
224
+ {
225
+ $this->_storeId = $storeId;
226
+ return $this;
227
+ }
228
+
229
+ public function getStoreId()
230
+ {
231
+ return $this->_storeId;
232
+ }
233
+
234
  }
app/code/community/Allopass/Hipay/Model/Method/Abstract.php CHANGED
@@ -581,7 +581,7 @@ abstract class Allopass_Hipay_Model_Method_Abstract extends Mage_Payment_Model_M
581
 
582
  $this->_debug($gatewayParams);
583
 
584
- $gatewayResponse = $request->gatewayRequest($action,$gatewayParams);
585
 
586
  $this->_debug($gatewayResponse->debug());
587
 
@@ -781,7 +781,7 @@ abstract class Allopass_Hipay_Model_Method_Abstract extends Mage_Payment_Model_M
781
  $request = Mage::getModel('hipay/api_request',array($this));
782
  $uri = Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_MAINTENANCE . $transactionId;
783
 
784
- $gatewayResponse = $request->gatewayRequest($uri,$gatewayParams);
785
 
786
  $this->_debug($gatewayResponse->debug());
787
 
581
 
582
  $this->_debug($gatewayParams);
583
 
584
+ $gatewayResponse = $request->gatewayRequest($action,$gatewayParams,$payment->getOrder()->getStoreId());
585
 
586
  $this->_debug($gatewayResponse->debug());
587
 
781
  $request = Mage::getModel('hipay/api_request',array($this));
782
  $uri = Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_MAINTENANCE . $transactionId;
783
 
784
+ $gatewayResponse = $request->gatewayRequest($uri,$gatewayParams,$payment->getOrder()->getStoreId());
785
 
786
  $this->_debug($gatewayResponse->debug());
787
 
app/code/community/Allopass/Hipay/Model/Method/Cc.php CHANGED
@@ -111,7 +111,7 @@ class Allopass_Hipay_Model_Method_Cc extends Allopass_Hipay_Model_Method_Abstrac
111
  {
112
  $request = Mage::getModel('hipay/api_request',array($this));
113
  /* @var $request Allopass_Hipay_Model_Api_Request */
114
- $vaultResponse = $request->vaultRequest(Allopass_Hipay_Model_Api_Request::VAULT_ACTION_CREATE, $this->getVaultParams($payment));
115
  $this->_debug($vaultResponse->debug());
116
  $token = $vaultResponse->getToken();
117
  }
@@ -130,7 +130,7 @@ class Allopass_Hipay_Model_Method_Cc extends Allopass_Hipay_Model_Method_Abstrac
130
  {
131
  parent::capture($payment, $amount);
132
 
133
- if ($this->isPreauthorizeCapture($payment))
134
  $this->_preauthorizeCapture($payment, $amount);
135
 
136
  $payment->setSkipTransactionCreation(true);
@@ -166,7 +166,7 @@ class Allopass_Hipay_Model_Method_Cc extends Allopass_Hipay_Model_Method_Abstrac
166
  $this->_debug($gatewayParams);
167
 
168
 
169
- $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_ORDER,$gatewayParams);
170
 
171
  $this->_debug($gatewayResponse->debug());
172
 
111
  {
112
  $request = Mage::getModel('hipay/api_request',array($this));
113
  /* @var $request Allopass_Hipay_Model_Api_Request */
114
+ $vaultResponse = $request->vaultRequest(Allopass_Hipay_Model_Api_Request::VAULT_ACTION_CREATE, $this->getVaultParams($payment),$payment->getOrder()->getStoreId());
115
  $this->_debug($vaultResponse->debug());
116
  $token = $vaultResponse->getToken();
117
  }
130
  {
131
  parent::capture($payment, $amount);
132
 
133
+ if ($this->isPreauthorizeCapture($payment) /*|| $this->orderDue($payment->getOrder())*/)
134
  $this->_preauthorizeCapture($payment, $amount);
135
 
136
  $payment->setSkipTransactionCreation(true);
166
  $this->_debug($gatewayParams);
167
 
168
 
169
+ $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_ORDER,$gatewayParams,$payment->getOrder()->getStoreId());
170
 
171
  $this->_debug($gatewayResponse->debug());
172
 
app/code/community/Allopass/Hipay/Model/Method/Hosted.php CHANGED
@@ -43,7 +43,7 @@ class Allopass_Hipay_Model_Method_Hosted extends Allopass_Hipay_Model_Method_Abs
43
  {
44
  parent::capture($payment, $amount);
45
 
46
- if ($this->isPreauthorizeCapture($payment))
47
  $this->_preauthorizeCapture($payment, $amount);
48
 
49
  $payment->setSkipTransactionCreation(true);
@@ -92,7 +92,7 @@ class Allopass_Hipay_Model_Method_Hosted extends Allopass_Hipay_Model_Method_Abs
92
 
93
  $this->_debug($gatewayParams);
94
 
95
- $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_HOSTED,$gatewayParams);
96
 
97
  $this->_debug($gatewayResponse->debug());
98
 
@@ -105,7 +105,7 @@ class Allopass_Hipay_Model_Method_Hosted extends Allopass_Hipay_Model_Method_Abs
105
 
106
  $this->_debug($gatewayParams);
107
 
108
- $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_ORDER,$gatewayParams);
109
 
110
  $this->_debug($gatewayResponse->debug());
111
 
43
  {
44
  parent::capture($payment, $amount);
45
 
46
+ if ($this->isPreauthorizeCapture($payment) /* || $this->orderDue($payment->getOrder())*/ )
47
  $this->_preauthorizeCapture($payment, $amount);
48
 
49
  $payment->setSkipTransactionCreation(true);
92
 
93
  $this->_debug($gatewayParams);
94
 
95
+ $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_HOSTED,$gatewayParams,$payment->getOrder()->getStoreId());
96
 
97
  $this->_debug($gatewayResponse->debug());
98
 
105
 
106
  $this->_debug($gatewayParams);
107
 
108
+ $gatewayResponse = $request->gatewayRequest(Allopass_Hipay_Model_Api_Request::GATEWAY_ACTION_ORDER,$gatewayParams,$payment->getOrder()->getStoreId());
109
 
110
  $this->_debug($gatewayResponse->debug());
111
 
app/code/community/Allopass/Hipay/Model/Observer.php CHANGED
@@ -7,7 +7,8 @@ class Allopass_Hipay_Model_Observer
7
  public function cancelOrdersInPending()
8
  {
9
 
10
- $methodCodes = array('hipay_cc'=>'hipay/method_cc','hipay_hosted'=>'hipay/method_hosted');
 
11
  foreach ($methodCodes as $methodCode=>$model)
12
  {
13
  if(!Mage::getStoreConfig('payment/'.$methodCode."/cancel_pending_order"))
7
  public function cancelOrdersInPending()
8
  {
9
 
10
+ //$methodCodes = array('hipay_cc'=>'hipay/method_cc','hipay_hosted'=>'hipay/method_hosted');
11
+ $methodCodes = Mage::helper('hipay')->getHipayMethods();
12
  foreach ($methodCodes as $methodCode=>$model)
13
  {
14
  if(!Mage::getStoreConfig('payment/'.$methodCode."/cancel_pending_order"))
app/locale/it_IT/Allopass_Hipay.csv CHANGED
@@ -30,13 +30,14 @@
30
  "Credit Card Number","Numero di carta di credito"
31
  "Credit Card Type","Tipo di carta di credito"
32
  "Credit Card Types","Tipi di carta di credito"
33
- "Expiration Date","Data di scadenza"
 
34
  "Card Verification Number","Codice di verifica della carta"
35
  "Record your card data for a next buy.","Registra la tua carta per il tuo prossimo acquisto."
36
  "Use my recorded card","Usa la mia carta registrata"
37
  "Record new card data","Registra i dati di una nuova carta"
38
- "Not use record card data","Non usare i dati della carta registrata"
39
- "You will be redirect to payment page after submit order.","Sarai reindirizzato alla pagina dei pagamenti dopo aver presentato l'ordine."
40
  "Hipay Credit Card","Carta di credito Hipay"
41
  "Enabled","Abilitata"
42
  "Title","Qualifica"
30
  "Credit Card Number","Numero di carta di credito"
31
  "Credit Card Type","Tipo di carta di credito"
32
  "Credit Card Types","Tipi di carta di credito"
33
+ "Expiration date","Data di scadenza:"
34
+ "Actual card","Carta Attuale:"
35
  "Card Verification Number","Codice di verifica della carta"
36
  "Record your card data for a next buy.","Registra la tua carta per il tuo prossimo acquisto."
37
  "Use my recorded card","Usa la mia carta registrata"
38
  "Record new card data","Registra i dati di una nuova carta"
39
+ "Not use record card data","Continua senza registrare i dati della carta"
40
+ "You will be redirect to payment page after submit order.","Inserirai i dati dopo aver effettuato l'ordine"
41
  "Hipay Credit Card","Carta di credito Hipay"
42
  "Enabled","Abilitata"
43
  "Title","Qualifica"
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Allopass_Hipay</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payment method HIPAY</summary>
10
  <description>Payment method with hosted page and API</description>
11
- <notes>-Fixed bug status complete&#xD;
12
- -Fixed bug payment product sended to TPP in Recurring or oneclick</notes>
13
  <authors><author><name>Kassim_Profileo</name><user>Kassim_Profileo</user><email>kassim@profileo.com</email></author></authors>
14
- <date>2014-09-22</date>
15
- <time>13:01:11</time>
16
- <contents><target name="magecommunity"><dir name="Allopass"><dir name="Hipay"><dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="3dsRule.php" hash="b2e3f5307617948a1c74262ce55419eb"/></dir></dir></dir></dir></dir><dir name="Checkout"><file name="Pending.php" hash="48112f7e2fdcc79ee9431cf5350e223f"/></dir><dir name="Form"><file name="Abstract.php" hash="3a93bc3c0ee9162617437875a86bd36a"/><file name="Cc.php" hash="8be2f51b1ce2274e8afbc9666ed4c9ba"/><file name="Hosted.php" hash="1cbc3fe21de97bba192cd5e651dfaeae"/></dir><dir name="Info"><file name="Cc.php" hash="2f477423660d446c8956b5353b349172"/><file name="Hosted.php" hash="09bc0d102e35da8aad2c81f27cd8ba82"/></dir></dir><dir name="Controller"><file name="Payment.php" hash="b23dffe0f85a48dea1562626e2ab2598"/></dir><dir name="Helper"><file name="Data.php" hash="c7c28e6a329abf688dae1ed491e86e55"/></dir><dir name="Model"><dir name="Api"><dir name="Http"><dir name="Client"><dir name="Adapter"><file name="Curl.php" hash="cebf9e03d310e65f23a2a4ddc980e26f"/><file name="Stream.php" hash="5a110dd1f33ee4c8319cec396fc4fa40"/></dir></dir></dir><file name="Request.php" hash="c73ab07965010a9d5da8a6f988f257e0"/><dir name="Response"><file name="Abstract.php" hash="a430ca978e61796696ae4ead61efdb60"/><file name="Error.php" hash="57386fde5e5993c1126418025093a58a"/><file name="Gateway.php" hash="49b0e43a55e223df601884cfd9a0d2c5"/><file name="Notification.php" hash="0f7373ec3435b477424352c058f42255"/><file name="Vault.php" hash="47b962a59c150ffd653ba4054bc053d0"/></dir></dir><file name="Config.php" hash="7b2b6b8d4568d5ce33decc529e45b60b"/><dir name="Log"><file name="Adapter.php" hash="9d5533d5d3622c72cbc84abfd4e3116c"/></dir><dir name="Method"><file name="Abstract.php" hash="c0bd152b527d47ca336b3be35b1e181c"/><file name="Cbc.php" hash="49d1b0e2ad320c1a78043bb7231de930"/><file name="Cc.php" hash="de29423365d21539b4b2b14dc26fbd32"/><file name="Dexia.php" hash="32d47390b7d48e19e4e5cf2b2abfa0cd"/><file name="Giropay.php" hash="ad5965ae76b9b2b9061f351e9f5fac74"/><file name="Hosted.php" hash="02a38174cb99e4af588060f4468cbb88"/><file name="Ideal.php" hash="2a29b8ae0df1e3ae4e1f27fba31af70b"/><file name="Ing.php" hash="9a8f0a6e4a193c2c234987e4d68d6184"/><file name="Kbc.php" hash="7c3e32222e86261b55b0a64c382d8df9"/><file name="Przelewy24.php" hash="00b695e7b34b69f36d593587a9b5dcdd"/><file name="Przelewy24Api.php" hash="7d594585e929de59d5295bfeeff6b219"/><file name="Qiwi.php" hash="be4c74c534076b8cebd6ca1f74fe3b3b"/><file name="Sisal.php" hash="94565498ace1b5e29ae80e84951d655e"/><file name="SisalApi.php" hash="e0f93a847f833509255e36086faedaa6"/><file name="Sofort.php" hash="fa6cb68aff431c2dc91e7b3c62a29aaa"/><file name="SofortApi.php" hash="7f889f5f0986fc6dce71d847a854f1ab"/><file name="Webmoney.php" hash="33e86795573edcea55546c78ae9267f6"/><file name="WebmoneyApi.php" hash="ce8bc5c4c7ab75907b1ca63fd0ebedee"/><file name="Yandex.php" hash="ad5c8a351029b0f2f2df9806fb3cbb9b"/><file name="YandexApi.php" hash="ef4e7f17fa81f5ed63988054dee12c97"/></dir><file name="Observer.php" hash="a8a071ebc588374f71f8386f430011af"/><dir name="Resource"><dir name="Rule"><file name="Collection.php" hash="b4dd0d851cda670c6aafad0cf588b106"/></dir><file name="Rule.php" hash="115bccaa9e4d37ed03e179147ab3788d"/></dir><dir name="Rule"><dir name="Condition"><file name="Address.php" hash="a3cce578d61204adbc4a3e6c4791d055"/><file name="Combine.php" hash="e57da0bfd13c85721ef06d9f5c1d5a45"/><file name="Customer.php" hash="71117a9fe5f0cba3828da17c316a95a5"/><dir name="Product"><file name="Combine.php" hash="b99adc27124c3c6f56d04f0bcb5a42be"/><file name="Found.php" hash="bc266762458faaba326b7d7245b688a8"/><file name="Subselect.php" hash="5c0d482cddd69d82350bc5fec15c40b7"/></dir><file name="Product.php" hash="5186cb9be313c7a772a11613ff4d1406"/></dir><file name="Config.php" hash="7ae56d141ffa1da19faa2d26831f1c7d"/></dir><file name="Rule.php" hash="f4f865fc7e0e2204fd5b804b0a000ddb"/><dir name="Source"><file name="3ds.php" hash="26e27c20dd31babe710cb9470491fc40"/><file name="CcType.php" hash="1f53fb6d8b95c5457e0e59ab910681ca"/><file name="CcTypeHosted.php" hash="7ba8a5fe85f5a0fd93a8a99064ea5487"/><dir name="Order"><file name="HipayStatusValidate.php" hash="63414f71ce035909310f27842bc1b511"/><dir name="Status"><file name="Accepted.php" hash="20cfc4b9ec26a2b458f8ffc43f6195aa"/><file name="Canceled.php" hash="49a6f0b6033e698fbefe01967b81b21d"/><file name="New.php" hash="226d2f1a5d441dbd6404ea342555e893"/><file name="Refused.php" hash="dbf1ed822488bb0d03f71461c872154d"/></dir><file name="Status.php" hash="395ac5e1567ee6095769abc6ce64fec0"/></dir><file name="PaymentAction.php" hash="10638f85360e7693819cbbfd156bed72"/><file name="Pendingredirect.php" hash="f0c3125415535637c159c97fc2627740"/><file name="Template.php" hash="47d84783ef5e3041bbbe9c5622e7e65f"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RuleController.php" hash="5fcf2a0b9807d0f8089b3f0cdfe30a24"/></dir><file name="CbcController.php" hash="11a793cfef50322482b4d1e44f7fb427"/><file name="CcController.php" hash="2e45012894cac90a24c2017a427258b5"/><file name="CheckoutController.php" hash="8d565df4627074dd62c59e6d5b301ce0"/><file name="DexiaController.php" hash="abafa7205262125aef603f0d51445ebd"/><file name="GiropayController.php" hash="93ebe6d63e60627ee86815a7cc23006b"/><file name="HostedController.php" hash="f0bd2d41f36b0453e42063531b88d4a3"/><file name="IdealController.php" hash="49bc5c1a52c98cef934b45ce27da574a"/><file name="IngController.php" hash="43b8ae9e752d5268a51a164abc98df9f"/><file name="KbcController.php" hash="fad29361513cc354dcf200fde25265da"/><file name="NotifyController.php" hash="00a9240f4d73645ada386477c6643eb1"/><file name="Przelewy24Controller.php" hash="d6923f98e8a53d8b8becd1d5ef99e0d0"/><file name="Przelewy24apiController.php" hash="bc488ef00a5a063d05aa12c545d8e8fe"/><file name="QiwiController.php" hash="6b3e05b2910dae0b919c50cb06363c57"/><file name="SisalController.php" hash="32bdb5bf400fa1c6ee5bfb2c79b889f9"/><file name="SisalapiController.php" hash="23a04c3fe9470ef98ce84fcf5c1dd9fe"/><file name="SofortController.php" hash="5479f2e8c3043ad0dd51167bd9bcf623"/><file name="SofortapiController.php" hash="74aa59c7c7795f9f61c6b4bfeae193e3"/><file name="WebmoneyController.php" hash="b52fdbc662da23f839750c9919aad809"/><file name="WebmoneyapiController.php" hash="f34dc66aca5218930be548c88e7e9004"/><file name="YandexController.php" hash="629ec07271f8a11d7c88824154b637f0"/><file name="YandexapiController.php" hash="9741c2a9427866895907629af1e9ed98"/></dir><dir name="etc"><file name="config.xml" hash="576c11d95b633d1dbb6e1979cac78452"/><file name="system.xml" hash="22626c43e9acdf8b67b6d9deb9793b53"/></dir><dir name="sql"><dir name="allopass_hipay_setup"><file name="mysql4-install-0.1.0.php" hash="820dc1e282c2c88deeb167d61918088b"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="af83b289e454c2d2ab91d2a6800d079a"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="1aa9291c5ac40a03ccbf3bcb6ce0c47e"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="17ddfaae63edc655fec04dcd5f96136a"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="5dfaafe02016ff47dfd80c89effaaabb"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="hipay.xml" hash="3b054d16830742a04ff9fc49038ddb61"/></dir><dir name="template"><dir name="hipay"><dir name="checkout"><file name="pending.phtml" hash="34e6bba88ea5fdd6b4ea71595de638d6"/></dir><dir name="form"><file name="cc.phtml" hash="402c6497783c1b1a0449e60777b61b9d"/><file name="hosted.phtml" hash="c5775f3b8d2c10b2aa097159385bcca6"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="hipay.xml" hash="d55ac9fc80fa05741c4f7a1457211a77"/></dir><dir name="template"><dir name="hipay"><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="rules.phtml" hash="b25ca0397baffa2306ab70776b2febac"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Allopass_Hipay.xml" hash="fd0ac2e9080c0a432a3a7b6d969171c0"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Allopass_Hipay.csv" hash="3879d574afc3e028875e4f4f846ac104"/></dir><dir name="fr_FR"><file name="Allopass_Hipay.csv" hash="fdc5bb9fe8061f5d0d381d28defa3056"/></dir><dir name="it_IT"><file name="Allopass_Hipay.csv" hash="b00716679b97593a5a7e6a241079993f"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="hipay"><dir name="js"><file name="rules.js" hash="c9f87ded0b3a8505e78ab2584c2f098f"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Allopass_Hipay</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payment method HIPAY</summary>
10
  <description>Payment method with hosted page and API</description>
11
+ <notes>-added order status filter if hipay response is "Authorized" (116) but order is already captured</notes>
 
12
  <authors><author><name>Kassim_Profileo</name><user>Kassim_Profileo</user><email>kassim@profileo.com</email></author></authors>
13
+ <date>2014-12-10</date>
14
+ <time>14:25:11</time>
15
+ <contents><target name="magecommunity"><dir name="Allopass"><dir name="Hipay"><dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="3dsRule.php" hash="b2e3f5307617948a1c74262ce55419eb"/></dir></dir></dir></dir></dir><dir name="Checkout"><file name="Pending.php" hash="48112f7e2fdcc79ee9431cf5350e223f"/></dir><dir name="Form"><file name="Abstract.php" hash="3a93bc3c0ee9162617437875a86bd36a"/><file name="Cc.php" hash="8be2f51b1ce2274e8afbc9666ed4c9ba"/><file name="Hosted.php" hash="1cbc3fe21de97bba192cd5e651dfaeae"/></dir><dir name="Info"><file name="Cc.php" hash="2f477423660d446c8956b5353b349172"/><file name="Hosted.php" hash="09bc0d102e35da8aad2c81f27cd8ba82"/></dir></dir><dir name="Controller"><file name="Payment.php" hash="b23dffe0f85a48dea1562626e2ab2598"/></dir><dir name="Helper"><file name="Data.php" hash="c703b3c4e2db70fe202a597b773e473d"/></dir><dir name="Model"><dir name="Api"><dir name="Http"><dir name="Client"><dir name="Adapter"><file name="Curl.php" hash="cebf9e03d310e65f23a2a4ddc980e26f"/><file name="Stream.php" hash="5a110dd1f33ee4c8319cec396fc4fa40"/></dir></dir></dir><file name="Request.php" hash="eb2b07876f1544ae2066ba23f947dd06"/><dir name="Response"><file name="Abstract.php" hash="a430ca978e61796696ae4ead61efdb60"/><file name="Error.php" hash="57386fde5e5993c1126418025093a58a"/><file name="Gateway.php" hash="49b0e43a55e223df601884cfd9a0d2c5"/><file name="Notification.php" hash="0f7373ec3435b477424352c058f42255"/><file name="Vault.php" hash="47b962a59c150ffd653ba4054bc053d0"/></dir></dir><file name="Config.php" hash="7b2b6b8d4568d5ce33decc529e45b60b"/><dir name="Log"><file name="Adapter.php" hash="9d5533d5d3622c72cbc84abfd4e3116c"/></dir><dir name="Method"><file name="Abstract.php" hash="36b247c58b3a0897dc02deafc0bb610e"/><file name="Cbc.php" hash="49d1b0e2ad320c1a78043bb7231de930"/><file name="Cc.php" hash="3b7ef2efb0995a6d8fef4dfd3eec1f58"/><file name="Dexia.php" hash="32d47390b7d48e19e4e5cf2b2abfa0cd"/><file name="Giropay.php" hash="ad5965ae76b9b2b9061f351e9f5fac74"/><file name="Hosted.php" hash="8270e4e2ae24e922f9b2dcaabcc24eae"/><file name="Ideal.php" hash="2a29b8ae0df1e3ae4e1f27fba31af70b"/><file name="Ing.php" hash="9a8f0a6e4a193c2c234987e4d68d6184"/><file name="Kbc.php" hash="7c3e32222e86261b55b0a64c382d8df9"/><file name="Przelewy24.php" hash="00b695e7b34b69f36d593587a9b5dcdd"/><file name="Przelewy24Api.php" hash="7d594585e929de59d5295bfeeff6b219"/><file name="Qiwi.php" hash="be4c74c534076b8cebd6ca1f74fe3b3b"/><file name="Sisal.php" hash="94565498ace1b5e29ae80e84951d655e"/><file name="SisalApi.php" hash="e0f93a847f833509255e36086faedaa6"/><file name="Sofort.php" hash="fa6cb68aff431c2dc91e7b3c62a29aaa"/><file name="SofortApi.php" hash="7f889f5f0986fc6dce71d847a854f1ab"/><file name="Webmoney.php" hash="33e86795573edcea55546c78ae9267f6"/><file name="WebmoneyApi.php" hash="ce8bc5c4c7ab75907b1ca63fd0ebedee"/><file name="Yandex.php" hash="ad5c8a351029b0f2f2df9806fb3cbb9b"/><file name="YandexApi.php" hash="ef4e7f17fa81f5ed63988054dee12c97"/></dir><file name="Observer.php" hash="0e9460f5e10db055cc9058291d72305c"/><dir name="Resource"><dir name="Rule"><file name="Collection.php" hash="b4dd0d851cda670c6aafad0cf588b106"/></dir><file name="Rule.php" hash="115bccaa9e4d37ed03e179147ab3788d"/></dir><dir name="Rule"><dir name="Condition"><file name="Address.php" hash="a3cce578d61204adbc4a3e6c4791d055"/><file name="Combine.php" hash="e57da0bfd13c85721ef06d9f5c1d5a45"/><file name="Customer.php" hash="71117a9fe5f0cba3828da17c316a95a5"/><dir name="Product"><file name="Combine.php" hash="b99adc27124c3c6f56d04f0bcb5a42be"/><file name="Found.php" hash="bc266762458faaba326b7d7245b688a8"/><file name="Subselect.php" hash="5c0d482cddd69d82350bc5fec15c40b7"/></dir><file name="Product.php" hash="5186cb9be313c7a772a11613ff4d1406"/></dir><file name="Config.php" hash="7ae56d141ffa1da19faa2d26831f1c7d"/></dir><file name="Rule.php" hash="f4f865fc7e0e2204fd5b804b0a000ddb"/><dir name="Source"><file name="3ds.php" hash="26e27c20dd31babe710cb9470491fc40"/><file name="CcType.php" hash="1f53fb6d8b95c5457e0e59ab910681ca"/><file name="CcTypeHosted.php" hash="7ba8a5fe85f5a0fd93a8a99064ea5487"/><dir name="Order"><file name="HipayStatusValidate.php" hash="63414f71ce035909310f27842bc1b511"/><dir name="Status"><file name="Accepted.php" hash="20cfc4b9ec26a2b458f8ffc43f6195aa"/><file name="Canceled.php" hash="49a6f0b6033e698fbefe01967b81b21d"/><file name="New.php" hash="226d2f1a5d441dbd6404ea342555e893"/><file name="Refused.php" hash="dbf1ed822488bb0d03f71461c872154d"/></dir><file name="Status.php" hash="395ac5e1567ee6095769abc6ce64fec0"/></dir><file name="PaymentAction.php" hash="10638f85360e7693819cbbfd156bed72"/><file name="Pendingredirect.php" hash="f0c3125415535637c159c97fc2627740"/><file name="Template.php" hash="47d84783ef5e3041bbbe9c5622e7e65f"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RuleController.php" hash="5fcf2a0b9807d0f8089b3f0cdfe30a24"/></dir><file name="CbcController.php" hash="11a793cfef50322482b4d1e44f7fb427"/><file name="CcController.php" hash="2e45012894cac90a24c2017a427258b5"/><file name="CheckoutController.php" hash="8d565df4627074dd62c59e6d5b301ce0"/><file name="DexiaController.php" hash="abafa7205262125aef603f0d51445ebd"/><file name="GiropayController.php" hash="93ebe6d63e60627ee86815a7cc23006b"/><file name="HostedController.php" hash="f0bd2d41f36b0453e42063531b88d4a3"/><file name="IdealController.php" hash="49bc5c1a52c98cef934b45ce27da574a"/><file name="IngController.php" hash="43b8ae9e752d5268a51a164abc98df9f"/><file name="KbcController.php" hash="fad29361513cc354dcf200fde25265da"/><file name="NotifyController.php" hash="00a9240f4d73645ada386477c6643eb1"/><file name="Przelewy24Controller.php" hash="d6923f98e8a53d8b8becd1d5ef99e0d0"/><file name="Przelewy24apiController.php" hash="bc488ef00a5a063d05aa12c545d8e8fe"/><file name="QiwiController.php" hash="6b3e05b2910dae0b919c50cb06363c57"/><file name="SisalController.php" hash="32bdb5bf400fa1c6ee5bfb2c79b889f9"/><file name="SisalapiController.php" hash="23a04c3fe9470ef98ce84fcf5c1dd9fe"/><file name="SofortController.php" hash="5479f2e8c3043ad0dd51167bd9bcf623"/><file name="SofortapiController.php" hash="74aa59c7c7795f9f61c6b4bfeae193e3"/><file name="WebmoneyController.php" hash="b52fdbc662da23f839750c9919aad809"/><file name="WebmoneyapiController.php" hash="f34dc66aca5218930be548c88e7e9004"/><file name="YandexController.php" hash="629ec07271f8a11d7c88824154b637f0"/><file name="YandexapiController.php" hash="9741c2a9427866895907629af1e9ed98"/></dir><dir name="etc"><file name="config.xml" hash="576c11d95b633d1dbb6e1979cac78452"/><file name="system.xml" hash="22626c43e9acdf8b67b6d9deb9793b53"/></dir><dir name="sql"><dir name="allopass_hipay_setup"><file name="mysql4-install-0.1.0.php" hash="820dc1e282c2c88deeb167d61918088b"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="af83b289e454c2d2ab91d2a6800d079a"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="1aa9291c5ac40a03ccbf3bcb6ce0c47e"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="17ddfaae63edc655fec04dcd5f96136a"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="5dfaafe02016ff47dfd80c89effaaabb"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="hipay.xml" hash="3b054d16830742a04ff9fc49038ddb61"/></dir><dir name="template"><dir name="hipay"><dir name="checkout"><file name="pending.phtml" hash="34e6bba88ea5fdd6b4ea71595de638d6"/></dir><dir name="form"><file name="cc.phtml" hash="402c6497783c1b1a0449e60777b61b9d"/><file name="hosted.phtml" hash="c5775f3b8d2c10b2aa097159385bcca6"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="hipay.xml" hash="d55ac9fc80fa05741c4f7a1457211a77"/></dir><dir name="template"><dir name="hipay"><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="rules.phtml" hash="b25ca0397baffa2306ab70776b2febac"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Allopass_Hipay.xml" hash="fd0ac2e9080c0a432a3a7b6d969171c0"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Allopass_Hipay.csv" hash="3879d574afc3e028875e4f4f846ac104"/></dir><dir name="fr_FR"><file name="Allopass_Hipay.csv" hash="fdc5bb9fe8061f5d0d381d28defa3056"/></dir><dir name="it_IT"><file name="Allopass_Hipay.csv" hash="c663845b70b3fd451df283dd18d8e0bf"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="hipay"><dir name="js"><file name="rules.js" hash="c9f87ded0b3a8505e78ab2584c2f098f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>