Version Notes
Paybox module
Download this release
Release Info
Developer | Paybox |
Extension | Paybox_epayment |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.5
- app/code/community/Paybox/Epayment/Block/Info.php +3 -3
- app/code/community/Paybox/Epayment/Helper/Encrypt.php +106 -0
- app/code/community/Paybox/Epayment/Model/Admin/Backend/Encrypted.php +28 -0
- app/code/community/Paybox/Epayment/Model/Config.php +11 -0
- app/code/community/Paybox/Epayment/Model/Observer.php +19 -0
- app/code/community/Paybox/Epayment/Model/Payment/Abstract.php +6 -0
- app/code/community/Paybox/Epayment/controllers/Adminhtml/PbxepController.php +1 -1
- app/code/community/Paybox/Epayment/etc/config.xml +3 -3
- app/code/community/Paybox/Epayment/etc/system.xml +2 -0
- app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-upgrade-2.0.4-2.0.5.php +73 -0
- app/design/adminhtml/default/default/template/pbxep/info/default.phtml +9 -2
- app/locale/fr_FR/Paybox_Epayment.csv +1 -0
- package.xml +6 -6
app/code/community/Paybox/Epayment/Block/Info.php
CHANGED
@@ -146,7 +146,7 @@ class Paybox_Epayment_Block_Info extends Mage_Payment_Block_Info {
|
|
146 |
|
147 |
public function getPartialCaptureUrl() {
|
148 |
$info = $this->getInfo();
|
149 |
-
return Mage::helper("adminhtml")->getUrl("
|
150 |
'order_id' => $info->getOrder()->getId(),
|
151 |
));
|
152 |
}
|
@@ -154,7 +154,7 @@ class Paybox_Epayment_Block_Info extends Mage_Payment_Block_Info {
|
|
154 |
public function getCaptureUrl() {
|
155 |
$data = $this->getPayboxData();
|
156 |
$info = $this->getInfo();
|
157 |
-
return Mage::helper("adminhtml")->getUrl("
|
158 |
'order_id' => $info->getOrder()->getId(),
|
159 |
'transaction' => $data['transaction'],
|
160 |
));
|
@@ -166,7 +166,7 @@ class Paybox_Epayment_Block_Info extends Mage_Payment_Block_Info {
|
|
166 |
$invoices = $order->getInvoiceCollection();
|
167 |
foreach ($invoices as $invoice) {
|
168 |
if ($invoice->canRefund()) {
|
169 |
-
return Mage::helper("adminhtml")->getUrl("
|
170 |
'order_id' => $order->getId(),
|
171 |
'invoice_id' => $invoice->getId(),
|
172 |
));
|
146 |
|
147 |
public function getPartialCaptureUrl() {
|
148 |
$info = $this->getInfo();
|
149 |
+
return Mage::helper("adminhtml")->getUrl("*/sales_order_invoice/start", array(
|
150 |
'order_id' => $info->getOrder()->getId(),
|
151 |
));
|
152 |
}
|
154 |
public function getCaptureUrl() {
|
155 |
$data = $this->getPayboxData();
|
156 |
$info = $this->getInfo();
|
157 |
+
return Mage::helper("adminhtml")->getUrl("*/pbxep/invoice", array(
|
158 |
'order_id' => $info->getOrder()->getId(),
|
159 |
'transaction' => $data['transaction'],
|
160 |
));
|
166 |
$invoices = $order->getInvoiceCollection();
|
167 |
foreach ($invoices as $invoice) {
|
168 |
if ($invoice->canRefund()) {
|
169 |
+
return Mage::helper("adminhtml")->getUrl("*/sales_order_creditmemo/new", array(
|
170 |
'order_id' => $order->getId(),
|
171 |
'invoice_id' => $invoice->getId(),
|
172 |
));
|
app/code/community/Paybox/Epayment/Helper/Encrypt.php
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Paybox Epayment module for Magento
|
4 |
+
*
|
5 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
6 |
+
* available at : http://opensource.org/licenses/osl-3.0.php
|
7 |
+
*
|
8 |
+
* @package Paybox_Epayment
|
9 |
+
* @copyright Copyright (c) 2013-2014 Paybox
|
10 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
|
13 |
+
class Paybox_Epayment_Helper_Encrypt extends Mage_Core_Helper_Abstract {
|
14 |
+
/**
|
15 |
+
* You can change this method if you want to use another key than the
|
16 |
+
* one provided by Magento.
|
17 |
+
* @return string Key used for encryption
|
18 |
+
*/
|
19 |
+
private function _getKey()
|
20 |
+
{
|
21 |
+
$key = (string)Mage::getConfig()->getNode('global/crypt/key');
|
22 |
+
return $key;
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Encrypt $data using 3DES
|
27 |
+
* @param string $data The data to encrypt
|
28 |
+
* @return string The result of encryption
|
29 |
+
* @see Paybox_Epayment_Helper_Encrypt::_getKey()
|
30 |
+
*/
|
31 |
+
public function encrypt($data)
|
32 |
+
{
|
33 |
+
if (empty($data)) {
|
34 |
+
return '';
|
35 |
+
}
|
36 |
+
|
37 |
+
// First encode data to base64 (see end of descrypt)
|
38 |
+
$data = base64_encode($data);
|
39 |
+
|
40 |
+
// Prepare mcrypt
|
41 |
+
$td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_ECB, '');
|
42 |
+
|
43 |
+
// Prepare key
|
44 |
+
$key = $this->_getKey();
|
45 |
+
$key = substr($key, 0, 24);
|
46 |
+
while (strlen($key) < 24) {
|
47 |
+
$key .= substr($key, 0, 24 - strlen($key));
|
48 |
+
}
|
49 |
+
|
50 |
+
// Init vector
|
51 |
+
$size = mcrypt_enc_get_iv_size($td);
|
52 |
+
$iv = mcrypt_create_iv($size, MCRYPT_RAND);
|
53 |
+
mcrypt_generic_init($td, $key, $iv);
|
54 |
+
|
55 |
+
// Encrypt
|
56 |
+
$result = mcrypt_generic($td, $data);
|
57 |
+
|
58 |
+
// Encode (to avoid data loose when saved to database or
|
59 |
+
// any storage that does not support null chars)
|
60 |
+
$result = base64_encode($result);
|
61 |
+
|
62 |
+
return $result;
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Decrypt $data using 3DES
|
67 |
+
* @param string $data The data to decrypt
|
68 |
+
* @return string The result of decryption
|
69 |
+
* @see Paybox_Epayment_Helper_Encrypt::_getKey()
|
70 |
+
*/
|
71 |
+
public function decrypt($data)
|
72 |
+
{
|
73 |
+
if (empty($data)) {
|
74 |
+
return '';
|
75 |
+
}
|
76 |
+
|
77 |
+
// First decode encrypted message (see end of encrypt)
|
78 |
+
$data = base64_decode($data);
|
79 |
+
|
80 |
+
// Prepare mcrypt
|
81 |
+
$td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_ECB, '');
|
82 |
+
|
83 |
+
// Prepare key
|
84 |
+
$key = $this->_getKey();
|
85 |
+
$key = substr($key, 0, 24);
|
86 |
+
while (strlen($key) < 24) {
|
87 |
+
$key .= substr($key, 0, 24 - strlen($key));
|
88 |
+
}
|
89 |
+
|
90 |
+
// Init vector
|
91 |
+
$size = mcrypt_enc_get_iv_size($td);
|
92 |
+
$iv = mcrypt_create_iv($size, MCRYPT_RAND);
|
93 |
+
mcrypt_generic_init($td, $key, $iv);
|
94 |
+
|
95 |
+
// Decrypt
|
96 |
+
$result = mdecrypt_generic($td, $data);
|
97 |
+
|
98 |
+
// Remove any null char (data is base64 encoded so no data loose)
|
99 |
+
$result = rtrim($result, "\0");
|
100 |
+
|
101 |
+
// Decode data
|
102 |
+
$result = base64_decode($result);
|
103 |
+
|
104 |
+
return $result;
|
105 |
+
}
|
106 |
+
}
|
app/code/community/Paybox/Epayment/Model/Admin/Backend/Encrypted.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Paybox Epayment module for Magento
|
4 |
+
*
|
5 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
6 |
+
* available at : http://opensource.org/licenses/osl-3.0.php
|
7 |
+
*
|
8 |
+
* @package Paybox_Epayment
|
9 |
+
* @copyright Copyright (c) 2013-2014 Paybox
|
10 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
|
13 |
+
class Paybox_Epayment_Model_Admin_Backend_Encrypted extends Mage_Core_Model_Config_Data
|
14 |
+
{
|
15 |
+
protected function _afterLoad()
|
16 |
+
{
|
17 |
+
$value = $this->getValue();
|
18 |
+
$value = empty($value) ? false : Mage::helper('pbxep/encrypt')->decrypt($value);
|
19 |
+
$this->setValue($value);
|
20 |
+
}
|
21 |
+
|
22 |
+
protected function _beforeSave()
|
23 |
+
{
|
24 |
+
$value = $this->getValue();
|
25 |
+
$value = Mage::helper('pbxep/encrypt')->encrypt($value);
|
26 |
+
$this->setValue($value);
|
27 |
+
}
|
28 |
+
}
|
app/code/community/Paybox/Epayment/Model/Config.php
CHANGED
@@ -95,6 +95,7 @@ class Paybox_Epayment_Model_Config {
|
|
95 |
throw new Exception('No function ' . $name);
|
96 |
}
|
97 |
|
|
|
98 |
public function getStore() {
|
99 |
if (is_null($this->_store)) {
|
100 |
$this->_store = Mage::app()->getStore();
|
@@ -117,6 +118,16 @@ class Paybox_Epayment_Model_Config {
|
|
117 |
return array();
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
public function getSystemUrls($environment = null) {
|
121 |
return $this->_getUrls('system', $environment);
|
122 |
}
|
95 |
throw new Exception('No function ' . $name);
|
96 |
}
|
97 |
|
98 |
+
|
99 |
public function getStore() {
|
100 |
if (is_null($this->_store)) {
|
101 |
$this->_store = Mage::app()->getStore();
|
118 |
return array();
|
119 |
}
|
120 |
|
121 |
+
public function getHmacKey() {
|
122 |
+
$value = $this->_getConfigValue('pbxep/merchant/hmackey');
|
123 |
+
return Mage::helper('pbxep/encrypt')->decrypt($value);
|
124 |
+
}
|
125 |
+
|
126 |
+
public function getPassword() {
|
127 |
+
$value = $this->_getConfigValue('pbxep/merchant/password');
|
128 |
+
return Mage::helper('pbxep/encrypt')->decrypt($value);
|
129 |
+
}
|
130 |
+
|
131 |
public function getSystemUrls($environment = null) {
|
132 |
return $this->_getUrls('system', $environment);
|
133 |
}
|
app/code/community/Paybox/Epayment/Model/Observer.php
CHANGED
@@ -32,6 +32,22 @@ class Paybox_Epayment_Model_Observer extends Mage_Core_Model_Observer
|
|
32 |
return $this;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
public function onAfterOrderSave($observer) {
|
36 |
// Find the order
|
37 |
$order = $observer->getEvent()->getOrder();
|
@@ -83,6 +99,8 @@ class Paybox_Epayment_Model_Observer extends Mage_Core_Model_Observer
|
|
83 |
return $this;
|
84 |
}
|
85 |
|
|
|
|
|
86 |
$result = false;
|
87 |
$error = 'Unknown error';
|
88 |
try {
|
@@ -95,6 +113,7 @@ class Paybox_Epayment_Model_Observer extends Mage_Core_Model_Observer
|
|
95 |
if (!$result) {
|
96 |
$message = 'Automatic Paybox payment capture failed: %s.';
|
97 |
$message = $method->__($message, $error);
|
|
|
98 |
$status = $order->addStatusHistoryComment($message);
|
99 |
$status->save();
|
100 |
}
|
32 |
return $this;
|
33 |
}
|
34 |
|
35 |
+
public function logDebug($message) {
|
36 |
+
Mage::log($message, Zend_Log::DEBUG, 'paybox-epayment.log');
|
37 |
+
}
|
38 |
+
|
39 |
+
public function logWarning($message) {
|
40 |
+
Mage::log($message, Zend_Log::WARN, 'paybox-epayment.log');
|
41 |
+
}
|
42 |
+
|
43 |
+
public function logError($message) {
|
44 |
+
Mage::log($message, Zend_Log::ERR, 'paybox-epayment.log');
|
45 |
+
}
|
46 |
+
|
47 |
+
public function logFatal($message) {
|
48 |
+
Mage::log($message, Zend_Log::ALERT, 'paybox-epayment.log');
|
49 |
+
}
|
50 |
+
|
51 |
public function onAfterOrderSave($observer) {
|
52 |
// Find the order
|
53 |
$order = $observer->getEvent()->getOrder();
|
99 |
return $this;
|
100 |
}
|
101 |
|
102 |
+
$this->logDebug(sprintf('Order %s: Automatic capture', $order->getIncrementId()));
|
103 |
+
|
104 |
$result = false;
|
105 |
$error = 'Unknown error';
|
106 |
try {
|
113 |
if (!$result) {
|
114 |
$message = 'Automatic Paybox payment capture failed: %s.';
|
115 |
$message = $method->__($message, $error);
|
116 |
+
$this->logDebug(sprintf('Order %s: Automatic capture - %s', $order->getIncrementId(), $message));
|
117 |
$status = $order->addStatusHistoryComment($message);
|
118 |
$status->save();
|
119 |
}
|
app/code/community/Paybox/Epayment/Model/Payment/Abstract.php
CHANGED
@@ -224,6 +224,7 @@ abstract class Paybox_Epayment_Model_Payment_Abstract extends Mage_Payment_Model
|
|
224 |
*/
|
225 |
public function capture(Varien_Object $payment, $amount) {
|
226 |
$order = $payment->getOrder();
|
|
|
227 |
|
228 |
// Currently processing a transaction ? Use it.
|
229 |
if (!is_null($this->_processingTransaction)) {
|
@@ -274,9 +275,13 @@ abstract class Paybox_Epayment_Model_Payment_Abstract extends Mage_Payment_Model
|
|
274 |
}
|
275 |
}
|
276 |
|
|
|
|
|
277 |
// Call Paybox Direct
|
278 |
$paybox = $this->getPaybox();
|
|
|
279 |
$data = $paybox->directCapture($amount, $order, $txn);
|
|
|
280 |
|
281 |
// Message
|
282 |
if ($data['CODEREPONSE'] == '00000') {
|
@@ -287,6 +292,7 @@ abstract class Paybox_Epayment_Model_Payment_Abstract extends Mage_Payment_Model
|
|
287 |
$close = false;
|
288 |
}
|
289 |
$data['status'] = $message;
|
|
|
290 |
|
291 |
// Transaction
|
292 |
$type = Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE;
|
224 |
*/
|
225 |
public function capture(Varien_Object $payment, $amount) {
|
226 |
$order = $payment->getOrder();
|
227 |
+
$this->logDebug(sprintf('Order %s: Capture for %f', $order->getIncrementId(), $amount));
|
228 |
|
229 |
// Currently processing a transaction ? Use it.
|
230 |
if (!is_null($this->_processingTransaction)) {
|
275 |
}
|
276 |
}
|
277 |
|
278 |
+
$this->logDebug(sprintf('Order %s: Capture - transaction %d', $order->getIncrementId(), $txn->getTransactionId()));
|
279 |
+
|
280 |
// Call Paybox Direct
|
281 |
$paybox = $this->getPaybox();
|
282 |
+
$this->logDebug(sprintf('Order %s: Capture - calling directCapture with amount of %f', $order->getIncrementId(), $amount));
|
283 |
$data = $paybox->directCapture($amount, $order, $txn);
|
284 |
+
$this->logDebug(sprintf('Order %s: Capture - response code %s', $order->getIncrementId(), $data['CODEREPONSE']));
|
285 |
|
286 |
// Message
|
287 |
if ($data['CODEREPONSE'] == '00000') {
|
292 |
$close = false;
|
293 |
}
|
294 |
$data['status'] = $message;
|
295 |
+
$this->logDebug(sprintf('Order %s: Capture - %s', $order->getIncrementId(), $message));
|
296 |
|
297 |
// Transaction
|
298 |
$type = Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE;
|
app/code/community/Paybox/Epayment/controllers/Adminhtml/PbxepController.php
CHANGED
@@ -29,6 +29,6 @@ class Paybox_Epayment_Adminhtml_PbxepController extends Mage_Adminhtml_Controlle
|
|
29 |
Mage::getSingleton('adminhtml/session')->setCommentText($this->__('Unable to create an invoice.'));
|
30 |
}
|
31 |
|
32 |
-
$this->_redirect('
|
33 |
}
|
34 |
}
|
29 |
Mage::getSingleton('adminhtml/session')->setCommentText($this->__('Unable to create an invoice.'));
|
30 |
}
|
31 |
|
32 |
+
$this->_redirect('*/sales_order/view', array('order_id' => $orderId));
|
33 |
}
|
34 |
}
|
app/code/community/Paybox/Epayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Paybox_Epayment>
|
5 |
-
<version>2.0.
|
6 |
</Paybox_Epayment>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -154,8 +154,8 @@
|
|
154 |
<site>1999888</site>
|
155 |
<rank>77</rank>
|
156 |
<identifier>3262411</identifier>
|
157 |
-
<
|
158 |
-
<
|
159 |
<hmacalgo>SHA512</hmacalgo>
|
160 |
<subscription>flexible</subscription>
|
161 |
</merchant>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Paybox_Epayment>
|
5 |
+
<version>2.0.5</version>
|
6 |
</Paybox_Epayment>
|
7 |
</modules>
|
8 |
<frontend>
|
154 |
<site>1999888</site>
|
155 |
<rank>77</rank>
|
156 |
<identifier>3262411</identifier>
|
157 |
+
<default_password>1999888I</default_password>
|
158 |
+
<default_hmackey>0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF</default_hmackey>
|
159 |
<hmacalgo>SHA512</hmacalgo>
|
160 |
<subscription>flexible</subscription>
|
161 |
</merchant>
|
app/code/community/Paybox/Epayment/etc/system.xml
CHANGED
@@ -103,6 +103,7 @@
|
|
103 |
<label>HMAC</label>
|
104 |
<comment><![CDATA[Secrete HMAC key to create using the Paybox interface.]]></comment>
|
105 |
<frontend_type>text</frontend_type>
|
|
|
106 |
<config_path>pbxep/merchant/hmackey</config_path>
|
107 |
<validate>required-entry</validate>
|
108 |
<sort_order>50</sort_order>
|
@@ -114,6 +115,7 @@
|
|
114 |
<label>Paybox Back Office password</label>
|
115 |
<comment><![CDATA[Back Office password provided by Paybox.]]></comment>
|
116 |
<frontend_type>text</frontend_type>
|
|
|
117 |
<config_path>pbxep/merchant/password</config_path>
|
118 |
<sort_order>40</sort_order>
|
119 |
<show_in_default>1</show_in_default>
|
103 |
<label>HMAC</label>
|
104 |
<comment><![CDATA[Secrete HMAC key to create using the Paybox interface.]]></comment>
|
105 |
<frontend_type>text</frontend_type>
|
106 |
+
<backend_model>pbxep/admin_backend_encrypted</backend_model>
|
107 |
<config_path>pbxep/merchant/hmackey</config_path>
|
108 |
<validate>required-entry</validate>
|
109 |
<sort_order>50</sort_order>
|
115 |
<label>Paybox Back Office password</label>
|
116 |
<comment><![CDATA[Back Office password provided by Paybox.]]></comment>
|
117 |
<frontend_type>text</frontend_type>
|
118 |
+
<backend_model>pbxep/admin_backend_encrypted</backend_model>
|
119 |
<config_path>pbxep/merchant/password</config_path>
|
120 |
<sort_order>40</sort_order>
|
121 |
<show_in_default>1</show_in_default>
|
app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-upgrade-2.0.4-2.0.5.php
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Paybox Epayment module for Magento
|
4 |
+
*
|
5 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
6 |
+
* available at : http://opensource.org/licenses/osl-3.0.php
|
7 |
+
*
|
8 |
+
* @package Paybox_Epayment
|
9 |
+
* @copyright Copyright (c) 2013-2014 Paybox
|
10 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
|
13 |
+
// Initialization
|
14 |
+
$installer = $this;
|
15 |
+
$installer->startSetup();
|
16 |
+
|
17 |
+
$crypt = Mage::helper('pbxep/encrypt');
|
18 |
+
|
19 |
+
$res = Mage::getSingleton('core/resource');
|
20 |
+
$cnx = $res->getConnection('core-write');
|
21 |
+
$table = $res->getTableName('core_config_data');
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Encrypt existing data
|
25 |
+
*/
|
26 |
+
// Find raw values
|
27 |
+
$query = 'select config_id, value from '.$table.' where path in ("pbxep/merchant/hmackey", "pbxep/merchant/password")';
|
28 |
+
$rows = $cnx->fetchAll($query);
|
29 |
+
|
30 |
+
// Process each vlaue
|
31 |
+
foreach ($rows as $row) {
|
32 |
+
$id = $row['config_id'];
|
33 |
+
$value = $row['value'];
|
34 |
+
|
35 |
+
// Encrypt the value
|
36 |
+
$value = $crypt->encrypt($value);
|
37 |
+
|
38 |
+
// And save to the db
|
39 |
+
$cnx->update(
|
40 |
+
$table,
|
41 |
+
array('value' => $value),
|
42 |
+
array('config_id = ?' => $id)
|
43 |
+
);
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Add default data as encoded if needed
|
48 |
+
*/
|
49 |
+
|
50 |
+
// HMAC Key
|
51 |
+
$cfg = new Mage_Core_Model_Config();
|
52 |
+
$query = 'select 1 from '.$table.' where path = "pbxep/merchant/hmackey" and scope = "default" and scope_id = 0';
|
53 |
+
$rows = $cnx->fetchAll($query);
|
54 |
+
if (empty($rows)) {
|
55 |
+
$value = '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF';
|
56 |
+
$value = $crypt->encrypt($value);
|
57 |
+
$cfg->saveConfig('pbxep/merchant/hmackey', $value);
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
+
// Password
|
62 |
+
$cfg = new Mage_Core_Model_Config();
|
63 |
+
$query = 'select 1 from '.$table.' where path = "pbxep/merchant/password" and scope = "default" and scope_id = 0';
|
64 |
+
$rows = $cnx->fetchAll($query);
|
65 |
+
if (empty($rows)) {
|
66 |
+
$value = '1999888I';
|
67 |
+
$value = $crypt->encrypt($value);
|
68 |
+
$cfg->saveConfig('pbxep/merchant/password', $value);
|
69 |
+
|
70 |
+
}
|
71 |
+
|
72 |
+
// Finalization
|
73 |
+
$installer->endSetup();
|
app/design/adminhtml/default/default/template/pbxep/info/default.phtml
CHANGED
@@ -79,9 +79,16 @@ $threeTime = $this->getThreeTimeLabels();
|
|
79 |
<?php if (isset($data['validity'])): ?>
|
80 |
<tr>
|
81 |
<td><?php echo $this->__('Validity date'); ?></td>
|
82 |
-
<td><?php echo $this->escapeHtml(preg_replace('/^([0-9]{2})([0-9]{2})$/', '$2/$1', $data['validity']))
|
83 |
</tr>
|
84 |
-
<?php endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
<?php if (($controllerName == 'sales_order') && $this->canCapture()): ?>
|
86 |
<button type="button" class="scalable" title="<?php $this->__('Total Debit'); ?>" id="invoicetotal" onclick="setLocation('<?php echo $this->escapeHtml($this->getCaptureUrl()); ?>')">
|
87 |
<span>
|
79 |
<?php if (isset($data['validity'])): ?>
|
80 |
<tr>
|
81 |
<td><?php echo $this->__('Validity date'); ?></td>
|
82 |
+
<td><?php echo $this->escapeHtml(preg_replace('/^([0-9]{2})([0-9]{2})$/', '$2/$1', $data['validity']));?></td>
|
83 |
</tr>
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php if (isset($data['3dsWarranty'])): ?> <tr>
|
86 |
+
<td><?php echo $this->__('3-D Secure Warranty'); ?></td>
|
87 |
+
<td><?php echo ($data['3dsWarranty'] == 'O' ? $this->__('Yes') : $this->__('No'));?></td>
|
88 |
+
</tr>
|
89 |
+
<?php endif; ?>
|
90 |
+
</table>
|
91 |
+
|
92 |
<?php if (($controllerName == 'sales_order') && $this->canCapture()): ?>
|
93 |
<button type="button" class="scalable" title="<?php $this->__('Total Debit'); ?>" id="invoicetotal" onclick="setLocation('<?php echo $this->escapeHtml($this->getCaptureUrl()); ?>')">
|
94 |
<span>
|
app/locale/fr_FR/Paybox_Epayment.csv
CHANGED
@@ -71,6 +71,7 @@
|
|
71 |
"If you disable E-Carte Bleu, contact the Paybox support","Si vous désactivez E-Carte bleue, veuillez contacter le support Paybox (cf. documentation)."
|
72 |
"Paybox module can show payment information to customer. You can disable this feature here.","Le module Paybox peut afficher les informations de paiement aux clients. Vous pouvez désactiver cette fonctionnalité ici."
|
73 |
|
|
|
74 |
"3-D Secure","3-D Secure"
|
75 |
"3-D Secure is mandatory for this payment method.","3-D Secure est obligatoire pour ce moyen de paiement."
|
76 |
"Enable","Activer"
|
71 |
"If you disable E-Carte Bleu, contact the Paybox support","Si vous désactivez E-Carte bleue, veuillez contacter le support Paybox (cf. documentation)."
|
72 |
"Paybox module can show payment information to customer. You can disable this feature here.","Le module Paybox peut afficher les informations de paiement aux clients. Vous pouvez désactiver cette fonctionnalité ici."
|
73 |
|
74 |
+
"3-D Secure Warranty","Garantie 3-D Secure"
|
75 |
"3-D Secure","3-D Secure"
|
76 |
"3-D Secure is mandatory for this payment method.","3-D Secure est obligatoire pour ce moyen de paiement."
|
77 |
"Enable","Activer"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Paybox_epayment</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -13,11 +13,11 @@ Une fonction de remboursement partiel ou total d’une commande.
|
|
13 |
Des outils anti-fraude à la carte : 3D Secure, Filtres sur nationalités Carte / IP, alerte paiements multiples.
|
14 |
La possibilité de prise de paiement par téléphone
|
15 |
Un accès Back Office Paybox avec des fonctions de reporting : suivi transactions temps réel et export de journaux d’encaissement</description>
|
16 |
-
<notes>
|
17 |
<authors><author><name>Paybox</name><user>paybox</user><email>magento@paybox.com</email></author></authors>
|
18 |
-
<date>
|
19 |
-
<time>
|
20 |
-
<contents><target name="magecommunity"><dir name="Paybox"><dir name="Epayment"><dir name="Block"><dir name="Admin"><dir name="Field"><file name="Checkboxes.php" hash="f10a43c88ce173c1a81fc92ef295d01e"/><file name="Select.php" hash="47048afb9d19029bed51e128614bbab9"/></dir><file name="Info.php" hash="b3c111361975299f954637aa9fb61a42"/><dir name="Kwixo"><file name="Shipping.php" hash="26dbd51618d76aba0668a80e67c80024"/></dir><file name="Presentation.php" hash="749f2cc04ed63c456ffdc1f2d10c6097"/></dir><dir name="Checkout"><file name="Payment.php" hash="099e835531c95a8cd07996a7b8c7cd39"/></dir><file name="Info.php" hash="1595639a592fdeff77362da834d6ae55"/><file name="Redirect.php" hash="456be09c18292eb5b7dfdf861d8eb30f"/></dir><dir name="Helper"><file name="Data.php" hash="63aee310d956379973b0f6873bef95d7"/><file name="Mobile.php" hash="ed502b97b0798bdd72b045efa9ff6c64"/></dir><dir name="Model"><dir name="Admin"><dir name="Cards"><file name="Abstract.php" hash="0dd5c4d19e85e704c215850817b7868c"/><file name="Cb.php" hash="40ee3c428b9a3287b46f349c19a09384"/><file name="Financial.php" hash="1842828d4dbf9d105bbef6ce34c6762a"/><file name="Paybuttons.php" hash="c0cac798dd7f116c78237782de7fb5ba"/><file name="Prepaid.php" hash="c3b16410c3226c778ed98aad41846371"/><file name="Private.php" hash="478a27fa055fad28ae8d8dcbb0414105"/><file name="Threetime.php" hash="9832b41bb7728e536ab39da54d81ce52"/></dir><file name="Environment.php" hash="fb16443891a22661f43576cdbc4d6793"/><dir name="Fianet"><file name="Categories.php" hash="67910c9587cd14a31c8f7b5698057786"/><file name="DeliverySpeeds.php" hash="96e7cf8ad7f90efcd7c9f7afd695d779"/><file name="ShippingTypes.php" hash="88eef7865f4296bb424f821f2f06ddf7"/></dir><dir name="Order"><dir name="Status"><file name="Autocapture.php" hash="cd5501b431651e3cedd62c98baa2f255"/><file name="Canceled.php" hash="a82ebe85febab87dd6b5b7f73a0983e7"/><file name="Holded.php" hash="369b3baa50b8eccaf4158feca1a74f4e"/><file name="New.php" hash="26595474b91e26ab611475e9652f7017"/><file name="Pending.php" hash="898905e3d6e756de151dad29451e80d0"/><file name="Pendingpayment.php" hash="ae889edbbbad44078ebc1cd2944271d6"/><file name="Processing.php" hash="d3b4baf5eac6f131db0dc07ed70ffc07"/></dir></dir><dir name="Payment"><file name="Action.php" hash="618fb1d04f4085ddf1e466e40a138e1d"/><file name="Actionpaypal.php" hash="17a0b172218b60902f956ae6ac00248c"/><file name="Delays.php" hash="38151dc35efee312bad036862912cb32"/><file name="Same.php" hash="0f1737a05d5431ab1f4dd3d9146c2514"/><file name="Use3ds.php" hash="9b02555cbce8f70c779224fb73722a1b"/></dir><file name="Subscription.php" hash="fc9d80675690c7a69748178bf3aa8072"/></dir><file name="Config.php" hash="863768ce4610cd7fd54a41a3b865dd72"/><file name="Context.php" hash="0a25db2efb1e508d217371f757ce3698"/><file name="Iso4217Currency.php" hash="56df63960effa512f2ebcfe4f6f4f88f"/><file name="Kwixo.php" hash="b0a55d50f0fb4ac016a9e9949a496bb2"/><dir name="Observer"><file name="AdminCreateOrder.php" hash="80d7d9fa006b836a7545c978d698e24a"/></dir><file name="Observer.php" hash="6171bf08addbf7999bff9e34a8013def"/><file name="Paybox.php" hash="5f743d36c320dae3424cf70b51bc5ff1"/><dir name="Payment"><file name="Abstract.php" hash="12959f7b091b620db946e17ab2e08a62"/><file name="Bcmc.php" hash="19f45f87cbe5fff394d0354e8af1191b"/><file name="Cb.php" hash="73edf4938a64722fe3ecbc43bfcff230"/><file name="Financial.php" hash="c1902902df246faa3e97a27ac3c1b3af"/><dir name="Kwixo"><file name="Credit.php" hash="b9d759bcebfbe61751cda45ae1c1443b"/><file name="Onexrnp.php" hash="abc51c0459bf1c08c9230ab261aebe5e"/><file name="Standard.php" hash="76f24bc9223646c8be8de7750ce7d603"/></dir><file name="Maestro.php" hash="be7cc8cac0002e15c320b8dac77b3893"/><file name="Paybuttons.php" hash="9f3c102def1dabc10d8ebcdc77ab1489"/><file name="Paypal.php" hash="5e00be9ff34a323f3742d01f8da5aaad"/><file name="Prepaid.php" hash="82b2be70957d9d1664d8a47cb0befa32"/><file name="Private.php" hash="d0421a3ecf113f49800ff79bd23c4334"/><file name="Threetime.php" hash="c389c6292aa726fefd970e161188b62d"/></dir><dir name="Resource"><file name="Setup.php" hash="2f210fe03445e185e2044f62f6fb9f7b"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="PbxepController.php" hash="e81b789b06d6c6fc490cf59d36b5806c"/></dir><file name="PaymentController.php" hash="f52d1090e7ce09fe8231906d766727b0"/></dir><dir name="etc"><file name="adminhtml.xml" hash="479ca80d7b7b7e649e000b25c5b0f9ed"/><file name="config.xml" hash="36a8c74ed58d6b1738d0b6e038aa2490"/><file name="pubkey.pem" hash="d534e7a4f811f41497b614d0e83979a4"/><file name="system.xml" hash="dae2e4648274b5d8937f28e47379ee7f"/></dir><dir name="sql"><dir name="pbxep_setup"><file name="mysql4-install-0.1.0.php" hash="e115180663f53e53f777a1f21e5b63d0"/><file name="mysql4-upgrade-0.1.0-0.3.0.php" hash="164d76bf68c900e751086e6efa76ac7e"/><file name="mysql4-upgrade-0.8.3.3-0.8.4.php" hash="3e4f6e85b212f768427f9cf4ae6b4ecb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pbxep.xml" hash="d36bae8489b1f81a932bfadd93d59c5e"/></dir><dir name="template"><dir name="pbxep"><dir name="info"><file name="default.phtml" hash="1a3e9f8f9b5a04d2e0f8201493700d50"/></dir><dir name="presentation"><file name="en.phtml" hash="b7b1e314614cf326c6e2b6eba1540682"/><file name="fr.phtml" hash="b7392fc37b393166115db01bb3f1d62f"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pbxep.xml" hash="d70470f6bca63a5b9706a494340cb717"/></dir><dir name="template"><dir name="pbxep"><file name="checkout-payment.phtml" hash="a694f4686f13d1a8da79a63d5ac363fb"/><dir name="info"><file name="default.phtml" hash="5ae6adf25f30e161936fcf2dbc20bafb"/></dir><file name="redirect.phtml" hash="15e16ea3d91f2b851ce977250b99fe96"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paybox_Epayment.xml" hash="d7b945fe6506ead3570a06979580a12e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pbxep"><file name="1euro.45.png" hash="e3b636313158afb8c2f9af5f428be779"/><file name="amex.45.png" hash="ea2ab18feb39ffddd2bff4335d1c258a"/><file name="aurore.45.png" hash="69008cca86472e625a085594251a6cf2"/><file name="bcmc.45.png" hash="d6d01eea67100cf157557f2174cc68c4"/><file name="buyster.45.png" hash="544917376c4743bdef5a9daa2401d2a7"/><file name="cashticket.45.png" hash="460882095aae2fd81c4151b1259421f0"/><file name="cb.45.png" hash="3e3b08f1c078cbf1103ceb097a526a4f"/><file name="cofinoga.45.png" hash="fe526fe56555a860937d6b4813fdcde6"/><file name="diners.45.png" hash="af58b260b52260e64f184a72d73dd3d3"/><file name="ecartebleue.45.png" hash="96a42041c74aa41d0d6dabe25065d9cc"/><file name="ideal.45.png" hash="affbc207d2588593aa641713d618c8d8"/><file name="jcb.45.png" hash="d4ef8e26b0f1dd216992fc5ae9838dbf"/><file name="kadeos.45.png" hash="d97a5d875efbaa4ce076088cab51195d"/><file name="leetchi.45.png" hash="a0bfae2c382aa5a5a65c6fe5b4a7e26b"/><file name="maestro.png" hash="83dfc84b3600447999eae742dfcb3fdb"/><file name="mastercard.45.png" hash="9061669d6bd53da477d7e9cffd9bc546"/><file name="paybutting.45.png" hash="e108629fd76ba2ba6e830530197a9022"/><file name="paypal.45.png" hash="9245237b802bb7d6b8ce8e085a2dd7aa"/><file name="paysafecard.45.png" hash="63c48cbde81ee1b0aa73fa90ceba7695"/><file name="visa.45.png" hash="05b965f45c9b207582efdb04553b58ee"/><file name="wexpay.45.png" hash="ef1ecbd23625784f9292bec537c76e52"/></dir></dir><dir name="css"><dir name="pbxep"><file name="styles.css" hash="317c1a8247b0696c22adbfacaa860f02"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="paybox"><file name="1euro.45.png" hash="e3b636313158afb8c2f9af5f428be779"/><file name="amex.45.png" hash="ea2ab18feb39ffddd2bff4335d1c258a"/><file name="aurore.45.png" hash="69008cca86472e625a085594251a6cf2"/><file name="bcmc.45.png" hash="d6d01eea67100cf157557f2174cc68c4"/><file name="buyster.45.png" hash="544917376c4743bdef5a9daa2401d2a7"/><file name="cashticket.45.png" hash="460882095aae2fd81c4151b1259421f0"/><file name="cb.45.png" hash="3e3b08f1c078cbf1103ceb097a526a4f"/><file name="checkmark-blue.png" hash="373a777f58c70b502f372c5d5f9fdaa4"/><file name="checkmark.gif" hash="d59def45c447c149eec190e24d7bbc19"/><file name="cofinoga.45.png" hash="fe526fe56555a860937d6b4813fdcde6"/><file name="diners.45.png" hash="af58b260b52260e64f184a72d73dd3d3"/><file name="ecartebleue.45.png" hash="96a42041c74aa41d0d6dabe25065d9cc"/><file name="ideal.45.png" hash="affbc207d2588593aa641713d618c8d8"/><file name="jcb.45.png" hash="d4ef8e26b0f1dd216992fc5ae9838dbf"/><file name="kadeos.45.png" hash="d97a5d875efbaa4ce076088cab51195d"/><file name="leetchi.45.png" hash="a0bfae2c382aa5a5a65c6fe5b4a7e26b"/><file name="maestro.png" hash="83dfc84b3600447999eae742dfcb3fdb"/><file name="mastercard.45.png" hash="9061669d6bd53da477d7e9cffd9bc546"/><file name="multicanal.png" hash="9e5e255d1104b4041dee47010a109597"/><file name="paybox-lg.png" hash="7a817215b8ce0bd83e0645425a2e7d6c"/><file name="paybutting.45.png" hash="e108629fd76ba2ba6e830530197a9022"/><file name="paypal.45.png" hash="9245237b802bb7d6b8ce8e085a2dd7aa"/><file name="paysafecard.45.png" hash="63c48cbde81ee1b0aa73fa90ceba7695"/><file name="visa.45.png" hash="3bdae7643b5eea3bc6f9f23b2caafde7"/><file name="wexpay.45.png" hash="ef1ecbd23625784f9292bec537c76e52"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Paybox_Epayment.csv" hash="e36141694279ba224df3c3a7c4175eaa"/></dir></target></contents>
|
21 |
<compatible/>
|
22 |
-
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>openssl</name><min
|
23 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Paybox_epayment</name>
|
4 |
+
<version>2.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
13 |
Des outils anti-fraude à la carte : 3D Secure, Filtres sur nationalités Carte / IP, alerte paiements multiples.
|
14 |
La possibilité de prise de paiement par téléphone
|
15 |
Un accès Back Office Paybox avec des fonctions de reporting : suivi transactions temps réel et export de journaux d’encaissement</description>
|
16 |
+
<notes>Paybox module</notes>
|
17 |
<authors><author><name>Paybox</name><user>paybox</user><email>magento@paybox.com</email></author></authors>
|
18 |
+
<date>2015-01-30</date>
|
19 |
+
<time>14:43:33</time>
|
20 |
+
<contents><target name="magecommunity"><dir name="Paybox"><dir name="Epayment"><dir name="Block"><dir name="Admin"><dir name="Field"><file name="Checkboxes.php" hash="f10a43c88ce173c1a81fc92ef295d01e"/><file name="Select.php" hash="47048afb9d19029bed51e128614bbab9"/></dir><file name="Info.php" hash="b3c111361975299f954637aa9fb61a42"/><dir name="Kwixo"><file name="Shipping.php" hash="26dbd51618d76aba0668a80e67c80024"/></dir><file name="Presentation.php" hash="749f2cc04ed63c456ffdc1f2d10c6097"/></dir><dir name="Checkout"><file name="Payment.php" hash="099e835531c95a8cd07996a7b8c7cd39"/></dir><file name="Info.php" hash="4ee82b7fe13c046a7b87f0973735f038"/><file name="Redirect.php" hash="456be09c18292eb5b7dfdf861d8eb30f"/></dir><dir name="Helper"><file name="Data.php" hash="63aee310d956379973b0f6873bef95d7"/><file name="Encrypt.php" hash="a8eb10b0cc21e7c7134fd62b2b38f302"/><file name="Mobile.php" hash="ed502b97b0798bdd72b045efa9ff6c64"/></dir><dir name="Model"><dir name="Admin"><dir name="Backend"><file name="Encrypted.php" hash="38591a4195fff9399e109b132d10f372"/></dir><dir name="Cards"><file name="Abstract.php" hash="0dd5c4d19e85e704c215850817b7868c"/><file name="Cb.php" hash="40ee3c428b9a3287b46f349c19a09384"/><file name="Financial.php" hash="1842828d4dbf9d105bbef6ce34c6762a"/><file name="Paybuttons.php" hash="c0cac798dd7f116c78237782de7fb5ba"/><file name="Prepaid.php" hash="c3b16410c3226c778ed98aad41846371"/><file name="Private.php" hash="478a27fa055fad28ae8d8dcbb0414105"/><file name="Threetime.php" hash="9832b41bb7728e536ab39da54d81ce52"/></dir><file name="Environment.php" hash="fb16443891a22661f43576cdbc4d6793"/><dir name="Fianet"><file name="Categories.php" hash="67910c9587cd14a31c8f7b5698057786"/><file name="DeliverySpeeds.php" hash="96e7cf8ad7f90efcd7c9f7afd695d779"/><file name="ShippingTypes.php" hash="88eef7865f4296bb424f821f2f06ddf7"/></dir><dir name="Order"><dir name="Status"><file name="Autocapture.php" hash="cd5501b431651e3cedd62c98baa2f255"/><file name="Canceled.php" hash="a82ebe85febab87dd6b5b7f73a0983e7"/><file name="Holded.php" hash="369b3baa50b8eccaf4158feca1a74f4e"/><file name="New.php" hash="26595474b91e26ab611475e9652f7017"/><file name="Pending.php" hash="898905e3d6e756de151dad29451e80d0"/><file name="Pendingpayment.php" hash="ae889edbbbad44078ebc1cd2944271d6"/><file name="Processing.php" hash="d3b4baf5eac6f131db0dc07ed70ffc07"/></dir></dir><dir name="Payment"><file name="Action.php" hash="618fb1d04f4085ddf1e466e40a138e1d"/><file name="Actionpaypal.php" hash="17a0b172218b60902f956ae6ac00248c"/><file name="Delays.php" hash="38151dc35efee312bad036862912cb32"/><file name="Same.php" hash="0f1737a05d5431ab1f4dd3d9146c2514"/><file name="Use3ds.php" hash="9b02555cbce8f70c779224fb73722a1b"/></dir><file name="Subscription.php" hash="fc9d80675690c7a69748178bf3aa8072"/></dir><file name="Config.php" hash="de0fb195a14e99159700d446ebcad203"/><file name="Context.php" hash="0a25db2efb1e508d217371f757ce3698"/><file name="Iso4217Currency.php" hash="56df63960effa512f2ebcfe4f6f4f88f"/><file name="Kwixo.php" hash="b0a55d50f0fb4ac016a9e9949a496bb2"/><dir name="Observer"><file name="AdminCreateOrder.php" hash="80d7d9fa006b836a7545c978d698e24a"/></dir><file name="Observer.php" hash="6e56549b3fba6126f6a6a2e6704c49a6"/><file name="Paybox.php" hash="5f743d36c320dae3424cf70b51bc5ff1"/><dir name="Payment"><file name="Abstract.php" hash="46eddb726c15fc2e8cce66532d11cf3a"/><file name="Bcmc.php" hash="19f45f87cbe5fff394d0354e8af1191b"/><file name="Cb.php" hash="73edf4938a64722fe3ecbc43bfcff230"/><file name="Financial.php" hash="c1902902df246faa3e97a27ac3c1b3af"/><dir name="Kwixo"><file name="Credit.php" hash="b9d759bcebfbe61751cda45ae1c1443b"/><file name="Onexrnp.php" hash="abc51c0459bf1c08c9230ab261aebe5e"/><file name="Standard.php" hash="76f24bc9223646c8be8de7750ce7d603"/></dir><file name="Maestro.php" hash="be7cc8cac0002e15c320b8dac77b3893"/><file name="Paybuttons.php" hash="9f3c102def1dabc10d8ebcdc77ab1489"/><file name="Paypal.php" hash="5e00be9ff34a323f3742d01f8da5aaad"/><file name="Prepaid.php" hash="82b2be70957d9d1664d8a47cb0befa32"/><file name="Private.php" hash="d0421a3ecf113f49800ff79bd23c4334"/><file name="Threetime.php" hash="c389c6292aa726fefd970e161188b62d"/></dir><dir name="Resource"><file name="Setup.php" hash="2f210fe03445e185e2044f62f6fb9f7b"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="PbxepController.php" hash="6a204e500861bcb9e792e79f49ec88f9"/></dir><file name="PaymentController.php" hash="f52d1090e7ce09fe8231906d766727b0"/></dir><dir name="etc"><file name="adminhtml.xml" hash="479ca80d7b7b7e649e000b25c5b0f9ed"/><file name="config.xml" hash="5c8883d160846191775f47075282ebd9"/><file name="pubkey.pem" hash="d534e7a4f811f41497b614d0e83979a4"/><file name="system.xml" hash="b6b90a0dadd249d40af3fab7e7c5742a"/></dir><dir name="sql"><dir name="pbxep_setup"><file name="mysql4-install-0.1.0.php" hash="e115180663f53e53f777a1f21e5b63d0"/><file name="mysql4-upgrade-0.1.0-0.3.0.php" hash="164d76bf68c900e751086e6efa76ac7e"/><file name="mysql4-upgrade-0.8.3.3-0.8.4.php" hash="3e4f6e85b212f768427f9cf4ae6b4ecb"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="7c21b5b2594b06d3cefb1371fc8bad7f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pbxep.xml" hash="d36bae8489b1f81a932bfadd93d59c5e"/></dir><dir name="template"><dir name="pbxep"><dir name="info"><file name="default.phtml" hash="5db90f0dcbf72f403c29c3c244183825"/></dir><dir name="presentation"><file name="en.phtml" hash="b7b1e314614cf326c6e2b6eba1540682"/><file name="fr.phtml" hash="b7392fc37b393166115db01bb3f1d62f"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pbxep.xml" hash="d70470f6bca63a5b9706a494340cb717"/></dir><dir name="template"><dir name="pbxep"><file name="checkout-payment.phtml" hash="a694f4686f13d1a8da79a63d5ac363fb"/><dir name="info"><file name="default.phtml" hash="5ae6adf25f30e161936fcf2dbc20bafb"/></dir><file name="redirect.phtml" hash="15e16ea3d91f2b851ce977250b99fe96"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paybox_Epayment.xml" hash="d7b945fe6506ead3570a06979580a12e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pbxep"><file name="1euro.45.png" hash="e3b636313158afb8c2f9af5f428be779"/><file name="amex.45.png" hash="ea2ab18feb39ffddd2bff4335d1c258a"/><file name="aurore.45.png" hash="69008cca86472e625a085594251a6cf2"/><file name="bcmc.45.png" hash="d6d01eea67100cf157557f2174cc68c4"/><file name="buyster.45.png" hash="544917376c4743bdef5a9daa2401d2a7"/><file name="cashticket.45.png" hash="460882095aae2fd81c4151b1259421f0"/><file name="cb.45.png" hash="3e3b08f1c078cbf1103ceb097a526a4f"/><file name="cofinoga.45.png" hash="fe526fe56555a860937d6b4813fdcde6"/><file name="diners.45.png" hash="af58b260b52260e64f184a72d73dd3d3"/><file name="ecartebleue.45.png" hash="96a42041c74aa41d0d6dabe25065d9cc"/><file name="ideal.45.png" hash="affbc207d2588593aa641713d618c8d8"/><file name="jcb.45.png" hash="d4ef8e26b0f1dd216992fc5ae9838dbf"/><file name="kadeos.45.png" hash="d97a5d875efbaa4ce076088cab51195d"/><file name="leetchi.45.png" hash="a0bfae2c382aa5a5a65c6fe5b4a7e26b"/><file name="maestro.png" hash="83dfc84b3600447999eae742dfcb3fdb"/><file name="mastercard.45.png" hash="9061669d6bd53da477d7e9cffd9bc546"/><file name="paybutting.45.png" hash="e108629fd76ba2ba6e830530197a9022"/><file name="paypal.45.png" hash="9245237b802bb7d6b8ce8e085a2dd7aa"/><file name="paysafecard.45.png" hash="63c48cbde81ee1b0aa73fa90ceba7695"/><file name="visa.45.png" hash="05b965f45c9b207582efdb04553b58ee"/><file name="wexpay.45.png" hash="ef1ecbd23625784f9292bec537c76e52"/></dir></dir><dir name="css"><dir name="pbxep"><file name="styles.css" hash="317c1a8247b0696c22adbfacaa860f02"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="paybox"><file name="1euro.45.png" hash="e3b636313158afb8c2f9af5f428be779"/><file name="amex.45.png" hash="ea2ab18feb39ffddd2bff4335d1c258a"/><file name="aurore.45.png" hash="69008cca86472e625a085594251a6cf2"/><file name="bcmc.45.png" hash="d6d01eea67100cf157557f2174cc68c4"/><file name="buyster.45.png" hash="544917376c4743bdef5a9daa2401d2a7"/><file name="cashticket.45.png" hash="460882095aae2fd81c4151b1259421f0"/><file name="cb.45.png" hash="3e3b08f1c078cbf1103ceb097a526a4f"/><file name="checkmark-blue.png" hash="373a777f58c70b502f372c5d5f9fdaa4"/><file name="checkmark.gif" hash="d59def45c447c149eec190e24d7bbc19"/><file name="cofinoga.45.png" hash="fe526fe56555a860937d6b4813fdcde6"/><file name="diners.45.png" hash="af58b260b52260e64f184a72d73dd3d3"/><file name="ecartebleue.45.png" hash="96a42041c74aa41d0d6dabe25065d9cc"/><file name="ideal.45.png" hash="affbc207d2588593aa641713d618c8d8"/><file name="jcb.45.png" hash="d4ef8e26b0f1dd216992fc5ae9838dbf"/><file name="kadeos.45.png" hash="d97a5d875efbaa4ce076088cab51195d"/><file name="leetchi.45.png" hash="a0bfae2c382aa5a5a65c6fe5b4a7e26b"/><file name="maestro.png" hash="83dfc84b3600447999eae742dfcb3fdb"/><file name="mastercard.45.png" hash="9061669d6bd53da477d7e9cffd9bc546"/><file name="multicanal.png" hash="9e5e255d1104b4041dee47010a109597"/><file name="paybox-lg.png" hash="7a817215b8ce0bd83e0645425a2e7d6c"/><file name="paybutting.45.png" hash="e108629fd76ba2ba6e830530197a9022"/><file name="paypal.45.png" hash="9245237b802bb7d6b8ce8e085a2dd7aa"/><file name="paysafecard.45.png" hash="63c48cbde81ee1b0aa73fa90ceba7695"/><file name="visa.45.png" hash="3bdae7643b5eea3bc6f9f23b2caafde7"/><file name="wexpay.45.png" hash="ef1ecbd23625784f9292bec537c76e52"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Paybox_Epayment.csv" hash="94e66d525cb6e9e6e24ad9a31536841e"/></dir></target></contents>
|
21 |
<compatible/>
|
22 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>openssl</name><min/><max/></extension></required></dependencies>
|
23 |
</package>
|