Paybox_epayment - Version 2.0.6

Version Notes

added amex three times payment

added n times (2 to 4 terms) with fine tuning of the periodicity

added the two parts payment funcitonality, with set date for second term.

Minor changes
Added 3d secure sttaus in the transaction details.

corrected: signature validation with compiilation

corrected: IPN ip filtering when behind proxy

-Stable version-

Download this release

Release Info

Developer Paybox
Extension Paybox_epayment
Version 2.0.6
Comparing to
See all releases


Code changes from version 2.0.5 to 2.0.6

Files changed (23) hide show
  1. app/code/community/Paybox/Epayment/Block/Info.php +7 -0
  2. app/code/community/Paybox/Epayment/Model/Admin/Cards/Threetimeprivate.php +17 -0
  3. app/code/community/Paybox/Epayment/Model/Admin/Order/Status/Partiallypaid.php +18 -0
  4. app/code/community/Paybox/Epayment/Model/Admin/Payment/Nbtimes.php +29 -0
  5. app/code/community/Paybox/Epayment/Model/Config.php +198 -198
  6. app/code/community/Paybox/Epayment/Model/Paybox.php +739 -706
  7. app/code/community/Paybox/Epayment/Model/Payment/Abstract.php +1 -1
  8. app/code/community/Paybox/Epayment/Model/Payment/Threetime.php +49 -20
  9. app/code/community/Paybox/Epayment/Model/Payment/Threetimeprivate.php +17 -0
  10. app/code/community/Paybox/Epayment/Model/Resource/Setup.php +1 -1
  11. app/code/community/Paybox/Epayment/controllers/PaymentController.php +3 -3
  12. app/code/community/Paybox/Epayment/data/pbxep_setup/data-install-2.0.5d.php +35 -0
  13. app/code/community/Paybox/Epayment/etc/config.xml +27 -1
  14. app/code/community/Paybox/Epayment/etc/system.xml +2817 -2498
  15. app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-install-0.1.0.php +35 -0
  16. app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-install-2.0.5d.php +54 -0
  17. app/design/adminhtml/default/default/template/pbxep/info/default.phtml +2 -2
  18. app/design/frontend/base/default/template/pbxep/info/default.phtml +2 -2
  19. app/locale/fr_FR/Paybox_Epayment.csv +17 -1
  20. package.xml +19 -6
  21. skin/frontend/base/default/images/pbxep/ILLICADO.45.png +0 -0
  22. skin/frontend/base/default/images/pbxep/cb.45-old.png +0 -0
  23. skin/frontend/base/default/images/pbxep/cb.45.png +0 -0
app/code/community/Paybox/Epayment/Block/Info.php CHANGED
@@ -121,6 +121,7 @@ class Paybox_Epayment_Block_Info extends Mage_Payment_Block_Info {
121
  'first' => $this->__('Not achieved'),
122
  'second' => $this->__('Not achieved'),
123
  'third' => $this->__('Not achieved'),
 
124
  );
125
 
126
  $data = $info->getPbxepFirstPayment();
@@ -141,6 +142,12 @@ class Paybox_Epayment_Block_Info extends Mage_Payment_Block_Info {
141
  $date = preg_replace('/^([0-9]{2})([0-9]{2})([0-9]{4})$/', '$1/$2/$3', $data['date']);
142
  $result['third'] = $this->__('%s (%s)', $data['amount'] / 100.0, $date);
143
  }
 
 
 
 
 
 
144
  return $result;
145
  }
146
 
121
  'first' => $this->__('Not achieved'),
122
  'second' => $this->__('Not achieved'),
123
  'third' => $this->__('Not achieved'),
124
+ 'fourth' => $this->__('Not achieved'),
125
  );
126
 
127
  $data = $info->getPbxepFirstPayment();
142
  $date = preg_replace('/^([0-9]{2})([0-9]{2})([0-9]{4})$/', '$1/$2/$3', $data['date']);
143
  $result['third'] = $this->__('%s (%s)', $data['amount'] / 100.0, $date);
144
  }
145
+ $data = $info->getPbxepFourthPayment();
146
+ if (!empty($data)) {
147
+ $data = unserialize($data);
148
+ $date = preg_replace('/^([0-9]{2})([0-9]{2})([0-9]{4})$/', '$1/$2/$3', $data['date']);
149
+ $result['fourth'] = $this->__('%s (%s)', $data['amount'] / 100.0, $date);
150
+ }
151
  return $result;
152
  }
153
 
app/code/community/Paybox/Epayment/Model/Admin/Cards/Threetimeprivate.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Cards_Threetimeprivate extends Paybox_Epayment_Model_Admin_Cards_Abstract {
14
+ public function getConfigNodeName() {
15
+ return 'threetimeprivate';
16
+ }
17
+ }
app/code/community/Paybox/Epayment/Model/Admin/Order/Status/Partiallypaid.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
14
+ * Order Statuses source model
15
+ */
16
+ class Paybox_Epayment_Model_Admin_Order_Status_Partiallypaid extends Mage_Adminhtml_Model_System_Config_Source_Order_Status {
17
+ protected $_stateStatuses = Mage_Sales_Model_Order::STATE_PROCESSING;
18
+ }
app/code/community/Paybox/Epayment/Model/Admin/Payment/Nbtimes.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Payment_Nbtimes {
14
+ public function toOptionArray() {
15
+ $helper = Mage::helper('pbxep');
16
+
17
+ $options = array(
18
+
19
+ array('value' => '2', 'label' => 2),
20
+
21
+ array('value' => '3', 'label' => 3),
22
+
23
+ array('value' => '4', 'label' => 4),
24
+
25
+ );
26
+
27
+ return $options;
28
+ }
29
+ }
app/code/community/Paybox/Epayment/Model/Config.php CHANGED
@@ -1,199 +1,199 @@
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_Config {
14
-
15
- const SUBSCRIPTION_ESSENTIAL = 'essential';
16
- const SUBSCRIPTION_FLEXIBLE = 'flexible';
17
-
18
- private $_store;
19
- private $_configCache = array();
20
- private $_configMapping = array(
21
- 'allowedIps' => 'allowedips',
22
- 'environment' => 'environment',
23
- 'debug' => 'debug',
24
- 'hmacAlgo' => 'merchant/hmacalgo',
25
- 'hmacKey' => 'merchant/hmackey',
26
- 'identifier' => 'merchant/identifier',
27
- 'languages' => 'languages',
28
- 'password' => 'merchant/password',
29
- 'rank' => 'merchant/rank',
30
- 'site' => 'merchant/site',
31
- 'subscription' => 'merchant/subscription',
32
- 'kwixoShipping' => 'kwixo/shipping'
33
- );
34
- private $_urls = array(
35
- 'system' => array(
36
- 'test' => array(
37
- 'https://preprod-tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi'
38
- ),
39
- 'production' => array(
40
- 'https://tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi',
41
- 'https://tpeweb1.paybox.com/cgi/MYchoix_pagepaiement.cgi',
42
- ),
43
- ),
44
- 'kwixo' => array(
45
- 'test' => array(
46
- 'https://preprod-tpeweb.paybox.com/php/'
47
- ),
48
- 'production' => array(
49
- 'https://tpeweb.paybox.com/php/',
50
- 'https://tpeweb1.paybox.com/php/',
51
- ),
52
- ),
53
- 'mobile' => array(
54
- 'test' => array(
55
- 'https://preprod-tpeweb.paybox.com/cgi/MYframepagepaiement_ip.cgi'
56
- ),
57
- 'production' => array(
58
- 'https://tpeweb.paybox.com/cgi/MYframepagepaiement_ip.cgi',
59
- 'https://tpeweb1.paybox.com/cgi/MYframepagepaiement_ip.cgi',
60
- ),
61
- ),
62
- 'direct' => array(
63
- 'test' => array(
64
- 'https://preprod-ppps.paybox.com/PPPS.php'
65
- ),
66
- 'production' => array(
67
- 'https://ppps.paybox.com/PPPS.php',
68
- 'https://ppps1.paybox.com/PPPS.php',
69
- ),
70
- )
71
- );
72
-
73
- public function __call($name, $args) {
74
- if (preg_match('#^get(.)(.*)$#', $name, $matches)) {
75
- $prop = strtolower($matches[1]) . $matches[2];
76
- if (isset($this->_configCache[$prop])) {
77
- return $this->_configCache[$prop];
78
- } else if (isset($this->_configMapping[$prop])) {
79
- $key = 'pbxep/' . $this->_configMapping[$prop];
80
- $value = $this->_getConfigValue($key);
81
- $this->_configCache[$prop] = $value;
82
- return $value;
83
- }
84
- } else if (preg_match('#^is(.)(.*)$#', $name, $matches)) {
85
- $prop = strtolower($matches[1]) . $matches[2];
86
- if (isset($this->_configCache[$prop])) {
87
- return $this->_configCache[$prop] == 1;
88
- } else if (isset($this->_configMapping[$prop])) {
89
- $key = 'pbxep/' . $this->_configMapping[$prop];
90
- $value = $this->_getConfigValue($key);
91
- $this->_configCache[$prop] = $value;
92
- return $value == 1;
93
- }
94
- }
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();
102
- }
103
- return $this->_store;
104
- }
105
-
106
- private function _getConfigValue($name) {
107
- return Mage::getStoreConfig($name, $this->getStore());
108
- }
109
-
110
- protected function _getUrls($type, $environment = null) {
111
- if (is_null($environment)) {
112
- $environment = $this->getEnvironment();
113
- }
114
- $environment = strtolower($environment);
115
- if (isset($this->_urls[$type][$environment])) {
116
- return $this->_urls[$type][$environment];
117
- }
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
- }
134
-
135
- public function getKwixoUrls($environment = null) {
136
- return $this->_getUrls('kwixo', $environment);
137
- }
138
-
139
- public function getMobileUrls($environment = null) {
140
- return $this->_getUrls('mobile', $environment);
141
- }
142
-
143
- public function getDirectUrls($environment = null) {
144
- return $this->_getUrls('direct', $environment);
145
- }
146
-
147
- public function getDefaultNewOrderStatus() {
148
- return $this->_getConfigValue('pbxep/defaultoption/new_order_status');
149
- }
150
-
151
- public function getDefaultCapturedStatus() {
152
- return $this->_getConfigValue('pbxep/defaultoption/payment_captured_status');
153
- }
154
-
155
- public function getDefaultAuthorizedStatus() {
156
- return $this->_getConfigValue('pbxep/defaultoption/payment_authorized_status');
157
- }
158
-
159
- public function getAutomaticInvoice() {
160
- $value = $this->_getConfigValue('pbxep/automatic_invoice');
161
- if (is_null($value)) {
162
- $value = 0;
163
- }
164
- return (int) $value;
165
- }
166
-
167
- public function getShowInfoToCustomer() {
168
- $value = $this->_getConfigValue('pbxep/info_to_customer');
169
- if (is_null($value)) {
170
- $value = 1;
171
- }
172
- return (int) $value;
173
- }
174
-
175
- public function getKwixoDefaultCategory() {
176
- $value = $this->_getConfigValue('pbxep/kwixo/default_category');
177
- if (is_null($value)) {
178
- $value = 1;
179
- }
180
- return (int) $value;
181
- }
182
-
183
- public function getKwixoDefaultCarrierType() {
184
- $value = $this->_getConfigValue('pbxep/kwixo/default_carrier_type');
185
- if (is_null($value)) {
186
- $value = 4;
187
- }
188
- return (int) $value;
189
- }
190
-
191
- public function getKwixoDefaultCarrierSpeed() {
192
- $value = $this->_getConfigValue('pbxep/kwixo/default_carrier_speed');
193
- if (is_null($value)) {
194
- $value = 2;
195
- }
196
- return (int) $value;
197
- }
198
-
199
  }
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_Config {
14
+
15
+ const SUBSCRIPTION_ESSENTIAL = 'essential';
16
+ const SUBSCRIPTION_FLEXIBLE = 'flexible';
17
+
18
+ private $_store;
19
+ private $_configCache = array();
20
+ private $_configMapping = array(
21
+ 'allowedIps' => 'allowedips',
22
+ 'environment' => 'environment',
23
+ 'debug' => 'debug',
24
+ 'hmacAlgo' => 'merchant/hmacalgo',
25
+ 'hmacKey' => 'merchant/hmackey',
26
+ 'identifier' => 'merchant/identifier',
27
+ 'languages' => 'languages',
28
+ 'password' => 'merchant/password',
29
+ 'rank' => 'merchant/rank',
30
+ 'site' => 'merchant/site',
31
+ 'subscription' => 'merchant/subscription',
32
+ 'kwixoShipping' => 'kwixo/shipping'
33
+ );
34
+ private $_urls = array(
35
+ 'system' => array(
36
+ 'test' => array(
37
+ 'https://preprod-tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi'
38
+ ),
39
+ 'production' => array(
40
+ 'https://tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi',
41
+ 'https://tpeweb1.paybox.com/cgi/MYchoix_pagepaiement.cgi',
42
+ ),
43
+ ),
44
+ 'kwixo' => array(
45
+ 'test' => array(
46
+ 'https://preprod-tpeweb.paybox.com/php/'
47
+ ),
48
+ 'production' => array(
49
+ 'https://tpeweb.paybox.com/php/',
50
+ 'https://tpeweb1.paybox.com/php/',
51
+ ),
52
+ ),
53
+ 'mobile' => array(
54
+ 'test' => array(
55
+ 'https://preprod-tpeweb.paybox.com/cgi/MYframepagepaiement_ip.cgi'
56
+ ),
57
+ 'production' => array(
58
+ 'https://tpeweb.paybox.com/cgi/MYframepagepaiement_ip.cgi',
59
+ 'https://tpeweb1.paybox.com/cgi/MYframepagepaiement_ip.cgi',
60
+ ),
61
+ ),
62
+ 'direct' => array(
63
+ 'test' => array(
64
+ 'https://preprod-ppps.paybox.com/PPPS.php'
65
+ ),
66
+ 'production' => array(
67
+ 'https://ppps.paybox.com/PPPS.php',
68
+ 'https://ppps1.paybox.com/PPPS.php',
69
+ ),
70
+ )
71
+ );
72
+
73
+ public function __call($name, $args) {
74
+ if (preg_match('#^get(.)(.*)$#', $name, $matches)) {
75
+ $prop = strtolower($matches[1]) . $matches[2];
76
+ if (isset($this->_configCache[$prop])) {
77
+ return $this->_configCache[$prop];
78
+ } else if (isset($this->_configMapping[$prop])) {
79
+ $key = 'pbxep/' . $this->_configMapping[$prop];
80
+ $value = $this->_getConfigValue($key);
81
+ $this->_configCache[$prop] = $value;
82
+ return $value;
83
+ }
84
+ } else if (preg_match('#^is(.)(.*)$#', $name, $matches)) {
85
+ $prop = strtolower($matches[1]) . $matches[2];
86
+ if (isset($this->_configCache[$prop])) {
87
+ return $this->_configCache[$prop] == 1;
88
+ } else if (isset($this->_configMapping[$prop])) {
89
+ $key = 'pbxep/' . $this->_configMapping[$prop];
90
+ $value = $this->_getConfigValue($key);
91
+ $this->_configCache[$prop] = $value;
92
+ return $value == 1;
93
+ }
94
+ }
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();
102
+ }
103
+ return $this->_store;
104
+ }
105
+
106
+ private function _getConfigValue($name) {
107
+ return Mage::getStoreConfig($name, $this->getStore());
108
+ }
109
+
110
+ protected function _getUrls($type, $environment = null) {
111
+ if (is_null($environment)) {
112
+ $environment = $this->getEnvironment();
113
+ }
114
+ $environment = strtolower($environment);
115
+ if (isset($this->_urls[$type][$environment])) {
116
+ return $this->_urls[$type][$environment];
117
+ }
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
+ }
134
+
135
+ public function getKwixoUrls($environment = null) {
136
+ return $this->_getUrls('kwixo', $environment);
137
+ }
138
+
139
+ public function getMobileUrls($environment = null) {
140
+ return $this->_getUrls('mobile', $environment);
141
+ }
142
+
143
+ public function getDirectUrls($environment = null) {
144
+ return $this->_getUrls('direct', $environment);
145
+ }
146
+
147
+ public function getDefaultNewOrderStatus() {
148
+ return $this->_getConfigValue('pbxep/defaultoption/new_order_status');
149
+ }
150
+
151
+ public function getDefaultCapturedStatus() {
152
+ return $this->_getConfigValue('pbxep/defaultoption/payment_captured_status');
153
+ }
154
+
155
+ public function getDefaultAuthorizedStatus() {
156
+ return $this->_getConfigValue('pbxep/defaultoption/payment_authorized_status');
157
+ }
158
+
159
+ public function getAutomaticInvoice() {
160
+ $value = $this->_getConfigValue('pbxep/automatic_invoice');
161
+ if (is_null($value)) {
162
+ $value = 0;
163
+ }
164
+ return (int) $value;
165
+ }
166
+
167
+ public function getShowInfoToCustomer() {
168
+ $value = $this->_getConfigValue('pbxep/info_to_customer');
169
+ if (is_null($value)) {
170
+ $value = 1;
171
+ }
172
+ return (int) $value;
173
+ }
174
+
175
+ public function getKwixoDefaultCategory() {
176
+ $value = $this->_getConfigValue('pbxep/kwixo/default_category');
177
+ if (is_null($value)) {
178
+ $value = 1;
179
+ }
180
+ return (int) $value;
181
+ }
182
+
183
+ public function getKwixoDefaultCarrierType() {
184
+ $value = $this->_getConfigValue('pbxep/kwixo/default_carrier_type');
185
+ if (is_null($value)) {
186
+ $value = 4;
187
+ }
188
+ return (int) $value;
189
+ }
190
+
191
+ public function getKwixoDefaultCarrierSpeed() {
192
+ $value = $this->_getConfigValue('pbxep/kwixo/default_carrier_speed');
193
+ if (is_null($value)) {
194
+ $value = 2;
195
+ }
196
+ return (int) $value;
197
+ }
198
+
199
  }
app/code/community/Paybox/Epayment/Model/Paybox.php CHANGED
@@ -1,706 +1,739 @@
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_Paybox {
14
- private $_currencyDecimals = array(
15
- '008' => 2,
16
- '012' => 2,
17
- '032' => 2,
18
- '036' => 2,
19
- '044' => 2,
20
- '048' => 3,
21
- '050' => 2,
22
- '051' => 2,
23
- '052' => 2,
24
- '060' => 2,
25
- '064' => 2,
26
- '068' => 2,
27
- '072' => 2,
28
- '084' => 2,
29
- '090' => 2,
30
- '096' => 2,
31
- '104' => 2,
32
- '108' => 0,
33
- '116' => 2,
34
- '124' => 2,
35
- '132' => 2,
36
- '136' => 2,
37
- '144' => 2,
38
- '152' => 0,
39
- '156' => 2,
40
- '170' => 2,
41
- '174' => 0,
42
- '188' => 2,
43
- '191' => 2,
44
- '192' => 2,
45
- '203' => 2,
46
- '208' => 2,
47
- '214' => 2,
48
- '222' => 2,
49
- '230' => 2,
50
- '232' => 2,
51
- '238' => 2,
52
- '242' => 2,
53
- '262' => 0,
54
- '270' => 2,
55
- '292' => 2,
56
- '320' => 2,
57
- '324' => 0,
58
- '328' => 2,
59
- '332' => 2,
60
- '340' => 2,
61
- '344' => 2,
62
- '348' => 2,
63
- '352' => 0,
64
- '356' => 2,
65
- '360' => 2,
66
- '364' => 2,
67
- '368' => 3,
68
- '376' => 2,
69
- '388' => 2,
70
- '392' => 0,
71
- '398' => 2,
72
- '400' => 3,
73
- '404' => 2,
74
- '408' => 2,
75
- '410' => 0,
76
- '414' => 3,
77
- '417' => 2,
78
- '418' => 2,
79
- '422' => 2,
80
- '426' => 2,
81
- '428' => 2,
82
- '430' => 2,
83
- '434' => 3,
84
- '440' => 2,
85
- '446' => 2,
86
- '454' => 2,
87
- '458' => 2,
88
- '462' => 2,
89
- '478' => 2,
90
- '480' => 2,
91
- '484' => 2,
92
- '496' => 2,
93
- '498' => 2,
94
- '504' => 2,
95
- '504' => 2,
96
- '512' => 3,
97
- '516' => 2,
98
- '524' => 2,
99
- '532' => 2,
100
- '532' => 2,
101
- '533' => 2,
102
- '548' => 0,
103
- '554' => 2,
104
- '558' => 2,
105
- '566' => 2,
106
- '578' => 2,
107
- '586' => 2,
108
- '590' => 2,
109
- '598' => 2,
110
- '600' => 0,
111
- '604' => 2,
112
- '608' => 2,
113
- '634' => 2,
114
- '643' => 2,
115
- '646' => 0,
116
- '654' => 2,
117
- '678' => 2,
118
- '682' => 2,
119
- '690' => 2,
120
- '694' => 2,
121
- '702' => 2,
122
- '704' => 0,
123
- '706' => 2,
124
- '710' => 2,
125
- '728' => 2,
126
- '748' => 2,
127
- '752' => 2,
128
- '756' => 2,
129
- '760' => 2,
130
- '764' => 2,
131
- '776' => 2,
132
- '780' => 2,
133
- '784' => 2,
134
- '788' => 3,
135
- '800' => 2,
136
- '807' => 2,
137
- '818' => 2,
138
- '826' => 2,
139
- '834' => 2,
140
- '840' => 2,
141
- '858' => 2,
142
- '860' => 2,
143
- '882' => 2,
144
- '886' => 2,
145
- '901' => 2,
146
- '931' => 2,
147
- '932' => 2,
148
- '934' => 2,
149
- '936' => 2,
150
- '937' => 2,
151
- '938' => 2,
152
- '940' => 0,
153
- '941' => 2,
154
- '943' => 2,
155
- '944' => 2,
156
- '946' => 2,
157
- '947' => 2,
158
- '948' => 2,
159
- '949' => 2,
160
- '950' => 0,
161
- '951' => 2,
162
- '952' => 0,
163
- '953' => 0,
164
- '967' => 2,
165
- '968' => 2,
166
- '969' => 2,
167
- '970' => 2,
168
- '971' => 2,
169
- '972' => 2,
170
- '973' => 2,
171
- '974' => 0,
172
- '975' => 2,
173
- '976' => 2,
174
- '977' => 2,
175
- '978' => 2,
176
- '979' => 2,
177
- '980' => 2,
178
- '981' => 2,
179
- '984' => 2,
180
- '985' => 2,
181
- '986' => 2,
182
- '990' => 0,
183
- '997' => 2,
184
- '998' => 2,
185
- );
186
-
187
- private $_errorCode = array(
188
- '00000' => 'Successful operation',
189
- '00001' => 'Payment system not available',
190
- '00003' => 'Paybor error',
191
- '00004' => 'Card number or invalid cryptogram',
192
- '00006' => 'Access denied or invalid identification',
193
- '00008' => 'Invalid validity date',
194
- '00009' => 'Subscription creation failed',
195
- '00010' => 'Unknown currency',
196
- '00011' => 'Invalid amount',
197
- '00015' => 'Payment already done',
198
- '00016' => 'Existing subscriber',
199
- '00021' => 'Unauthorized card',
200
- '00029' => 'Invalid card',
201
- '00030' => 'Timeout',
202
- '00033' => 'Unauthorized IP country',
203
- '00040' => 'No 3-D Secure',
204
- );
205
-
206
- private $_resultMapping = array(
207
- 'M' => 'amount',
208
- 'R' => 'reference',
209
- 'T' => 'transaction',
210
- 'A' => 'authorization',
211
- 'B' => 'subscription',
212
- 'C' => 'cardType',
213
- 'D' => 'validity',
214
- 'E' => 'error',
215
- 'F' => '3ds',
216
- 'G' => '3dsWarranty',
217
- 'H' => 'imprint',
218
- 'I' => 'ip',
219
- 'J' => 'lastNumbers',
220
- 'K' => 'sign',
221
- 'N' => 'firstNumbers',
222
- 'O' => '3dsInlistment',
223
- 'o' => 'celetemType',
224
- 'P' => 'paymentType',
225
- 'Q' => 'time',
226
- 'S' => 'call',
227
- 'U' => 'subscriptionData',
228
- 'W' => 'date',
229
- 'Y' => 'country',
230
- 'Z' => 'paymentIndex',
231
- );
232
-
233
- protected function _buildUrl($url) {
234
- $url = Mage::getUrl($url, array('_secure' => true));
235
- $url = Mage::getModel('core/url')->sessionUrlVar($url);
236
- return $url;
237
- }
238
-
239
- protected function _callDirect($type, $amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
240
- $config = $this->getConfig();
241
-
242
- $amountScale = $this->getCurrencyScale($order);
243
- $amount = round($amount * $amountScale);
244
-
245
- // Transaction information
246
- $callNumber = $transaction->getAdditionalInformation(Paybox_Epayment_Model_Payment_Abstract::CALL_NUMBER);
247
- $transNumber = $transaction->getAdditionalInformation(Paybox_Epayment_Model_Payment_Abstract::TRANSACTION_NUMBER);
248
-
249
-
250
- $now = new DateTime('now', new DateTimeZone('Europe/Paris'));
251
- $fields = array(
252
- 'ACTIVITE' => '024',
253
- 'VERSION' => '00103',
254
- 'CLE' => $config->getPassword(),
255
- 'DATEQ' => $now->format('dmYHis'),
256
- 'DEVISE' => sprintf('%03d', $this->getCurrency($order)),
257
- 'IDENTIFIANT' => $config->getIdentifier(),
258
- 'MONTANT' => sprintf('%010d', $amount),
259
- 'NUMAPPEL' => sprintf('%010d', $transNumber),
260
- 'NUMQUESTION' => sprintf('%010d', $now->format('U')),
261
- 'NUMTRANS' => sprintf('%010d', $callNumber),
262
- 'RANG' => sprintf('%02d', $config->getRank()),
263
- 'REFERENCE' => $this->tokenizeOrder($order),
264
- 'SITE' => sprintf('%07d', $config->getSite()),
265
- 'TYPE' => sprintf('%05d', (int)$type),
266
- );
267
-
268
- // Specific Paypal
269
- $details = $transaction->getAdditionalInformation(Mage_Sales_Model_Order_Payment_Transaction::RAW_DETAILS);
270
- switch ($details['cardType']) {
271
- case 'PAYPAL':
272
- $fields['ACQUEREUR'] = 'PAYPAL';
273
- break;
274
- }
275
-
276
- $urls = $config->getDirectUrls();
277
- $url = $this->checkUrls($urls);
278
-
279
- // Init client
280
- $clt = new Varien_Http_Client($url, array(
281
- 'maxredirects' => 0,
282
- 'useragent' => 'Magento Paybox module',
283
- 'timeout' => 5,
284
- ));
285
- $clt->setMethod(Varien_Http_Client::POST);
286
- $clt->setRawData(http_build_query($fields));
287
-
288
- // Do call
289
- $response = $clt->request();
290
-
291
- if ($response->isSuccessful()) {
292
- // Process result
293
- $result = array();
294
- parse_str($response->getBody(), $result);
295
- return $result;
296
- }
297
-
298
- // Here, there's a problem
299
- Mage::throwException(Mage::helper('pbxep')->__('Paybox not available. Please try again later.'));
300
- }
301
-
302
- public function buildSystemParams(Mage_Sales_Model_Order $order, Paybox_Epayment_Model_Payment_Abstract $payment) {
303
- $config = $this->getConfig();
304
-
305
- // URLs
306
- $baseUrl = 'pbxep/payment';
307
- $values = array(
308
- 'PBX_ANNULE' => $this->_buildUrl($baseUrl . '/cancel'),
309
- 'PBX_EFFECTUE' => $this->_buildUrl($baseUrl . '/success'),
310
- 'PBX_REFUSE' => $this->_buildUrl($baseUrl . '/failed'),
311
- 'PBX_REPONDRE_A' => $this->_buildUrl($baseUrl . '/ipn'),
312
- );
313
-
314
- // Merchant information
315
- $values['PBX_SITE'] = $config->getSite();
316
- $values['PBX_RANG'] = substr(sprintf('%02d', $config->getRank()), -2);
317
- $values['PBX_IDENTIFIANT'] = $config->getIdentifier();
318
-
319
- // Card information
320
- $cards = $payment->getCards();
321
- if ($payment->getHasCctypes()) {
322
- $code = $order->getPayment()->getData('cc_type');
323
- } else {
324
- $code = array_keys($cards);
325
- $code = $code[0];
326
- }
327
- if (!isset($cards[$code])) {
328
- $message = 'No card with code %s.';
329
- Mage::throwException(Mage::helper('pbxep')->__($message), $code);
330
- }
331
- $card = $cards[$code];
332
- $values['PBX_TYPEPAIEMENT'] = $card['payment'];
333
- $values['PBX_TYPECARTE'] = $card['card'];
334
- if ($card['payment'] == 'KWIXO') {
335
- $kwixo = Mage::getSingleton('pbxep/kwixo');
336
- $values = $kwixo->buildKwixoParams($order, $values);
337
- }
338
-
339
- // Order information
340
- $values['PBX_PORTEUR'] = $this->getBillingEmail($order);
341
- $values['PBX_DEVISE'] = $this->getCurrency($order);
342
- $values['PBX_CMD'] = $this->tokenizeOrder($order);
343
-
344
- // Amount
345
- $orderAmount = $order->getBaseGrandTotal();
346
- $amountScale = $this->_currencyDecimals[$values['PBX_DEVISE']];
347
- $amountScale = pow(10, $amountScale);
348
- if ($payment->getCode() == 'pbxep_threetime') {
349
- $amounts = $this->computeThreetimePayments($orderAmount, $amountScale);
350
- foreach ($amounts as $k => $v) {
351
- $values[$k] = $v;
352
- }
353
- }
354
- else {
355
- $values['PBX_TOTAL'] = sprintf('%03d', round($orderAmount * $amountScale));
356
- switch ($payment->getPayboxAction()) {
357
- case Paybox_Epayment_Model_Payment_Abstract::PBXACTION_MANUAL:
358
- $values['PBX_AUTOSEULE'] = 'O';
359
- break;
360
-
361
- case Paybox_Epayment_Model_Payment_Abstract::PBXACTION_DEFERRED:
362
- $delay = (int) $payment->getConfigData('delay');
363
- if ($delay < 1) {
364
- $delay = 1;
365
- } else if ($delay > 7) {
366
- $delay = 7;
367
- }
368
- $values['PBX_DIFF'] = sprintf('%02d', $delay);
369
- break;
370
- }
371
- }
372
-
373
- // 3-D Secure
374
- if (!$payment->is3DSEnabled($order)) {
375
- $values['PBX_3DS'] = 'N';
376
- }
377
-
378
- // Paybox => Magento
379
- $values['PBX_RETOUR'] = 'M:M;R:R;T:T;A:A;B:B;C:C;D:D;E:E;F:F;G:G;H:H;I:I;J:J;N:N;O:O;P:P;Q:Q;S:S;W:W;Y:Y;K:K';
380
- $values['PBX_RUF1'] = 'POST';
381
-
382
- // Choose correct language
383
- $lang = Mage::app()->getLocale();
384
- if (!empty($lang)) {
385
- $lang = preg_replace('#_.*$#', '', $lang->getLocaleCode());
386
- }
387
- $languages = $config->getLanguages();
388
- if (!array_key_exists($lang, $languages)) {
389
- $lang = 'default';
390
- }
391
- $lang = $languages[$lang];
392
- $values['PBX_LANGUE'] = $lang;
393
-
394
- // Choose page format depending on browser/devise
395
- if (Mage::helper('pbxep/mobile')->isMobile()) {
396
- $values['PBX_SOURCE'] = 'XHTML';
397
- }
398
-
399
- // Misc.
400
- $values['PBX_TIME'] = date('c');
401
- $values['PBX_HASH'] = strtoupper($config->getHmacAlgo());
402
-
403
- // Card specific workaround
404
- if (($card['payment'] == 'LEETCHI') && ($card['card'] == 'LEETCHI')) {
405
- $values['PBX_EFFECTUE'] .= '?R='.urlencode($values['PBX_CMD']);
406
- $values['PBX_REFUSE'] .= '?R='.urlencode($values['PBX_CMD']);
407
- }
408
- else if (($card['payment'] == 'PREPAYEE') && ($card['card'] == 'IDEAL')) {
409
- $s = '?C=IDEAL&P=PREPAYEE';
410
- $values['PBX_ANNULE'] .= $s;
411
- $values['PBX_EFFECTUE'] .= $s;
412
- $values['PBX_REFUSE'] .= $s;
413
- $values['PBX_REPONDRE_A'] .= $s;
414
- }
415
-
416
- // Sort parameters for simpler debug
417
- ksort($values);
418
-
419
- // Sign values
420
- $sign = $this->signValues($values);
421
-
422
- // Hash HMAC
423
- $values['PBX_HMAC'] = $sign;
424
-
425
- return $values;
426
- }
427
-
428
- public function checkUrls(array $urls) {
429
- // Init client
430
- $client = new Varien_Http_Client(null, array(
431
- 'maxredirects' => 0,
432
- 'useragent' => 'Magento Paybox module',
433
- 'timeout' => 5,
434
- ));
435
- $client->setMethod(Varien_Http_Client::GET);
436
-
437
- $error = null;
438
- foreach ($urls as $url) {
439
- $testUrl = preg_replace('#^([a-zA-Z0-9]+://[^/]+)(/.*)?$#', '\1/load.html', $url);
440
- $client->setUri($testUrl);
441
-
442
- try {
443
- $response = $client->request();
444
- if ($response->isSuccessful()) {
445
- return $url;
446
- }
447
- }
448
- catch (Exception $e) {
449
- $error = $e;
450
- }
451
- }
452
-
453
- // Here, there's a problem
454
- throw new Exception($this->l('Paybox not available. Please try again later.'));
455
- }
456
-
457
- public function computeThreetimePayments($orderAmount, $amountScale) {
458
- $values = array();
459
- // Compute each payment amount
460
- $step = round($orderAmount * $amountScale / 3);
461
- $firstStep = ($orderAmount * $amountScale) - 2 * $step;
462
- $values['PBX_TOTAL'] = sprintf('%03d', $firstStep);
463
- $values['PBX_2MONT1'] = sprintf('%03d', $step);
464
- $values['PBX_2MONT2'] = sprintf('%03d', $step);
465
-
466
- // Payment dates
467
- $now = new DateTime();
468
- $now->modify('1 month');
469
- $values['PBX_DATE1'] = $now->format('d/m/Y');
470
- $now->modify('1 month');
471
- $values['PBX_DATE2'] = $now->format('d/m/Y');
472
-
473
-
474
- // Force validity date of card
475
- $values['PBX_DATEVALMAX'] = $now->format('ym');
476
- return $values;
477
- }
478
-
479
- public function convertParams(array $params) {
480
- $result = array();
481
- foreach ($this->_resultMapping as $param => $key) {
482
- if (isset($params[$param])) {
483
- $result[$key] = utf8_encode($params[$param]);
484
- }
485
- }
486
-
487
- return $result;
488
- }
489
-
490
- /**
491
- * Create transaction ID from Paybox data
492
- */
493
- protected function createTransactionId(array $payboxData) {
494
- $call = (int) (isset($payboxData['call']) ? $payboxData['call'] : $payboxData['NUMTRANS']);
495
- $now = new DateTime('now', new DateTimeZone('Europe/Paris'));
496
- return $call . '/' . $now->format('U');
497
- }
498
-
499
- public function directCapture($amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
500
- return $this->_callDirect(2, $amount, $order, $transaction);
501
- }
502
-
503
- public function directRefund($amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
504
- return $this->_callDirect(14, $amount, $order, $transaction);
505
- }
506
-
507
- public function getBillingEmail(Mage_Sales_Model_Order $order) {
508
- return $order->getCustomerEmail();
509
- }
510
-
511
- public function getBillingName(Mage_Sales_Model_Order $order) {
512
- return trim(preg_replace("/[^-. a-zA-Z0-9]/", " ", Mage::helper('core')->removeAccents($order->getCustomerName())));
513
- }
514
-
515
- /**
516
- * @return Paybox_Epayment_Model_Config Paybox configuration object
517
- */
518
- public function getConfig() {
519
- return Mage::getSingleton('pbxep/config');
520
- }
521
-
522
- public function getCurrency(Mage_Sales_Model_Order $order) {
523
- $currencyMapper = Mage::getSingleton('pbxep/iso4217Currency');
524
- $currency = $order->getBaseCurrencyCode();
525
- return $currencyMapper->getIsoCode($currency);
526
- }
527
-
528
- public function getCurrencyDecimals($cartOrOrder) {
529
- return $this->_currencyDecimals[$this->getCurrency($cartOrOrder)];
530
- }
531
-
532
- public function getCurrencyScale($cartOrOrder) {
533
- return pow(10, $this->getCurrencyDecimals($cartOrOrder));
534
- }
535
-
536
- public function getParams($logParams = false, $checkSign = true) {
537
- // Retrieves data
538
- $data = file_get_contents('php://input');
539
- if (empty($data)) {
540
- $data = $_SERVER['QUERY_STRING'];
541
- }
542
- if (empty($data)) {
543
- $helper = Mage::helper('pbxep');
544
- Mage::throwException($helper->__('An unexpected error in Paybox call has occured: no parameters.'));
545
- }
546
-
547
- // Log params if needed
548
- if ($logParams) {
549
- $this->logDebug(sprintf('Call params: %s', $data));
550
- }
551
-
552
- // Check signature if needed
553
- if ($checkSign) {
554
- // Extract signature
555
- $matches = array();
556
- if (!preg_match('#^(.*)&K=(.*)$#', $data, $matches)) {
557
- $helper = Mage::helper('pbxep');
558
- Mage::throwException($helper->__('An unexpected error in Paybox call has occured: missing signature.'));
559
- }
560
-
561
- // Check signature
562
- $signature = base64_decode(urldecode($matches[2]));
563
- $pubkey = file_get_contents(dirname(__FILE__).'/../etc/pubkey.pem');
564
- $res = (boolean)openssl_verify($matches[1], $signature, $pubkey);
565
-
566
- if (!$res) {
567
- if (preg_match('#^C=IDEAL&P=PREPAYEE&(.*)&K=(.*)$#', $data, $matches)) {
568
- $signature = base64_decode(urldecode($matches[2]));
569
- $res = (boolean) openssl_verify($matches[1], $signature, $pubkey);
570
- }
571
-
572
- if (!$res) {
573
- $helper = Mage::helper('pbxep');
574
- Mage::throwException($helper->__('An unexpected error in Paybox call has occured: invalid signature.'));
575
- }
576
- }
577
- }
578
-
579
- $rawParams = array();
580
- parse_str($data, $rawParams);
581
-
582
- // Decrypt params
583
- $params = $this->convertParams($rawParams);
584
- if (empty($params)) {
585
- $helper = Mage::helper('pbxep');
586
- Mage::throwException($helper->__('An unexpected error in Paybox call has occured.'));
587
- }
588
-
589
- return $params;
590
- }
591
-
592
- public function getSystemUrl() {
593
- $config = $this->getConfig();
594
- $urls = $config->getSystemUrls();
595
- if (empty($urls)) {
596
- $message = 'Missing URL for Paybox system in configuration';
597
- $helper = Mage::helper('pbxep');
598
- Mage::throwException($helper->__($message));
599
- }
600
-
601
- $url = $this->checkUrls($urls);
602
-
603
- return $url;
604
- }
605
-
606
- public function getKwixoUrl() {
607
- $config = $this->getConfig();
608
- $urls = $config->getKwixoUrls();
609
- if (empty($urls)) {
610
- $message = 'Missing URL for Paybox system in configuration';
611
- $helper = Mage::helper('pbxep');
612
- Mage::throwException($helper->__($message));
613
- }
614
-
615
- $url = $this->checkUrls($urls);
616
-
617
- return $url;
618
- }
619
-
620
- public function logDebug($message) {
621
- Mage::log($message, Zend_Log::DEBUG, 'paybox-epayment.log');
622
- }
623
-
624
- public function logWarning($message) {
625
- Mage::log($message, Zend_Log::WARN, 'paybox-epayment.log');
626
- }
627
-
628
- public function logError($message) {
629
- Mage::log($message, Zend_Log::ERR, 'paybox-epayment.log');
630
- }
631
-
632
- public function logFatal($message) {
633
- Mage::log($message, Zend_Log::ALERT, 'paybox-epayment.log');
634
- }
635
-
636
- public function signValues(array $values) {
637
- $config = $this->getConfig();
638
-
639
- // Serialize values
640
- $query = array();
641
- foreach ($values as $name => $value) {
642
- $query[] = $name . '=' . $value;
643
- }
644
- $query = implode('&', $query);
645
-
646
- // Prepare key
647
- $key = pack('H*', $config->getHmacKey());
648
-
649
- // Sign values
650
- $sign = hash_hmac($config->getHmacAlgo(), $query, $key);
651
- if ($sign === false) {
652
- $errorMsg = 'Unable to create hmac signature. Maybe a wrong configuration.';
653
- $helper = Mage::helper('pbxep');
654
- Mage::throwException($helper->__($errorMsg));
655
- }
656
-
657
- return strtoupper($sign);
658
- }
659
-
660
- public function toErrorMessage($code) {
661
- if (isset($this->_errorCode[$code])) {
662
- return $this->_errorCode[$code];
663
- }
664
- return 'Unknown error '.$code;
665
- }
666
-
667
- public function tokenizeOrder(Mage_Sales_Model_Order $order) {
668
- $reference = array();
669
- $reference[] = $order->getRealOrderId();
670
- $reference[] = $this->getBillingName($order);
671
- $reference = implode(' - ', $reference);
672
- return $reference;
673
- }
674
-
675
- /**
676
- * Load order from the $token
677
- * @param string $token Token (@see tokenizeOrder)
678
- * @return Mage_Sales_Model_Order
679
- */
680
- public function untokenizeOrder($token) {
681
- $parts = explode(' - ', $token, 2);
682
- if (count($parts) < 2) {
683
- $message = 'Invalid decrypted token "%s"';
684
- Mage::throwException(Mage::helper('pbxep')->__($message, $token));
685
- }
686
-
687
- // Retrieves order
688
- $order = Mage::getSingleton('sales/order')->loadByIncrementId($parts[0]);
689
- if (empty($order)) {
690
- $message = 'Not existing order id from decrypted token "%s"';
691
- Mage::throwException(Mage::helper('pbxep')->__($message, $token));
692
- }
693
- if (is_null($order->getId())) {
694
- $message = 'Not existing order id from decrypted token "%s"';
695
- Mage::throwException(Mage::helper('pbxep')->__($message, $token));
696
- }
697
-
698
- $goodName = $this->getBillingName($order);
699
- if (($goodName != utf8_decode($parts[1])) && ($goodName != $parts[1])) {
700
- $message = 'Consistency error on descrypted token "%s"';
701
- Mage::throwException(Mage::helper('pbxep')->__($message, $token));
702
- }
703
-
704
- return $order;
705
- }
706
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Paybox {
14
+ protected $_currencyDecimals = array(
15
+ '008' => 2,
16
+ '012' => 2,
17
+ '032' => 2,
18
+ '036' => 2,
19
+ '044' => 2,
20
+ '048' => 3,
21
+ '050' => 2,
22
+ '051' => 2,
23
+ '052' => 2,
24
+ '060' => 2,
25
+ '064' => 2,
26
+ '068' => 2,
27
+ '072' => 2,
28
+ '084' => 2,
29
+ '090' => 2,
30
+ '096' => 2,
31
+ '104' => 2,
32
+ '108' => 0,
33
+ '116' => 2,
34
+ '124' => 2,
35
+ '132' => 2,
36
+ '136' => 2,
37
+ '144' => 2,
38
+ '152' => 0,
39
+ '156' => 2,
40
+ '170' => 2,
41
+ '174' => 0,
42
+ '188' => 2,
43
+ '191' => 2,
44
+ '192' => 2,
45
+ '203' => 2,
46
+ '208' => 2,
47
+ '214' => 2,
48
+ '222' => 2,
49
+ '230' => 2,
50
+ '232' => 2,
51
+ '238' => 2,
52
+ '242' => 2,
53
+ '262' => 0,
54
+ '270' => 2,
55
+ '292' => 2,
56
+ '320' => 2,
57
+ '324' => 0,
58
+ '328' => 2,
59
+ '332' => 2,
60
+ '340' => 2,
61
+ '344' => 2,
62
+ '348' => 2,
63
+ '352' => 0,
64
+ '356' => 2,
65
+ '360' => 2,
66
+ '364' => 2,
67
+ '368' => 3,
68
+ '376' => 2,
69
+ '388' => 2,
70
+ '392' => 0,
71
+ '398' => 2,
72
+ '400' => 3,
73
+ '404' => 2,
74
+ '408' => 2,
75
+ '410' => 0,
76
+ '414' => 3,
77
+ '417' => 2,
78
+ '418' => 2,
79
+ '422' => 2,
80
+ '426' => 2,
81
+ '428' => 2,
82
+ '430' => 2,
83
+ '434' => 3,
84
+ '440' => 2,
85
+ '446' => 2,
86
+ '454' => 2,
87
+ '458' => 2,
88
+ '462' => 2,
89
+ '478' => 2,
90
+ '480' => 2,
91
+ '484' => 2,
92
+ '496' => 2,
93
+ '498' => 2,
94
+ '504' => 2,
95
+ '504' => 2,
96
+ '512' => 3,
97
+ '516' => 2,
98
+ '524' => 2,
99
+ '532' => 2,
100
+ '532' => 2,
101
+ '533' => 2,
102
+ '548' => 0,
103
+ '554' => 2,
104
+ '558' => 2,
105
+ '566' => 2,
106
+ '578' => 2,
107
+ '586' => 2,
108
+ '590' => 2,
109
+ '598' => 2,
110
+ '600' => 0,
111
+ '604' => 2,
112
+ '608' => 2,
113
+ '634' => 2,
114
+ '643' => 2,
115
+ '646' => 0,
116
+ '654' => 2,
117
+ '678' => 2,
118
+ '682' => 2,
119
+ '690' => 2,
120
+ '694' => 2,
121
+ '702' => 2,
122
+ '704' => 0,
123
+ '706' => 2,
124
+ '710' => 2,
125
+ '728' => 2,
126
+ '748' => 2,
127
+ '752' => 2,
128
+ '756' => 2,
129
+ '760' => 2,
130
+ '764' => 2,
131
+ '776' => 2,
132
+ '780' => 2,
133
+ '784' => 2,
134
+ '788' => 3,
135
+ '800' => 2,
136
+ '807' => 2,
137
+ '818' => 2,
138
+ '826' => 2,
139
+ '834' => 2,
140
+ '840' => 2,
141
+ '858' => 2,
142
+ '860' => 2,
143
+ '882' => 2,
144
+ '886' => 2,
145
+ '901' => 2,
146
+ '931' => 2,
147
+ '932' => 2,
148
+ '934' => 2,
149
+ '936' => 2,
150
+ '937' => 2,
151
+ '938' => 2,
152
+ '940' => 0,
153
+ '941' => 2,
154
+ '943' => 2,
155
+ '944' => 2,
156
+ '946' => 2,
157
+ '947' => 2,
158
+ '948' => 2,
159
+ '949' => 2,
160
+ '950' => 0,
161
+ '951' => 2,
162
+ '952' => 0,
163
+ '953' => 0,
164
+ '967' => 2,
165
+ '968' => 2,
166
+ '969' => 2,
167
+ '970' => 2,
168
+ '971' => 2,
169
+ '972' => 2,
170
+ '973' => 2,
171
+ '974' => 0,
172
+ '975' => 2,
173
+ '976' => 2,
174
+ '977' => 2,
175
+ '978' => 2,
176
+ '979' => 2,
177
+ '980' => 2,
178
+ '981' => 2,
179
+ '984' => 2,
180
+ '985' => 2,
181
+ '986' => 2,
182
+ '990' => 0,
183
+ '997' => 2,
184
+ '998' => 2,
185
+ );
186
+
187
+ protected $_errorCode = array(
188
+ '00000' => 'Successful operation',
189
+ '00001' => 'Payment system not available',
190
+ '00003' => 'Paybor error',
191
+ '00004' => 'Card number or invalid cryptogram',
192
+ '00006' => 'Access denied or invalid identification',
193
+ '00008' => 'Invalid validity date',
194
+ '00009' => 'Subscription creation failed',
195
+ '00010' => 'Unknown currency',
196
+ '00011' => 'Invalid amount',
197
+ '00015' => 'Payment already done',
198
+ '00016' => 'Existing subscriber',
199
+ '00021' => 'Unauthorized card',
200
+ '00029' => 'Invalid card',
201
+ '00030' => 'Timeout',
202
+ '00033' => 'Unauthorized IP country',
203
+ '00040' => 'No 3-D Secure',
204
+ );
205
+
206
+ protected $_resultMapping = array(
207
+ 'M' => 'amount',
208
+ 'R' => 'reference',
209
+ 'T' => 'transaction',
210
+ 'A' => 'authorization',
211
+ 'B' => 'subscription',
212
+ 'C' => 'cardType',
213
+ 'D' => 'validity',
214
+ 'E' => 'error',
215
+ 'F' => '3ds',
216
+ 'G' => '3dsWarranty',
217
+ 'H' => 'imprint',
218
+ 'I' => 'ip',
219
+ 'J' => 'lastNumbers',
220
+ 'K' => 'sign',
221
+ 'N' => 'firstNumbers',
222
+ 'O' => '3dsInlistment',
223
+ 'o' => 'celetemType',
224
+ 'P' => 'paymentType',
225
+ 'Q' => 'time',
226
+ 'S' => 'call',
227
+ 'U' => 'subscriptionData',
228
+ 'W' => 'date',
229
+ 'Y' => 'country',
230
+ 'Z' => 'paymentIndex',
231
+ );
232
+ protected function _buildUrl($url) {
233
+ $url = Mage::getUrl($url, array('_secure' => true));
234
+ $url = Mage::getModel('core/url')->sessionUrlVar($url);
235
+ return $url;
236
+ }
237
+
238
+ protected function _callDirect($type, $amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
239
+ $config = $this->getConfig();
240
+
241
+ $amountScale = $this->getCurrencyScale($order);
242
+ $amount = round($amount * $amountScale);
243
+
244
+ // Transaction information
245
+ $callNumber = $transaction->getAdditionalInformation(Paybox_Epayment_Model_Payment_Abstract::CALL_NUMBER);
246
+ $transNumber = $transaction->getAdditionalInformation(Paybox_Epayment_Model_Payment_Abstract::TRANSACTION_NUMBER);
247
+
248
+
249
+ $now = new DateTime('now', new DateTimeZone('Europe/Paris'));
250
+ $fields = array(
251
+ 'ACTIVITE' => '024',
252
+ 'VERSION' => '00103',
253
+ 'CLE' => $config->getPassword(),
254
+ 'DATEQ' => $now->format('dmYHis'),
255
+ 'DEVISE' => sprintf('%03d', $this->getCurrency($order)),
256
+ 'IDENTIFIANT' => $config->getIdentifier(),
257
+ 'MONTANT' => sprintf('%010d', $amount),
258
+ 'NUMAPPEL' => sprintf('%010d', $transNumber),
259
+ 'NUMQUESTION' => sprintf('%010d', $now->format('U')),
260
+ 'NUMTRANS' => sprintf('%010d', $callNumber),
261
+ 'RANG' => sprintf('%02d', $config->getRank()),
262
+ 'REFERENCE' => $this->tokenizeOrder($order),
263
+ 'SITE' => sprintf('%07d', $config->getSite()),
264
+ 'TYPE' => sprintf('%05d', (int)$type),
265
+ );
266
+
267
+ // Specific Paypal
268
+ $details = $transaction->getAdditionalInformation(Mage_Sales_Model_Order_Payment_Transaction::RAW_DETAILS);
269
+ switch ($details['cardType']) {
270
+ case 'PAYPAL':
271
+ $fields['ACQUEREUR'] = 'PAYPAL';
272
+ break;
273
+ }
274
+
275
+ $urls = $config->getDirectUrls();
276
+ $url = $this->checkUrls($urls);
277
+
278
+ // Init client
279
+ $clt = new Varien_Http_Client($url, array(
280
+ 'maxredirects' => 0,
281
+ 'useragent' => 'Magento Paybox module',
282
+ 'timeout' => 5,
283
+ ));
284
+ $clt->setMethod(Varien_Http_Client::POST);
285
+ $clt->setRawData(http_build_query($fields));
286
+
287
+ // Do call
288
+ $response = $clt->request();
289
+
290
+ if ($response->isSuccessful()) {
291
+ // Process result
292
+ $result = array();
293
+ parse_str($response->getBody(), $result);
294
+ return $result;
295
+ }
296
+
297
+ // Here, there's a problem
298
+ Mage::throwException(Mage::helper('pbxep')->__('Paybox not available. Please try again later.'));
299
+ }
300
+
301
+ public function buildSystemParams(Mage_Sales_Model_Order $order, Paybox_Epayment_Model_Payment_Abstract $payment) {
302
+ $config = $this->getConfig();
303
+
304
+ // URLs
305
+ $baseUrl = 'pbxep/payment';
306
+ $values = array(
307
+ 'PBX_ANNULE' => $this->_buildUrl($baseUrl . '/cancel'),
308
+ 'PBX_EFFECTUE' => $this->_buildUrl($baseUrl . '/success'),
309
+ 'PBX_REFUSE' => $this->_buildUrl($baseUrl . '/failed'),
310
+ 'PBX_REPONDRE_A' => $this->_buildUrl($baseUrl . '/ipn'),
311
+ );
312
+
313
+ // Merchant information
314
+ $values['PBX_SITE'] = $config->getSite();
315
+ $values['PBX_RANG'] = substr(sprintf('%02d', $config->getRank()), -2);
316
+ $values['PBX_IDENTIFIANT'] = $config->getIdentifier();
317
+
318
+ // Card information
319
+ $cards = $payment->getCards();
320
+ if ($payment->getHasCctypes()) {
321
+ $code = $order->getPayment()->getData('cc_type');
322
+ } else {
323
+ $code = array_keys($cards);
324
+ $code = $code[0];
325
+ }
326
+ if (!isset($cards[$code])) {
327
+ $message = 'No card with code %s.';
328
+ Mage::throwException(Mage::helper('pbxep')->__($message), $code);
329
+ }
330
+ $card = $cards[$code];
331
+ $values['PBX_TYPEPAIEMENT'] = $card['payment'];
332
+ $values['PBX_TYPECARTE'] = $card['card'];
333
+ if ($card['payment'] == 'KWIXO') {
334
+ $kwixo = Mage::getSingleton('pbxep/kwixo');
335
+ $values = $kwixo->buildKwixoParams($order, $values);
336
+ }
337
+
338
+ // Order information
339
+ $values['PBX_PORTEUR'] = $this->getBillingEmail($order);
340
+ $values['PBX_DEVISE'] = $this->getCurrency($order);
341
+ $values['PBX_CMD'] = $this->tokenizeOrder($order);
342
+
343
+ // Amount
344
+ $orderAmount = $order->getBaseGrandTotal();
345
+ $amountScale = $this->_currencyDecimals[$values['PBX_DEVISE']];
346
+ $amountScale = pow(10, $amountScale);
347
+ if (($payment->getCode() == 'pbxep_threetime') || ($payment->getCode() == 'pbxep_threetimeprivate') ) {
348
+ $amounts = $this->computeNtimePayments($orderAmount, $amountScale, $payment->getNbtimes(), $payment->getNbdays());
349
+ foreach ($amounts as $k => $v) {
350
+ $values[$k] = $v;
351
+ }
352
+ }
353
+ else {
354
+ $values['PBX_TOTAL'] = sprintf('%03d', round($orderAmount * $amountScale));
355
+ switch ($payment->getPayboxAction()) {
356
+ case Paybox_Epayment_Model_Payment_Abstract::PBXACTION_MANUAL:
357
+ $values['PBX_AUTOSEULE'] = 'O';
358
+ break;
359
+
360
+ case Paybox_Epayment_Model_Payment_Abstract::PBXACTION_DEFERRED:
361
+ $delay = (int) $payment->getConfigData('delay');
362
+ if ($delay < 1) {
363
+ $delay = 1;
364
+ } else if ($delay > 7) {
365
+ $delay = 7;
366
+ }
367
+ $values['PBX_DIFF'] = sprintf('%02d', $delay);
368
+ break;
369
+ }
370
+ }
371
+
372
+ // 3-D Secure
373
+ if (!$payment->is3DSEnabled($order)) {
374
+ $values['PBX_3DS'] = 'N';
375
+ }
376
+
377
+ // Paybox => Magento
378
+ $values['PBX_RETOUR'] = 'M:M;R:R;T:T;A:A;B:B;C:C;D:D;E:E;F:F;G:G;H:H;I:I;J:J;N:N;O:O;P:P;Q:Q;S:S;W:W;Y:Y;K:K';
379
+ $values['PBX_RUF1'] = 'POST';
380
+
381
+ // Choose correct language
382
+ $lang = Mage::app()->getLocale();
383
+ if (!empty($lang)) {
384
+ $lang = preg_replace('#_.*$#', '', $lang->getLocaleCode());
385
+ }
386
+ $languages = $config->getLanguages();
387
+ if (!array_key_exists($lang, $languages)) {
388
+ $lang = 'default';
389
+ }
390
+ $lang = $languages[$lang];
391
+ $values['PBX_LANGUE'] = $lang;
392
+
393
+ // Choose page format depending on browser/devise
394
+ if (Mage::helper('pbxep/mobile')->isMobile()) {
395
+ $values['PBX_SOURCE'] = 'XHTML';
396
+ }
397
+
398
+ // Misc.
399
+ $values['PBX_TIME'] = date('c');
400
+ $values['PBX_HASH'] = strtoupper($config->getHmacAlgo());
401
+
402
+ // Card specific workaround
403
+ if (($card['payment'] == 'LEETCHI') && ($card['card'] == 'LEETCHI')) {
404
+ $values['PBX_EFFECTUE'] .= '?R='.urlencode($values['PBX_CMD']);
405
+ $values['PBX_REFUSE'] .= '?R='.urlencode($values['PBX_CMD']);
406
+ }
407
+ else if (($card['payment'] == 'PREPAYEE') && ($card['card'] == 'IDEAL')) {
408
+ $s = '?C=IDEAL&P=PREPAYEE';
409
+ $values['PBX_ANNULE'] .= $s;
410
+ $values['PBX_EFFECTUE'] .= $s;
411
+ $values['PBX_REFUSE'] .= $s;
412
+ $values['PBX_REPONDRE_A'] .= $s;
413
+ }
414
+
415
+ // Sort parameters for simpler debug
416
+ ksort($values);
417
+
418
+ // Sign values
419
+ $sign = $this->signValues($values);
420
+
421
+ // Hash HMAC
422
+ $values['PBX_HMAC'] = $sign;
423
+
424
+ return $values;
425
+ }
426
+
427
+ public function checkUrls(array $urls) {
428
+ // Init client
429
+ $client = new Varien_Http_Client(null, array(
430
+ 'maxredirects' => 0,
431
+ 'useragent' => 'Magento Paybox module',
432
+ 'timeout' => 5,
433
+ ));
434
+ $client->setMethod(Varien_Http_Client::GET);
435
+
436
+ $error = null;
437
+ foreach ($urls as $url) {
438
+ $testUrl = preg_replace('#^([a-zA-Z0-9]+://[^/]+)(/.*)?$#', '\1/load.html', $url);
439
+ $client->setUri($testUrl);
440
+
441
+ try {
442
+ $response = $client->request();
443
+ if ($response->isSuccessful()) {
444
+ return $url;
445
+ }
446
+ }
447
+ catch (Exception $e) {
448
+ $error = $e;
449
+ }
450
+ }
451
+
452
+ // Here, there's a problem
453
+ Mage::throwException(Mage::helper('pbxep')->__('Paybox not available. Please try again later.'));
454
+ }
455
+
456
+
457
+
458
+ protected function cleanupPeriodicity($periodicity){
459
+ if (is_numeric($periodicity)) {
460
+ $string=$periodicity." day";
461
+ }else{
462
+ $Nbdays = strtolower($periodicity);
463
+ $count=0;
464
+ $days = array("jours","jour","días","día","tage","tag");
465
+ $string = str_replace($days,"day",$Nbdays,$count);
466
+ $weeks= array("semaines","semaine", "semanas", "semana", "wochen", "woche");
467
+ if($count==0)$string = str_replace($weeks,"week",$Nbdays,$count);
468
+ $months= array("mois","meses", "mes", "monate", "monat");
469
+ if($count==0)$string = str_replace($months,"month",$Nbdays,$count);
470
+
471
+ }
472
+ return $string;
473
+ }
474
+
475
+
476
+ public function computeNtimePayments($orderAmount, $amountScale,$Nbtimes = null,$Nbdays = null ) {
477
+
478
+ // echo "<b>going for ".$Nbtimes." times evry ".$Nbdays." days</b>";
479
+
480
+ if ($Nbtimes == null && $Nbdays == null){
481
+
482
+ }
483
+
484
+ $values = array();
485
+ // Compute each payment amount
486
+ $step = round($orderAmount * $amountScale / $Nbtimes);
487
+ $firstStep = ($orderAmount * $amountScale) - ($Nbtimes-1) * $step;
488
+ $values['PBX_TOTAL'] = sprintf('%03d', $firstStep);
489
+ for($i=1;$i<$Nbtimes;$i++){
490
+ $values['PBX_2MONT'.$i] = sprintf('%03d', $step);
491
+ }
492
+ // Payment dates
493
+ $now = new DateTime();
494
+ $d = DateTime::createFromFormat('Y-m-d', $Nbdays);
495
+
496
+ if($Nbtimes==2 && ($d) && ($d->format('Y-m-d') == $Nbdays)){
497
+ $values['PBX_DATE1']=$d->format('d/m/Y');
498
+ $now = $d;
499
+ }else{
500
+ $Nbdays = $this->cleanupPeriodicity($Nbdays);
501
+ for($i=1;$i<$Nbtimes;$i++){
502
+ $now->modify($Nbdays);
503
+ $values['PBX_DATE'.$i] = $now->format('d/m/Y');;
504
+ }
505
+ }
506
+ // Force validity date of card
507
+ $values['PBX_DATEVALMAX'] = $now->format('ym');
508
+ // var_dump($values);
509
+ return $values;
510
+ }
511
+
512
+ public function convertParams(array $params) {
513
+ $result = array();
514
+ foreach ($this->_resultMapping as $param => $key) {
515
+ if (isset($params[$param])) {
516
+ $result[$key] = utf8_encode($params[$param]);
517
+ }
518
+ }
519
+
520
+ return $result;
521
+ }
522
+
523
+ /**
524
+ * Create transaction ID from Paybox data
525
+ */
526
+ protected function createTransactionId(array $payboxData) {
527
+ $call = (int) (isset($payboxData['call']) ? $payboxData['call'] : $payboxData['NUMTRANS']);
528
+ $now = new DateTime('now', new DateTimeZone('Europe/Paris'));
529
+ return $call . '/' . $now->format('U');
530
+ }
531
+
532
+ public function directCapture($amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
533
+ return $this->_callDirect(2, $amount, $order, $transaction);
534
+ }
535
+
536
+ public function directRefund($amount, Mage_Sales_Model_Order $order, Mage_Sales_Model_Order_Payment_Transaction $transaction) {
537
+ return $this->_callDirect(14, $amount, $order, $transaction);
538
+ }
539
+
540
+ public function getBillingEmail(Mage_Sales_Model_Order $order) {
541
+ return $order->getCustomerEmail();
542
+ }
543
+
544
+ public function getBillingName(Mage_Sales_Model_Order $order) {
545
+ return trim(preg_replace("/[^-. a-zA-Z0-9]/", " ", Mage::helper('core')->removeAccents($order->getCustomerName())));
546
+ }
547
+
548
+ /**
549
+ * @return Paybox_Epayment_Model_Config Paybox configuration object
550
+ */
551
+ public function getConfig() {
552
+ return Mage::getSingleton('pbxep/config');
553
+ }
554
+
555
+ public function getCurrency(Mage_Sales_Model_Order $order) {
556
+ $currencyMapper = Mage::getSingleton('pbxep/iso4217Currency');
557
+ $currency = $order->getBaseCurrencyCode();
558
+ return $currencyMapper->getIsoCode($currency);
559
+ }
560
+
561
+ public function getCurrencyDecimals($cartOrOrder) {
562
+ return $this->_currencyDecimals[$this->getCurrency($cartOrOrder)];
563
+ }
564
+
565
+ public function getCurrencyScale($cartOrOrder) {
566
+ return pow(10, $this->getCurrencyDecimals($cartOrOrder));
567
+ }
568
+
569
+ public function getParams($logParams = false, $checkSign = true) {
570
+ // Retrieves data
571
+ $data = file_get_contents('php://input');
572
+ if (empty($data)) {
573
+ $data = $_SERVER['QUERY_STRING'];
574
+ }
575
+ if (empty($data)) {
576
+ $helper = Mage::helper('pbxep');
577
+ Mage::throwException($helper->__('An unexpected error in Paybox call has occured: no parameters.'));
578
+ }
579
+
580
+ // Log params if needed
581
+ if ($logParams) {
582
+ $this->logDebug(sprintf('Call params: %s', $data));
583
+ }
584
+
585
+ // Check signature if needed
586
+ if ($checkSign) {
587
+ // Extract signature
588
+ $matches = array();
589
+ if (!preg_match('#^(.*)&K=(.*)$#', $data, $matches)) {
590
+ $helper = Mage::helper('pbxep');
591
+ Mage::throwException($helper->__('An unexpected error in Paybox call has occured: missing signature.'));
592
+ }
593
+
594
+ // Check signature
595
+ $signature = base64_decode(urldecode($matches[2]));
596
+ $pubkey = file_get_contents(dirname(__FILE__).'/../etc/pubkey.pem');
597
+ $res = (boolean)openssl_verify($matches[1], $signature, $pubkey);
598
+
599
+ if (!$res) {
600
+ if (preg_match('#^C=IDEAL&P=PREPAYEE&(.*)&K=(.*)$#', $data, $matches)) {
601
+ $signature = base64_decode(urldecode($matches[2]));
602
+ $res = (boolean) openssl_verify($matches[1], $signature, $pubkey);
603
+ }
604
+
605
+ if (!$res) {
606
+ $helper = Mage::helper('pbxep');
607
+ Mage::throwException($helper->__('An unexpected error in Paybox call has occured: invalid signature.'));
608
+ }
609
+ }
610
+ }
611
+
612
+ $rawParams = array();
613
+ parse_str($data, $rawParams);
614
+
615
+ // Decrypt params
616
+ $params = $this->convertParams($rawParams);
617
+ if (empty($params)) {
618
+ $helper = Mage::helper('pbxep');
619
+ Mage::throwException($helper->__('An unexpected error in Paybox call has occured.'));
620
+ }
621
+
622
+ return $params;
623
+ }
624
+
625
+ public function getSystemUrl() {
626
+ $config = $this->getConfig();
627
+ $urls = $config->getSystemUrls();
628
+ if (empty($urls)) {
629
+ $message = 'Missing URL for Paybox system in configuration';
630
+ $helper = Mage::helper('pbxep');
631
+ Mage::throwException($helper->__($message));
632
+ }
633
+
634
+ $url = $this->checkUrls($urls);
635
+
636
+ return $url;
637
+ }
638
+
639
+ public function getKwixoUrl() {
640
+ $config = $this->getConfig();
641
+ $urls = $config->getKwixoUrls();
642
+ if (empty($urls)) {
643
+ $message = 'Missing URL for Paybox system in configuration';
644
+ $helper = Mage::helper('pbxep');
645
+ Mage::throwException($helper->__($message));
646
+ }
647
+
648
+ $url = $this->checkUrls($urls);
649
+
650
+ return $url;
651
+ }
652
+
653
+ public function logDebug($message) {
654
+ Mage::log($message, Zend_Log::DEBUG, 'paybox-epayment.log');
655
+ }
656
+
657
+ public function logWarning($message) {
658
+ Mage::log($message, Zend_Log::WARN, 'paybox-epayment.log');
659
+ }
660
+
661
+ public function logError($message) {
662
+ Mage::log($message, Zend_Log::ERR, 'paybox-epayment.log');
663
+ }
664
+
665
+ public function logFatal($message) {
666
+ Mage::log($message, Zend_Log::ALERT, 'paybox-epayment.log');
667
+ }
668
+
669
+ public function signValues(array $values) {
670
+ $config = $this->getConfig();
671
+
672
+ // Serialize values
673
+ $query = array();
674
+ foreach ($values as $name => $value) {
675
+ $query[] = $name . '=' . $value;
676
+ }
677
+ $query = implode('&', $query);
678
+
679
+ // Prepare key
680
+ $key = pack('H*', $config->getHmacKey());
681
+
682
+ // Sign values
683
+ $sign = hash_hmac($config->getHmacAlgo(), $query, $key);
684
+ if ($sign === false) {
685
+ $errorMsg = 'Unable to create hmac signature. Maybe a wrong configuration.';
686
+ $helper = Mage::helper('pbxep');
687
+ Mage::throwException($helper->__($errorMsg));
688
+ }
689
+
690
+ return strtoupper($sign);
691
+ }
692
+
693
+ public function toErrorMessage($code) {
694
+ if (isset($this->_errorCode[$code])) {
695
+ return $this->_errorCode[$code];
696
+ }
697
+ return 'Unknown error '.$code;
698
+ }
699
+
700
+ public function tokenizeOrder(Mage_Sales_Model_Order $order) {
701
+ $reference = array();
702
+ $reference[] = $order->getRealOrderId();
703
+ $reference[] = $this->getBillingName($order);
704
+ $reference = implode(' - ', $reference);
705
+ return $reference;
706
+ }
707
+
708
+ /**
709
+ * Load order from the $token
710
+ * @param string $token Token (@see tokenizeOrder)
711
+ * @return Mage_Sales_Model_Order
712
+ */
713
+ public function untokenizeOrder($token) {
714
+ $parts = explode(' - ', $token, 2);
715
+ if (count($parts) < 2) {
716
+ $message = 'Invalid decrypted token "%s"';
717
+ Mage::throwException(Mage::helper('pbxep')->__($message, $token));
718
+ }
719
+
720
+ // Retrieves order
721
+ $order = Mage::getSingleton('sales/order')->loadByIncrementId($parts[0]);
722
+ if (empty($order)) {
723
+ $message = 'Not existing order id from decrypted token "%s"';
724
+ Mage::throwException(Mage::helper('pbxep')->__($message, $token));
725
+ }
726
+ if (is_null($order->getId())) {
727
+ $message = 'Not existing order id from decrypted token "%s"';
728
+ Mage::throwException(Mage::helper('pbxep')->__($message, $token));
729
+ }
730
+
731
+ $goodName = $this->getBillingName($order);
732
+ if (($goodName != utf8_decode($parts[1])) && ($goodName != $parts[1])) {
733
+ $message = 'Consistency error on descrypted token "%s"';
734
+ Mage::throwException(Mage::helper('pbxep')->__($message, $token));
735
+ }
736
+
737
+ return $order;
738
+ }
739
+ }
app/code/community/Paybox/Epayment/Model/Payment/Abstract.php CHANGED
@@ -26,7 +26,7 @@ abstract class Paybox_Epayment_Model_Payment_Abstract extends Mage_Payment_Model
26
  protected $_canVoid = false;
27
  protected $_canUseInternal = false;
28
  protected $_canUseCheckout = true;
29
- protected $_canUseForMultishipping = false;
30
  protected $_canSaveCc = false;
31
  protected $_canFetchTransactionInfo = false;
32
  // Fake to avoid calling au authorize ou capture before redirect
26
  protected $_canVoid = false;
27
  protected $_canUseInternal = false;
28
  protected $_canUseCheckout = true;
29
+ protected $_canUseForMultishipping = true;
30
  protected $_canSaveCc = false;
31
  protected $_canFetchTransactionInfo = false;
32
  // Fake to avoid calling au authorize ou capture before redirect
app/code/community/Paybox/Epayment/Model/Payment/Threetime.php CHANGED
@@ -17,6 +17,11 @@ class Paybox_Epayment_Model_Payment_Threetime extends Paybox_Epayment_Model_Paym
17
  protected $_allowRefund = true;
18
  protected $_3dsAllowed = true;
19
 
 
 
 
 
 
20
  public function checkIpnParams(Mage_Sales_Model_Order $order, array $params) {
21
  if (!isset($params['amount'])) {
22
  $message = $this->__('Missing amount parameter');
@@ -31,9 +36,9 @@ class Paybox_Epayment_Model_Payment_Threetime extends Paybox_Epayment_Model_Paym
31
  }
32
 
33
  public function onIPNSuccess(Mage_Sales_Model_Order $order, array $data) {
34
- $this->logDebug(sprintf('Order %s: Threetime IPN', $order->getIncrementId()));
35
 
36
  $payment = $order->getPayment();
 
37
 
38
  // Message
39
 
@@ -47,10 +52,10 @@ class Paybox_Epayment_Model_Payment_Threetime extends Paybox_Epayment_Model_Paym
47
  $this->logDebug(sprintf('Order %s: First payment', $order->getIncrementId()));
48
 
49
  // Message
50
- $message = 'Payment was authorized and captured by Paybox.';
51
 
52
  // Status
53
- $status = $this->getConfigPaidStatus();
54
  $state = Mage_Sales_Model_Order::STATE_PROCESSING;
55
  $allowedStates = array(
56
  Mage_Sales_Model_Order::STATE_NEW,
@@ -59,39 +64,57 @@ class Paybox_Epayment_Model_Payment_Threetime extends Paybox_Epayment_Model_Paym
59
  );
60
  $current = $order->getState();
61
  $message = $this->__($message);
62
- if (in_array($current, $allowedStates)) {
63
- $order->setState($state, $status, $message);
64
- } else {
65
- $order->addStatusHistoryComment($message);
66
- }
67
 
68
  // Additional informations
69
  $payment->setPbxepFirstPayment(serialize($data));
70
  $payment->setPbxepAuthorization(serialize($data));
 
 
71
 
 
 
 
 
 
 
 
72
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
73
 
74
- // Create invoice is needed
75
- $invoice = $this->_createInvoice($order, $txn);
76
  } else if (is_null($payment->getPbxepSecondPayment())) {
77
  // Message
78
  $message = 'Second payment was captured by Paybox.';
79
  $order->addStatusHistoryComment($message);
80
-
81
  // Additional informations
82
- $payment->setPbxepSecondPayment(serialize($data));
83
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
84
- } else if (is_null($payment->getPbxepThirdPayment())) {
 
 
 
 
85
  // Message
86
  $message = 'Third payment was captured by Paybox.';
87
  $order->addStatusHistoryComment($message);
88
 
89
  // Additional informations
90
- $payment->setPbxepThirdPayment(serialize($data));
 
 
 
 
 
 
 
 
 
 
 
91
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
 
 
92
  } else {
93
- $this->logDebug(sprintf('Order %s: Invalid three-time payment status', $order->getIncrementId()));
94
- Mage::throwException('Invalid three-time payment status');
95
  }
96
  $data['status'] = $message;
97
 
@@ -103,9 +126,15 @@ class Paybox_Epayment_Model_Payment_Threetime extends Paybox_Epayment_Model_Paym
103
  if (isset($invoice)) {
104
  $transactionSave->addObject($invoice);
105
  }
 
106
  $transactionSave->save();
107
-
108
- // Client notification if needed
109
- $order->sendNewOrderEmail();
110
  }
111
- }
 
 
 
 
 
 
 
 
17
  protected $_allowRefund = true;
18
  protected $_3dsAllowed = true;
19
 
20
+ public function getConfigPaidPartiallyStatus() {
21
+ return $this->getConfigData('status/partiallypaid');
22
+ }
23
+
24
+
25
  public function checkIpnParams(Mage_Sales_Model_Order $order, array $params) {
26
  if (!isset($params['amount'])) {
27
  $message = $this->__('Missing amount parameter');
36
  }
37
 
38
  public function onIPNSuccess(Mage_Sales_Model_Order $order, array $data) {
 
39
 
40
  $payment = $order->getPayment();
41
+ $this->logDebug(sprintf('Order %s: %s-time IPN', $order->getIncrementId(),$this->getNbtimes()));
42
 
43
  // Message
44
 
52
  $this->logDebug(sprintf('Order %s: First payment', $order->getIncrementId()));
53
 
54
  // Message
55
+ $message = 'First Payment was authorized and captured by Paybox.';
56
 
57
  // Status
58
+ $status = $this->getConfigPaidpartiallyStatus();
59
  $state = Mage_Sales_Model_Order::STATE_PROCESSING;
60
  $allowedStates = array(
61
  Mage_Sales_Model_Order::STATE_NEW,
64
  );
65
  $current = $order->getState();
66
  $message = $this->__($message);
 
 
 
 
 
67
 
68
  // Additional informations
69
  $payment->setPbxepFirstPayment(serialize($data));
70
  $payment->setPbxepAuthorization(serialize($data));
71
+
72
+ $order->sendNewOrderEmail();
73
 
74
+
75
+ if (in_array($current, $allowedStates)) {
76
+ $order->setState($state, $status, $message);
77
+ $this->logDebug(sprintf('Order %s: changing state from: %s to %s', $order->getIncrementId(), $current, $status));
78
+ } else {
79
+ $order->addStatusHistoryComment($message);
80
+ }
81
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
82
 
 
 
83
  } else if (is_null($payment->getPbxepSecondPayment())) {
84
  // Message
85
  $message = 'Second payment was captured by Paybox.';
86
  $order->addStatusHistoryComment($message);
 
87
  // Additional informations
88
+ $payment->setPbxepSecondPayment(serialize($data));
89
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
90
+ if($payment->getNbtimes() === 2){
91
+ $this->_createInvoice($order, $txn);
92
+ // Client notification if needed
93
+ }
94
+ } else if (is_null($payment->getPbxepThirdPayment()) && $this->getNbtimes()>=3) {
95
  // Message
96
  $message = 'Third payment was captured by Paybox.';
97
  $order->addStatusHistoryComment($message);
98
 
99
  // Additional informations
100
+ $payment->setPbxepThirdPayment(serialize($data));
101
+ $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
102
+ if($this->getNbtimes() === 3){
103
+ $this->_createInvoice($order, $txn);
104
+ // Client notification if needed
105
+ }
106
+ } else if (is_null($payment->getPbxepFourthPayment()) && $this->getNbtimes()==4) {
107
+ // Message
108
+ $message = 'Fourth payment was captured by Paybox.';
109
+ $order->addStatusHistoryComment($message);
110
+
111
+ // Client notification if needed
112
  $this->logDebug(sprintf('Order %s: %s', $order->getIncrementId(), $message));
113
+ // Additional informations
114
+ $this->_createInvoice($order, $txn);
115
  } else {
116
+ $this->logDebug(sprintf('Order %s: Invalid %s-time payment status', $order->getIncrementId(),$this->getNbtimes()));
117
+ Mage::throwException('Invalid '.$this->getNbtimes().'-time payment status');
118
  }
119
  $data['status'] = $message;
120
 
126
  if (isset($invoice)) {
127
  $transactionSave->addObject($invoice);
128
  }
129
+ $order->save();
130
  $transactionSave->save();
 
 
 
131
  }
132
+ public function getNbtimes(){
133
+ return $this->getConfigData('nbtimes');
134
+ }
135
+ public function getNbDays(){
136
+ return $this->getConfigData('nbdays');
137
+ }
138
+
139
+
140
+ }
app/code/community/Paybox/Epayment/Model/Payment/Threetimeprivate.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Payment_Threetimeprivate extends Paybox_Epayment_Model_Payment_Threetime {
14
+
15
+ protected $_code = 'pbxep_threetimeprivate';
16
+
17
+ }
app/code/community/Paybox/Epayment/Model/Resource/Setup.php CHANGED
@@ -6,7 +6,7 @@
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
 
6
  * available at : http://opensource.org/licenses/osl-3.0.php
7
  *
8
  * @package Paybox_Epayment
9
+ * @copyright Copyright (c) 2013-2015 Paybox
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
  */
12
 
app/code/community/Paybox/Epayment/controllers/PaymentController.php CHANGED
@@ -12,11 +12,11 @@
12
 
13
  class Paybox_Epayment_PaymentController extends Mage_Core_Controller_Front_Action {
14
 
15
- private function _404() {
16
  $this->_forward('defaultNoRoute');
17
  }
18
 
19
- private function _loadQuoteFromOrder(Mage_Sales_Model_Order $order) {
20
  $quoteId = $order->getQuoteId();
21
 
22
  // Retrieves quote
@@ -29,7 +29,7 @@ class Paybox_Epayment_PaymentController extends Mage_Core_Controller_Front_Actio
29
  return $quote;
30
  }
31
 
32
- private function _getOrderFromParams(array $params) {
33
  // Retrieves order
34
  $paybox = $this->getPaybox();
35
  $order = $paybox->untokenizeOrder($params['reference']);
12
 
13
  class Paybox_Epayment_PaymentController extends Mage_Core_Controller_Front_Action {
14
 
15
+ protected function _404() {
16
  $this->_forward('defaultNoRoute');
17
  }
18
 
19
+ protected function _loadQuoteFromOrder(Mage_Sales_Model_Order $order) {
20
  $quoteId = $order->getQuoteId();
21
 
22
  // Retrieves quote
29
  return $quote;
30
  }
31
 
32
+ protected function _getOrderFromParams(array $params) {
33
  // Retrieves order
34
  $paybox = $this->getPaybox();
35
  $order = $paybox->untokenizeOrder($params['reference']);
app/code/community/Paybox/Epayment/data/pbxep_setup/data-install-2.0.5d.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $installer = $this;
14
+ $installer->startSetup();
15
+ $this->logDebug('E-Transactions status install starting');
16
+
17
+ // Required tables
18
+ $statusTable = $installer->getTable('sales/order_status');
19
+ $statusStateTable = $installer->getTable('sales/order_status_state');
20
+
21
+ // Insert statuses
22
+ $data = array('status' => 'pbxep_partiallypaid', 'label' => 'Paid Partially');
23
+ if(!$installer->getConnection()->insertArray($statusTable, array('status', 'label'), $data)){
24
+ $this->logDebug('E-Transactions status install failed');
25
+ }
26
+
27
+ // Insert states and mapping of statuses to states
28
+ $data = array('status' => 'pbxep_partiallypaid','state' => 'processing','is_default' => 1);
29
+ if(!$installer->getConnection()->insertArray($statusStateTable, array('status', 'state', 'is_default'), $data)){
30
+ $this->logDebug('E-Transactions StatusState install failed');
31
+ }
32
+ $this->logDebug('E-Transactions status install finished');
33
+
34
+ // Finalization
35
+ $installer->endSetup();
app/code/community/Paybox/Epayment/etc/config.xml CHANGED
@@ -223,8 +223,11 @@
223
  <title>Paiement en trois fois par carte bancaire</title>
224
  <allowspecific>0</allowspecific>
225
  <cctypes>CB,VISA,EUROCARD_MASTERCARD,E_CARD</cctypes>
 
 
226
  <status>
227
  <intermediary>pbxep_intermediary</intermediary>
 
228
  <paid>pbxep_paid</paid>
229
  </status>
230
  <action>immediate</action>
@@ -256,6 +259,29 @@
256
  </E_CARD>
257
  </cards>
258
  </pbxep_threetime>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  <pbxep_private>
260
  <active>0</active>
261
  <model>pbxep/payment_private</model>
@@ -451,7 +477,7 @@
451
  <pbxep_kwixo_onexrnp>
452
  <active>0</active>
453
  <model>pbxep/payment_kwixo_onexrnp</model>
454
- <title>Paiement à la réception avec Kwixo</title>
455
  <allowspecific>0</allowspecific>
456
  <action>immediate</action>
457
  <status>
223
  <title>Paiement en trois fois par carte bancaire</title>
224
  <allowspecific>0</allowspecific>
225
  <cctypes>CB,VISA,EUROCARD_MASTERCARD,E_CARD</cctypes>
226
+ <nbtimes>2</nbtimes>
227
+ <nbdays>1 month</nbdays>
228
  <status>
229
  <intermediary>pbxep_intermediary</intermediary>
230
+ <partiallypaid>pbxep_partiallypaid</partiallypaid>
231
  <paid>pbxep_paid</paid>
232
  </status>
233
  <action>immediate</action>
259
  </E_CARD>
260
  </cards>
261
  </pbxep_threetime>
262
+ <pbxep_threetimeprivate>
263
+ <active>1</active>
264
+ <model>pbxep/payment_threetimeprivate</model>
265
+ <title>Paiement en trois fois par carte american express</title>
266
+ <allowspecific>0</allowspecific>
267
+ <cctypes>AMEX</cctypes>
268
+ <nbtimes>2</nbtimes>
269
+ <nbdays>1 month</nbdays>
270
+ <status>
271
+ <intermediary>pbxep_intermediary</intermediary>
272
+ <partiallypaid>pbxep_partiallypaid</partiallypaid>
273
+ <paid>pbxep_paid</paid>
274
+ </status>
275
+ <action>immediate</action>
276
+ <cards>
277
+ <AMEX>
278
+ <label>American Express</label>
279
+ <image>images/pbxep/amex.45.png</image>
280
+ <payment>CARTE</payment>
281
+ <card>AMEX</card>
282
+ </AMEX>
283
+ </cards>
284
+ </pbxep_threetimeprivate>
285
  <pbxep_private>
286
  <active>0</active>
287
  <model>pbxep/payment_private</model>
477
  <pbxep_kwixo_onexrnp>
478
  <active>0</active>
479
  <model>pbxep/payment_kwixo_onexrnp</model>
480
+ <title>Paiement à la réception avec Kwixo</title>
481
  <allowspecific>0</allowspecific>
482
  <action>immediate</action>
483
  <status>
app/code/community/Paybox/Epayment/etc/system.xml CHANGED
@@ -1,2498 +1,2817 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <tabs>
4
- <pbxep translate="label comment" module="pbxep">
5
- <label>Paybox</label>
6
- <sort_order>400</sort_order>
7
- </pbxep>
8
- </tabs>
9
- <sections>
10
- <pbxep translate="label comment" module="pbxep">
11
- <label>Presentation</label>
12
- <tab>pbxep</tab>
13
- <frontend_type>text</frontend_type>
14
- <sort_order>350</sort_order>
15
- <show_in_default>1</show_in_default>
16
- <show_in_website>1</show_in_website>
17
- <show_in_store>1</show_in_store>
18
- </pbxep>
19
- <pbxep_merchant translate="label comment" module="pbxep">
20
- <label>Account settings</label>
21
- <tab>pbxep</tab>
22
- <frontend_type>text</frontend_type>
23
- <sort_order>351</sort_order>
24
- <show_in_default>1</show_in_default>
25
- <show_in_website>1</show_in_website>
26
- <show_in_store>1</show_in_store>
27
- <groups>
28
- <environment translate="label comment">
29
- <label>Environment</label>
30
- <expanded>1</expanded>
31
- <frontend_type>text</frontend_type>
32
- <comment><![CDATA[In test mode your payments will not be sent to the bank.]]></comment>
33
- <sort_order>10</sort_order>
34
- <show_in_default>1</show_in_default>
35
- <show_in_website>1</show_in_website>
36
- <show_in_store>1</show_in_store>
37
- <fields>
38
- <environment translate="label comment">
39
- <label>Environment</label>
40
- <frontend_type>select</frontend_type>
41
- <source_model>pbxep/admin_environment</source_model>
42
- <config_path>pbxep/environment</config_path>
43
- <sort_order>10</sort_order>
44
- <show_in_default>1</show_in_default>
45
- <show_in_website>1</show_in_website>
46
- <show_in_store>1</show_in_store>
47
- </environment>
48
- </fields>
49
- </environment>
50
- <settings translate="label comment">
51
- <label>Account settings</label>
52
- <expanded>1</expanded>
53
- <frontend_type>text</frontend_type>
54
- <sort_order>20</sort_order>
55
- <show_in_default>1</show_in_default>
56
- <show_in_website>1</show_in_website>
57
- <show_in_store>1</show_in_store>
58
- <fields>
59
- <subscription translate="label comment">
60
- <label>Subscribed Paybox Solution</label>
61
- <frontend_type>select</frontend_type>
62
- <source_model>pbxep/admin_subscription</source_model>
63
- <config_path>pbxep/merchant/subscription</config_path>
64
- <sort_order>0</sort_order>
65
- <show_in_default>1</show_in_default>
66
- <show_in_website>1</show_in_website>
67
- <show_in_store>1</show_in_store>
68
- </subscription>
69
- <site translate="label comment">
70
- <label>Site number</label>
71
- <comment><![CDATA[Site number provided by Paybox.]]></comment>
72
- <frontend_type>text</frontend_type>
73
- <config_path>pbxep/merchant/site</config_path>
74
- <validate>required-entry validate-digits validate-exact-length length-7</validate>
75
- <sort_order>10</sort_order>
76
- <show_in_default>1</show_in_default>
77
- <show_in_website>1</show_in_website>
78
- <show_in_store>1</show_in_store>
79
- </site>
80
- <rank translate="label comment">
81
- <label>Rank number</label>
82
- <comment><![CDATA[Rank number provided by Paybox (last 2 digits).]]></comment>
83
- <frontend_type>text</frontend_type>
84
- <config_path>pbxep/merchant/rank</config_path>
85
- <validate>required-entry validate-digits validate-exact-length length-2</validate>
86
- <sort_order>20</sort_order>
87
- <show_in_default>1</show_in_default>
88
- <show_in_website>1</show_in_website>
89
- <show_in_store>1</show_in_store>
90
- </rank>
91
- <identifier translate="label comment">
92
- <label>Login</label>
93
- <comment><![CDATA[Internal login provided by Paybox.]]></comment>
94
- <config_path>pbxep/merchant/identifier</config_path>
95
- <frontend_type>text</frontend_type>
96
- <validate>required-entry validate-digits validate-length maximum-length-9</validate>
97
- <sort_order>30</sort_order>
98
- <show_in_default>1</show_in_default>
99
- <show_in_website>1</show_in_website>
100
- <show_in_store>1</show_in_store>
101
- </identifier>
102
- <hmackey translate="label comment">
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>
110
- <show_in_default>1</show_in_default>
111
- <show_in_website>1</show_in_website>
112
- <show_in_store>1</show_in_store>
113
- </hmackey>
114
- <password translate="label comment">
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>
122
- <show_in_website>1</show_in_website>
123
- <show_in_store>1</show_in_store>
124
- <depends>
125
- <subscription>flexible</subscription>
126
- </depends>
127
- </password>
128
- </fields>
129
- </settings>
130
- <misc translate="label comment">
131
- <label>Other options</label>
132
- <expanded>1</expanded>
133
- <frontend_type>text</frontend_type>
134
- <sort_order>30</sort_order>
135
- <show_in_default>1</show_in_default>
136
- <show_in_website>1</show_in_website>
137
- <show_in_store>1</show_in_store>
138
- <fields>
139
- <customer_info translate="label comment">
140
- <label>Show payment information to customers</label>
141
- <comment><![CDATA[Paybox module can show payment information to customer. You can disable this feature here.]]></comment>
142
- <frontend_type>select</frontend_type>
143
- <source_model>adminhtml/system_config_source_yesno</source_model>
144
- <config_path>pbxep/info_to_customer</config_path>
145
- <sort_order>20</sort_order>
146
- <show_in_default>1</show_in_default>
147
- <show_in_website>1</show_in_website>
148
- <show_in_store>1</show_in_store>
149
- </customer_info>
150
- </fields>
151
- </misc>
152
- <!--technical translate="label comment">
153
- <label>Technical options</label>
154
- <expanded>0</expanded>
155
- <frontend_type>text</frontend_type>
156
- <sort_order>40</sort_order>
157
- <show_in_default>1</show_in_default>
158
- <show_in_website>1</show_in_website>
159
- <show_in_store>1</show_in_store>
160
- <fields>
161
- <debug translate="label comment">
162
- <label>Debug</label>
163
- <comment><![CDATA[Enable some debugging information.]]></comment>
164
- <frontend_type>select</frontend_type>
165
- <source_model>adminhtml/system_config_source_yesno</source_model>
166
- <config_path>pbxep/debug</config_path>
167
- <sort_order>10</sort_order>
168
- <show_in_default>1</show_in_default>
169
- <show_in_website>1</show_in_website>
170
- <show_in_store>1</show_in_store>
171
- </debug>
172
- <allowedips translate="label comment">
173
- <label>Allowed IPs</label>
174
- <comment><![CDATA[A coma separated list of Paybox IPs.]]></comment>
175
- <frontend_type>text</frontend_type>
176
- <config_path>pbxep/allowedips</config_path>
177
- <sort_order>20</sort_order>
178
- <show_in_default>1</show_in_default>
179
- <show_in_website>1</show_in_website>
180
- <show_in_store>1</show_in_store>
181
- </allowedips>
182
- </fields>
183
- </technical-->
184
- </groups>
185
- </pbxep_merchant>
186
- <pbxep_payments translate="label comment" module="pbxep">
187
- <label>Payment methods</label>
188
- <tab>pbxep</tab>
189
- <frontend_type>text</frontend_type>
190
- <sort_order>353</sort_order>
191
- <show_in_default>1</show_in_default>
192
- <show_in_website>1</show_in_website>
193
- <show_in_store>1</show_in_store>
194
- <groups>
195
- <pbxep_cb translate="label comment">
196
- <label>Pay by Bank Card</label>
197
- <expanded>1</expanded>
198
- <frontend_type>text</frontend_type>
199
- <sort_order>10</sort_order>
200
- <show_in_default>1</show_in_default>
201
- <show_in_website>1</show_in_website>
202
- <show_in_store>1</show_in_store>
203
- <fields>
204
- <active translate="label comment">
205
- <label>Enable</label>
206
- <frontend_type>select</frontend_type>
207
- <source_model>adminhtml/system_config_source_yesno</source_model>
208
- <config_path>payment/pbxep_cb/active</config_path>
209
- <sort_order>10</sort_order>
210
- <show_in_default>1</show_in_default>
211
- <show_in_website>1</show_in_website>
212
- <show_in_store>1</show_in_store>
213
- </active>
214
- <cctypes translate="label comment">
215
- <label>Card type</label>
216
- <comment><![CDATA[If you disable E-Carte Bleu, contact the Paybox support]]></comment>
217
- <config_path>payment/pbxep_cb/cctypes</config_path>
218
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
219
- <frontend_type>checkboxes</frontend_type>
220
- <source_model>pbxep/admin_cards_cb</source_model>
221
- <sort_order>20</sort_order>
222
- <show_in_default>1</show_in_default>
223
- <show_in_website>1</show_in_website>
224
- <show_in_store>1</show_in_store>
225
- <depends>
226
- <active>1</active>
227
- </depends>
228
- </cctypes>
229
- <title translate="label comment">
230
- <label>Title</label>
231
- <config_path>payment/pbxep_cb/title</config_path>
232
- <frontend_type>text</frontend_type>
233
- <sort_order>30</sort_order>
234
- <show_in_default>1</show_in_default>
235
- <show_in_website>1</show_in_website>
236
- <show_in_store>1</show_in_store>
237
- <depends>
238
- <active>1</active>
239
- </depends>
240
- </title>
241
- <sort_order translate="label comment">
242
- <label>Sort Order</label>
243
- <config_path>payment/pbxep_cb/sort_order</config_path>
244
- <frontend_type>text</frontend_type>
245
- <sort_order>40</sort_order>
246
- <show_in_default>1</show_in_default>
247
- <show_in_website>1</show_in_website>
248
- <show_in_store>1</show_in_store>
249
- <frontend_class>validate-number</frontend_class>
250
- <depends>
251
- <active>1</active>
252
- </depends>
253
- </sort_order>
254
- <action translate="label comment">
255
- <label>Debit type</label>
256
- <frontend_model>pbxep/admin_field_select</frontend_model>
257
- <frontend_type>select</frontend_type>
258
- <source_model>pbxep/admin_payment_action</source_model>
259
- <config_path>payment/pbxep_cb/action</config_path>
260
- <sort_order>50</sort_order>
261
- <show_in_default>1</show_in_default>
262
- <show_in_website>1</show_in_website>
263
- <show_in_store>1</show_in_store>
264
- <depends>
265
- <active>1</active>
266
- </depends>
267
- </action>
268
- <delay translate="label comment">
269
- <label>Delay</label>
270
- <config_path>payment/pbxep_cb/delay</config_path>
271
- <frontend_type>select</frontend_type>
272
- <source_model>pbxep/admin_payment_delays</source_model>
273
- <sort_order>60</sort_order>
274
- <show_in_default>1</show_in_default>
275
- <show_in_website>1</show_in_website>
276
- <show_in_store>1</show_in_store>
277
- <depends>
278
- <action>deferred</action>
279
- <active>1</active>
280
- </depends>
281
- </delay>
282
- <status translate="label comment">
283
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
284
- <label>Payment status</label>
285
- <sort_order>100</sort_order>
286
- <show_in_default>1</show_in_default>
287
- <show_in_website>1</show_in_website>
288
- <show_in_store>1</show_in_store>
289
- <depends>
290
- <active>1</active>
291
- </depends>
292
- </status>
293
- <status_authorized translate="label comment">
294
- <label>Once authorized</label>
295
- <config_path>payment/pbxep_cb/status/authorized</config_path>
296
- <frontend_type>select</frontend_type>
297
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
298
- <sort_order>110</sort_order>
299
- <show_in_default>1</show_in_default>
300
- <show_in_website>1</show_in_website>
301
- <show_in_store>0</show_in_store>
302
- <depends>
303
- <active>1</active>
304
- <action>manual</action>
305
- </depends>
306
- </status_authorized>
307
- <status_paid translate="label comment">
308
- <label>Once paid</label>
309
- <config_path>payment/pbxep_cb/status/paid</config_path>
310
- <frontend_type>select</frontend_type>
311
- <source_model>pbxep/admin_order_status_processing</source_model>
312
- <sort_order>110</sort_order>
313
- <show_in_default>1</show_in_default>
314
- <show_in_website>1</show_in_website>
315
- <show_in_store>0</show_in_store>
316
- <depends>
317
- <active>1</active>
318
- </depends>
319
- </status_paid>
320
- <status_auto_capture translate="label comment">
321
- <label>Automatic capture status</label>
322
- <config_path>payment/pbxep_cb/status/auto_capture</config_path>
323
- <frontend_type>select</frontend_type>
324
- <source_model>pbxep/admin_order_status_autocapture</source_model>
325
- <sort_order>112</sort_order>
326
- <show_in_default>1</show_in_default>
327
- <show_in_website>1</show_in_website>
328
- <show_in_store>0</show_in_store>
329
- <depends>
330
- <active>1</active>
331
- <action>manual</action>
332
- </depends>
333
- </status_auto_capture>
334
- <conditions translate="label comment">
335
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
336
- <label>Conditions</label>
337
- <sort_order>200</sort_order>
338
- <show_in_default>1</show_in_default>
339
- <show_in_website>1</show_in_website>
340
- <show_in_store>1</show_in_store>
341
- <depends>
342
- <active>1</active>
343
- </depends>
344
- </conditions>
345
- <allowspecific translate="label comment">
346
- <label>Payment from Applicable Countries</label>
347
- <config_path>payment/pbxep_cb/allowspecific</config_path>
348
- <frontend_type>allowspecific</frontend_type>
349
- <sort_order>210</sort_order>
350
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
351
- <show_in_default>1</show_in_default>
352
- <show_in_website>1</show_in_website>
353
- <show_in_store>1</show_in_store>
354
- <depends>
355
- <active>1</active>
356
- </depends>
357
- </allowspecific>
358
- <specificcountry translate="label comment">
359
- <label>Payment from Specific Countries</label>
360
- <config_path>payment/pbxep_cb/specificcountry</config_path>
361
- <frontend_type>multiselect</frontend_type>
362
- <sort_order>220</sort_order>
363
- <source_model>adminhtml/system_config_source_country</source_model>
364
- <show_in_default>1</show_in_default>
365
- <show_in_website>1</show_in_website>
366
- <show_in_store>1</show_in_store>
367
- <depends>
368
- <allowspecific>1</allowspecific>
369
- <active>1</active>
370
- </depends>
371
- </specificcountry>
372
- <min_order_total translate="label comment">
373
- <label>Minimum Order Total</label>
374
- <config_path>payment/pbxep_cb/min_order_total</config_path>
375
- <frontend_type>text</frontend_type>
376
- <sort_order>230</sort_order>
377
- <show_in_default>1</show_in_default>
378
- <show_in_website>1</show_in_website>
379
- <show_in_store>1</show_in_store>
380
- <depends>
381
- <active>1</active>
382
- </depends>
383
- </min_order_total>
384
- <max_order_total translate="label comment">
385
- <label>Maximum Order Total</label>
386
- <config_path>payment/pbxep_cb/max_order_total</config_path>
387
- <frontend_type>text</frontend_type>
388
- <sort_order>240</sort_order>
389
- <show_in_default>1</show_in_default>
390
- <show_in_website>1</show_in_website>
391
- <show_in_store>1</show_in_store>
392
- <depends>
393
- <active>1</active>
394
- </depends>
395
- </max_order_total>
396
- <tds translate="label comment">
397
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
398
- <label>3-D Secure</label>
399
- <sort_order>300</sort_order>
400
- <show_in_default>1</show_in_default>
401
- <show_in_website>1</show_in_website>
402
- <show_in_store>1</show_in_store>
403
- <depends>
404
- <active>1</active>
405
- </depends>
406
- </tds>
407
- <tds_info translate="label comment">
408
- <label><![CDATA[Make sure that the contract signed with your bank allows 3-D Secure before proceeding with setup.]]></label>
409
- <frontend_model>pbxep/admin_info</frontend_model>
410
- <sort_order>305</sort_order>
411
- <show_in_default>1</show_in_default>
412
- <show_in_website>1</show_in_website>
413
- <show_in_store>1</show_in_store>
414
- <depends>
415
- <active>1</active>
416
- </depends>
417
- </tds_info>
418
- <tds_active translate="label comment">
419
- <label>Enable 3-D Secure</label>
420
- <comment><![CDATA[<span style="color: red;">Warning: your bank may enforce 3-D Secure.<br/>Make sure your setup is coherent with your bank, Paybox and Magento module.</span>]]></comment>
421
- <frontend_type>select</frontend_type>
422
- <source_model>pbxep/admin_payment_use3ds</source_model>
423
- <config_path>payment/pbxep_cb/tds_active</config_path>
424
- <sort_order>310</sort_order>
425
- <show_in_default>1</show_in_default>
426
- <show_in_website>1</show_in_website>
427
- <show_in_store>1</show_in_store>
428
- <depends>
429
- <active>1</active>
430
- </depends>
431
- </tds_active>
432
- <tds_min_order_total translate="label comment">
433
- <label>Minimum Order Amount</label>
434
- <config_path>payment/pbxep_cb/tds_min_order_total</config_path>
435
- <frontend_type>text</frontend_type>
436
- <sort_order>330</sort_order>
437
- <show_in_default>1</show_in_default>
438
- <show_in_website>1</show_in_website>
439
- <show_in_store>1</show_in_store>
440
- <depends>
441
- <tds_active>condition</tds_active>
442
- <active>1</active>
443
- </depends>
444
- </tds_min_order_total>
445
- </fields>
446
- </pbxep_cb>
447
- <pbxep_threetime translate="label comment">
448
- <label>Pay by Card Three Times</label>
449
- <expanded>0</expanded>
450
- <frontend_type>text</frontend_type>
451
- <sort_order>20</sort_order>
452
- <show_in_default>1</show_in_default>
453
- <show_in_website>1</show_in_website>
454
- <show_in_store>1</show_in_store>
455
- <fields>
456
- <info translate="label comment">
457
- <label><![CDATA[Check your Paybox contract before enabling this option.]]></label>
458
- <frontend_model>pbxep/admin_info</frontend_model>
459
- <sort_order>5</sort_order>
460
- <show_in_default>1</show_in_default>
461
- <show_in_website>1</show_in_website>
462
- <show_in_store>1</show_in_store>
463
- <depends>
464
- <active>1</active>
465
- </depends>
466
- </info>
467
- <active translate="label comment">
468
- <label>Enable</label>
469
- <frontend_type>select</frontend_type>
470
- <source_model>adminhtml/system_config_source_yesno</source_model>
471
- <config_path>payment/pbxep_threetime/active</config_path>
472
- <sort_order>10</sort_order>
473
- <show_in_default>1</show_in_default>
474
- <show_in_website>1</show_in_website>
475
- <show_in_store>1</show_in_store>
476
- </active>
477
- <cctypes translate="label comment">
478
- <label>Card type</label>
479
- <comment><![CDATA[If you disable E-Carte Bleu, contact the Paybox support]]></comment>
480
- <config_path>payment/pbxep_threetime/cctypes</config_path>
481
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
482
- <frontend_type>checkboxes</frontend_type>
483
- <source_model>pbxep/admin_cards_threetime</source_model>
484
- <sort_order>20</sort_order>
485
- <show_in_default>1</show_in_default>
486
- <show_in_website>1</show_in_website>
487
- <show_in_store>1</show_in_store>
488
- <depends>
489
- <active>1</active>
490
- </depends>
491
- </cctypes>
492
- <title translate="label comment">
493
- <label>Title</label>
494
- <config_path>payment/pbxep_threetime/title</config_path>
495
- <frontend_type>text</frontend_type>
496
- <sort_order>30</sort_order>
497
- <show_in_default>1</show_in_default>
498
- <show_in_website>1</show_in_website>
499
- <show_in_store>1</show_in_store>
500
- <depends>
501
- <active>1</active>
502
- </depends>
503
- </title>
504
- <sort_order translate="label comment">
505
- <label>Sort Order</label>
506
- <config_path>payment/pbxep_threetime/sort_order</config_path>
507
- <frontend_type>text</frontend_type>
508
- <sort_order>40</sort_order>
509
- <show_in_default>1</show_in_default>
510
- <show_in_website>1</show_in_website>
511
- <show_in_store>1</show_in_store>
512
- <frontend_class>validate-number</frontend_class>
513
- <depends>
514
- <active>1</active>
515
- </depends>
516
- </sort_order>
517
- <status translate="label comment">
518
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
519
- <label>Payment status</label>
520
- <sort_order>100</sort_order>
521
- <show_in_default>1</show_in_default>
522
- <show_in_website>1</show_in_website>
523
- <show_in_store>1</show_in_store>
524
- <depends>
525
- <active>1</active>
526
- </depends>
527
- </status>
528
- <status_intermediary translate="label comment">
529
- <label>Once authorized</label>
530
- <config_path>payment/pbxep_threetime/status/intermediary</config_path>
531
- <frontend_type>select</frontend_type>
532
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
533
- <sort_order>110</sort_order>
534
- <show_in_default>1</show_in_default>
535
- <show_in_website>1</show_in_website>
536
- <show_in_store>0</show_in_store>
537
- <depends>
538
- <active>1</active>
539
- <action>manual</action>
540
- </depends>
541
- </status_intermediary>
542
- <status_paid translate="label comment">
543
- <label>Once paid</label>
544
- <config_path>payment/pbxep_threetime/status/paid</config_path>
545
- <frontend_type>select</frontend_type>
546
- <source_model>pbxep/admin_order_status_processing</source_model>
547
- <sort_order>110</sort_order>
548
- <show_in_default>1</show_in_default>
549
- <show_in_website>1</show_in_website>
550
- <show_in_store>0</show_in_store>
551
- <depends>
552
- <active>1</active>
553
- </depends>
554
- </status_paid>
555
- <conditions translate="label comment">
556
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
557
- <label>Conditions</label>
558
- <sort_order>200</sort_order>
559
- <show_in_default>1</show_in_default>
560
- <show_in_website>1</show_in_website>
561
- <show_in_store>1</show_in_store>
562
- <depends>
563
- <active>1</active>
564
- </depends>
565
- </conditions>
566
- <allowspecific translate="label comment">
567
- <label>Payment from Applicable Countries</label>
568
- <config_path>payment/pbxep_threetime/allowspecific</config_path>
569
- <frontend_type>allowspecific</frontend_type>
570
- <sort_order>210</sort_order>
571
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
572
- <show_in_default>1</show_in_default>
573
- <show_in_website>1</show_in_website>
574
- <show_in_store>1</show_in_store>
575
- <depends>
576
- <active>1</active>
577
- </depends>
578
- </allowspecific>
579
- <specificcountry translate="label comment">
580
- <label>Payment from Specific Countries</label>
581
- <config_path>payment/pbxep_threetime/specificcountry</config_path>
582
- <frontend_type>multiselect</frontend_type>
583
- <sort_order>220</sort_order>
584
- <source_model>adminhtml/system_config_source_country</source_model>
585
- <show_in_default>1</show_in_default>
586
- <show_in_website>1</show_in_website>
587
- <show_in_store>1</show_in_store>
588
- <depends>
589
- <allowspecific>1</allowspecific>
590
- <active>1</active>
591
- </depends>
592
- </specificcountry>
593
- <min_order_total translate="label comment">
594
- <label>Minimum Order Total</label>
595
- <config_path>payment/pbxep_threetime/min_order_total</config_path>
596
- <frontend_type>text</frontend_type>
597
- <sort_order>230</sort_order>
598
- <show_in_default>1</show_in_default>
599
- <show_in_website>1</show_in_website>
600
- <show_in_store>1</show_in_store>
601
- <depends>
602
- <active>1</active>
603
- </depends>
604
- </min_order_total>
605
- <max_order_total translate="label comment">
606
- <label>Maximum Order Total</label>
607
- <config_path>payment/pbxep_threetime/max_order_total</config_path>
608
- <frontend_type>text</frontend_type>
609
- <sort_order>240</sort_order>
610
- <show_in_default>1</show_in_default>
611
- <show_in_website>1</show_in_website>
612
- <show_in_store>1</show_in_store>
613
- <depends>
614
- <active>1</active>
615
- </depends>
616
- </max_order_total>
617
- <tds translate="label comment">
618
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
619
- <label>3-D Secure</label>
620
- <sort_order>300</sort_order>
621
- <show_in_default>1</show_in_default>
622
- <show_in_website>1</show_in_website>
623
- <show_in_store>1</show_in_store>
624
- <depends>
625
- <active>1</active>
626
- </depends>
627
- </tds>
628
- <tds_info translate="label comment">
629
- <label><![CDATA[Make sure that the contract signed with your bank allows 3-D Secure before proceeding with setup.]]></label>
630
- <frontend_model>pbxep/admin_info</frontend_model>
631
- <sort_order>305</sort_order>
632
- <show_in_default>1</show_in_default>
633
- <show_in_website>1</show_in_website>
634
- <show_in_store>1</show_in_store>
635
- <depends>
636
- <active>1</active>
637
- </depends>
638
- </tds_info>
639
- <tds_active translate="label comment">
640
- <label>Enable 3-D Secure</label>
641
- <comment><![CDATA[<span style="color: red;">Warning: your bank may enforce 3-D Secure.<br/>Make sure your setup is coherent with your bank, Paybox and Magento module.</span>]]></comment>
642
- <frontend_type>select</frontend_type>
643
- <source_model>pbxep/admin_payment_use3ds</source_model>
644
- <config_path>payment/pbxep_threetime/tds_active</config_path>
645
- <sort_order>310</sort_order>
646
- <show_in_default>1</show_in_default>
647
- <show_in_website>1</show_in_website>
648
- <show_in_store>1</show_in_store>
649
- <depends>
650
- <active>1</active>
651
- </depends>
652
- </tds_active>
653
- <tds_min_order_total translate="label comment">
654
- <label>Minimum Order Amount</label>
655
- <config_path>payment/pbxep_threetime/tds_min_order_total</config_path>
656
- <frontend_type>text</frontend_type>
657
- <sort_order>330</sort_order>
658
- <show_in_default>1</show_in_default>
659
- <show_in_website>1</show_in_website>
660
- <show_in_store>1</show_in_store>
661
- <depends>
662
- <tds_active>condition</tds_active>
663
- <active>1</active>
664
- </depends>
665
- </tds_min_order_total>
666
- </fields>
667
- </pbxep_threetime>
668
- <pbxep_private translate="label comment">
669
- <label>Pay by Private Card</label>
670
- <expanded>0</expanded>
671
- <frontend_type>text</frontend_type>
672
- <sort_order>30</sort_order>
673
- <show_in_default>1</show_in_default>
674
- <show_in_website>1</show_in_website>
675
- <show_in_store>1</show_in_store>
676
- <fields>
677
- <active translate="label comment">
678
- <label>Enable</label>
679
- <frontend_type>select</frontend_type>
680
- <source_model>adminhtml/system_config_source_yesno</source_model>
681
- <config_path>payment/pbxep_private/active</config_path>
682
- <sort_order>10</sort_order>
683
- <show_in_default>1</show_in_default>
684
- <show_in_website>1</show_in_website>
685
- <show_in_store>1</show_in_store>
686
- </active>
687
- <cctypes translate="label comment">
688
- <label>Card type</label>
689
- <config_path>payment/pbxep_private/cctypes</config_path>
690
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
691
- <frontend_type>checkboxes</frontend_type>
692
- <source_model>pbxep/admin_cards_private</source_model>
693
- <sort_order>20</sort_order>
694
- <show_in_default>1</show_in_default>
695
- <show_in_website>1</show_in_website>
696
- <show_in_store>1</show_in_store>
697
- <depends>
698
- <active>1</active>
699
- </depends>
700
- </cctypes>
701
- <title translate="label comment">
702
- <label>Title</label>
703
- <config_path>payment/pbxep_private/title</config_path>
704
- <frontend_type>text</frontend_type>
705
- <sort_order>30</sort_order>
706
- <show_in_default>1</show_in_default>
707
- <show_in_website>1</show_in_website>
708
- <show_in_store>1</show_in_store>
709
- <depends>
710
- <active>1</active>
711
- </depends>
712
- </title>
713
- <sort_order translate="label comment">
714
- <label>Sort Order</label>
715
- <config_path>payment/pbxep_private/sort_order</config_path>
716
- <frontend_type>text</frontend_type>
717
- <sort_order>40</sort_order>
718
- <show_in_default>1</show_in_default>
719
- <show_in_website>1</show_in_website>
720
- <show_in_store>1</show_in_store>
721
- <frontend_class>validate-number</frontend_class>
722
- <depends>
723
- <active>1</active>
724
- </depends>
725
- </sort_order>
726
- <action translate="label comment">
727
- <label>Debit type</label>
728
- <frontend_model>pbxep/admin_field_select</frontend_model>
729
- <frontend_type>select</frontend_type>
730
- <source_model>pbxep/admin_payment_action</source_model>
731
- <config_path>payment/pbxep_private/action</config_path>
732
- <sort_order>50</sort_order>
733
- <show_in_default>1</show_in_default>
734
- <show_in_website>1</show_in_website>
735
- <show_in_store>1</show_in_store>
736
- <depends>
737
- <active>1</active>
738
- </depends>
739
- </action>
740
- <delay translate="label comment">
741
- <label>Delay</label>
742
- <config_path>payment/pbxep_private/delay</config_path>
743
- <frontend_type>select</frontend_type>
744
- <source_model>pbxep/admin_payment_delays</source_model>
745
- <sort_order>60</sort_order>
746
- <show_in_default>1</show_in_default>
747
- <show_in_website>1</show_in_website>
748
- <show_in_store>1</show_in_store>
749
- <depends>
750
- <action>deferred</action>
751
- <active>1</active>
752
- </depends>
753
- </delay>
754
- <status translate="label comment">
755
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
756
- <label>Payment status</label>
757
- <sort_order>100</sort_order>
758
- <show_in_default>1</show_in_default>
759
- <show_in_website>1</show_in_website>
760
- <show_in_store>1</show_in_store>
761
- <depends>
762
- <active>1</active>
763
- </depends>
764
- </status>
765
- <status_authorized translate="label comment">
766
- <label>Once authorized</label>
767
- <config_path>payment/pbxep_private/status/authorized</config_path>
768
- <frontend_type>select</frontend_type>
769
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
770
- <sort_order>110</sort_order>
771
- <show_in_default>1</show_in_default>
772
- <show_in_website>1</show_in_website>
773
- <show_in_store>0</show_in_store>
774
- <depends>
775
- <active>1</active>
776
- <action>manual</action>
777
- </depends>
778
- </status_authorized>
779
- <status_paid translate="label comment">
780
- <label>Once paid</label>
781
- <config_path>payment/pbxep_private/status/paid</config_path>
782
- <frontend_type>select</frontend_type>
783
- <source_model>pbxep/admin_order_status_processing</source_model>
784
- <sort_order>110</sort_order>
785
- <show_in_default>1</show_in_default>
786
- <show_in_website>1</show_in_website>
787
- <show_in_store>0</show_in_store>
788
- <depends>
789
- <active>1</active>
790
- </depends>
791
- </status_paid>
792
- <status_auto_capture translate="label comment">
793
- <label>Automatic capture status</label>
794
- <config_path>payment/pbxep_private/status/auto_capture</config_path>
795
- <frontend_type>select</frontend_type>
796
- <source_model>pbxep/admin_order_status_autocapture</source_model>
797
- <sort_order>112</sort_order>
798
- <show_in_default>1</show_in_default>
799
- <show_in_website>1</show_in_website>
800
- <show_in_store>0</show_in_store>
801
- <depends>
802
- <active>1</active>
803
- <action>manual</action>
804
- </depends>
805
- </status_auto_capture>
806
- <conditions translate="label comment">
807
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
808
- <label>Conditions</label>
809
- <sort_order>200</sort_order>
810
- <show_in_default>1</show_in_default>
811
- <show_in_website>1</show_in_website>
812
- <show_in_store>1</show_in_store>
813
- <depends>
814
- <active>1</active>
815
- </depends>
816
- </conditions>
817
- <allowspecific translate="label comment">
818
- <label>Payment from Applicable Countries</label>
819
- <config_path>payment/pbxep_private/allowspecific</config_path>
820
- <frontend_type>allowspecific</frontend_type>
821
- <sort_order>210</sort_order>
822
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
823
- <show_in_default>1</show_in_default>
824
- <show_in_website>1</show_in_website>
825
- <show_in_store>1</show_in_store>
826
- <depends>
827
- <active>1</active>
828
- </depends>
829
- </allowspecific>
830
- <specificcountry translate="label comment">
831
- <label>Payment from Specific Countries</label>
832
- <config_path>payment/pbxep_private/specificcountry</config_path>
833
- <frontend_type>multiselect</frontend_type>
834
- <sort_order>220</sort_order>
835
- <source_model>adminhtml/system_config_source_country</source_model>
836
- <show_in_default>1</show_in_default>
837
- <show_in_website>1</show_in_website>
838
- <show_in_store>1</show_in_store>
839
- <depends>
840
- <allowspecific>1</allowspecific>
841
- <active>1</active>
842
- </depends>
843
- </specificcountry>
844
- <min_order_total translate="label comment">
845
- <label>Minimum Order Total</label>
846
- <config_path>payment/pbxep_private/min_order_total</config_path>
847
- <frontend_type>text</frontend_type>
848
- <sort_order>230</sort_order>
849
- <show_in_default>1</show_in_default>
850
- <show_in_website>1</show_in_website>
851
- <show_in_store>1</show_in_store>
852
- <depends>
853
- <active>1</active>
854
- </depends>
855
- </min_order_total>
856
- <max_order_total translate="label comment">
857
- <label>Maximum Order Total</label>
858
- <config_path>payment/pbxep_private/max_order_total</config_path>
859
- <frontend_type>text</frontend_type>
860
- <sort_order>240</sort_order>
861
- <show_in_default>1</show_in_default>
862
- <show_in_website>1</show_in_website>
863
- <show_in_store>1</show_in_store>
864
- <depends>
865
- <active>1</active>
866
- </depends>
867
- </max_order_total>
868
- </fields>
869
- </pbxep_private>
870
- <pbxep_paypal translate="label comment">
871
- <label>Pay by Paypal</label>
872
- <expanded>0</expanded>
873
- <frontend_type>text</frontend_type>
874
- <sort_order>40</sort_order>
875
- <show_in_default>1</show_in_default>
876
- <show_in_website>1</show_in_website>
877
- <show_in_store>1</show_in_store>
878
- <fields>
879
- <active translate="label comment">
880
- <label>Enable</label>
881
- <frontend_type>select</frontend_type>
882
- <source_model>adminhtml/system_config_source_yesno</source_model>
883
- <config_path>payment/pbxep_paypal/active</config_path>
884
- <sort_order>10</sort_order>
885
- <show_in_default>1</show_in_default>
886
- <show_in_website>1</show_in_website>
887
- <show_in_store>1</show_in_store>
888
- </active>
889
- <title translate="label comment">
890
- <label>Title</label>
891
- <config_path>payment/pbxep_paypal/title</config_path>
892
- <frontend_type>text</frontend_type>
893
- <sort_order>30</sort_order>
894
- <show_in_default>1</show_in_default>
895
- <show_in_website>1</show_in_website>
896
- <show_in_store>1</show_in_store>
897
- <depends>
898
- <active>1</active>
899
- </depends>
900
- </title>
901
- <sort_order translate="label comment">
902
- <label>Sort Order</label>
903
- <config_path>payment/pbxep_paypal/sort_order</config_path>
904
- <frontend_type>text</frontend_type>
905
- <sort_order>40</sort_order>
906
- <show_in_default>1</show_in_default>
907
- <show_in_website>1</show_in_website>
908
- <show_in_store>1</show_in_store>
909
- <frontend_class>validate-number</frontend_class>
910
- <depends>
911
- <active>1</active>
912
- </depends>
913
- </sort_order>
914
- <action translate="label comment">
915
- <label>Debit type</label>
916
- <frontend_model>pbxep/admin_field_select</frontend_model>
917
- <frontend_type>select</frontend_type>
918
- <source_model>pbxep/admin_payment_actionpaypal</source_model>
919
- <config_path>payment/pbxep_paypal/action</config_path>
920
- <sort_order>50</sort_order>
921
- <show_in_default>1</show_in_default>
922
- <show_in_website>1</show_in_website>
923
- <show_in_store>1</show_in_store>
924
- <depends>
925
- <active>1</active>
926
- </depends>
927
- </action>
928
- <status translate="label comment">
929
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
930
- <label>Payment status</label>
931
- <sort_order>100</sort_order>
932
- <show_in_default>1</show_in_default>
933
- <show_in_website>1</show_in_website>
934
- <show_in_store>1</show_in_store>
935
- <depends>
936
- <active>1</active>
937
- </depends>
938
- </status>
939
- <status_authorized translate="label comment">
940
- <label>Once authorized</label>
941
- <config_path>payment/pbxep_paypal/status/authorized</config_path>
942
- <frontend_type>select</frontend_type>
943
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
944
- <sort_order>110</sort_order>
945
- <show_in_default>1</show_in_default>
946
- <show_in_website>1</show_in_website>
947
- <show_in_store>0</show_in_store>
948
- <depends>
949
- <active>1</active>
950
- <action>manual</action>
951
- </depends>
952
- </status_authorized>
953
- <status_paid translate="label comment">
954
- <label>Once paid</label>
955
- <config_path>payment/pbxep_paypal/status/paid</config_path>
956
- <frontend_type>select</frontend_type>
957
- <source_model>pbxep/admin_order_status_processing</source_model>
958
- <sort_order>110</sort_order>
959
- <show_in_default>1</show_in_default>
960
- <show_in_website>1</show_in_website>
961
- <show_in_store>0</show_in_store>
962
- <depends>
963
- <active>1</active>
964
- </depends>
965
- </status_paid>
966
- <status_auto_capture translate="label comment">
967
- <label>Automatic capture status</label>
968
- <config_path>payment/pbxep_paypal/status/auto_capture</config_path>
969
- <frontend_type>select</frontend_type>
970
- <source_model>pbxep/admin_order_status_autocapture</source_model>
971
- <sort_order>112</sort_order>
972
- <show_in_default>1</show_in_default>
973
- <show_in_website>1</show_in_website>
974
- <show_in_store>0</show_in_store>
975
- <depends>
976
- <active>1</active>
977
- <action>manual</action>
978
- </depends>
979
- </status_auto_capture>
980
- <conditions translate="label comment">
981
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
982
- <label>Conditions</label>
983
- <sort_order>200</sort_order>
984
- <show_in_default>1</show_in_default>
985
- <show_in_website>1</show_in_website>
986
- <show_in_store>1</show_in_store>
987
- <depends>
988
- <active>1</active>
989
- </depends>
990
- </conditions>
991
- <allowspecific translate="label comment">
992
- <label>Payment from Applicable Countries</label>
993
- <config_path>payment/pbxep_paypal/allowspecific</config_path>
994
- <frontend_type>allowspecific</frontend_type>
995
- <sort_order>210</sort_order>
996
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
997
- <show_in_default>1</show_in_default>
998
- <show_in_website>1</show_in_website>
999
- <show_in_store>1</show_in_store>
1000
- <depends>
1001
- <active>1</active>
1002
- </depends>
1003
- </allowspecific>
1004
- <specificcountry translate="label comment">
1005
- <label>Payment from Specific Countries</label>
1006
- <config_path>payment/pbxep_paypal/specificcountry</config_path>
1007
- <frontend_type>multiselect</frontend_type>
1008
- <sort_order>220</sort_order>
1009
- <source_model>adminhtml/system_config_source_country</source_model>
1010
- <show_in_default>1</show_in_default>
1011
- <show_in_website>1</show_in_website>
1012
- <show_in_store>1</show_in_store>
1013
- <depends>
1014
- <allowspecific>1</allowspecific>
1015
- <active>1</active>
1016
- </depends>
1017
- </specificcountry>
1018
- <min_order_total translate="label comment">
1019
- <label>Minimum Order Total</label>
1020
- <config_path>payment/pbxep_paypal/min_order_total</config_path>
1021
- <frontend_type>text</frontend_type>
1022
- <sort_order>230</sort_order>
1023
- <show_in_default>1</show_in_default>
1024
- <show_in_website>1</show_in_website>
1025
- <show_in_store>1</show_in_store>
1026
- <depends>
1027
- <active>1</active>
1028
- </depends>
1029
- </min_order_total>
1030
- <max_order_total translate="label comment">
1031
- <label>Maximum Order Total</label>
1032
- <config_path>payment/pbxep_paypal/max_order_total</config_path>
1033
- <frontend_type>text</frontend_type>
1034
- <sort_order>240</sort_order>
1035
- <show_in_default>1</show_in_default>
1036
- <show_in_website>1</show_in_website>
1037
- <show_in_store>1</show_in_store>
1038
- <depends>
1039
- <active>1</active>
1040
- </depends>
1041
- </max_order_total>
1042
- </fields>
1043
- </pbxep_paypal>
1044
- <pbxep_prepaid translate="label comment">
1045
- <label>Pay by Saving or Prepaid Ticket</label>
1046
- <expanded>0</expanded>
1047
- <frontend_type>text</frontend_type>
1048
- <sort_order>50</sort_order>
1049
- <show_in_default>1</show_in_default>
1050
- <show_in_website>1</show_in_website>
1051
- <show_in_store>1</show_in_store>
1052
- <fields>
1053
- <active translate="label comment">
1054
- <label>Enable</label>
1055
- <frontend_type>select</frontend_type>
1056
- <source_model>adminhtml/system_config_source_yesno</source_model>
1057
- <config_path>payment/pbxep_prepaid/active</config_path>
1058
- <sort_order>10</sort_order>
1059
- <show_in_default>1</show_in_default>
1060
- <show_in_website>1</show_in_website>
1061
- <show_in_store>1</show_in_store>
1062
- </active>
1063
- <cctypes translate="label comment">
1064
- <label>Card type</label>
1065
- <config_path>payment/pbxep_prepaid/cctypes</config_path>
1066
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1067
- <frontend_type>checkboxes</frontend_type>
1068
- <source_model>pbxep/admin_cards_prepaid</source_model>
1069
- <sort_order>20</sort_order>
1070
- <show_in_default>1</show_in_default>
1071
- <show_in_website>1</show_in_website>
1072
- <show_in_store>1</show_in_store>
1073
- <depends>
1074
- <active>1</active>
1075
- </depends>
1076
- </cctypes>
1077
- <title translate="label comment">
1078
- <label>Title</label>
1079
- <config_path>payment/pbxep_prepaid/title</config_path>
1080
- <frontend_type>text</frontend_type>
1081
- <sort_order>30</sort_order>
1082
- <show_in_default>1</show_in_default>
1083
- <show_in_website>1</show_in_website>
1084
- <show_in_store>1</show_in_store>
1085
- <depends>
1086
- <active>1</active>
1087
- </depends>
1088
- </title>
1089
- <sort_order translate="label comment">
1090
- <label>Sort Order</label>
1091
- <config_path>payment/pbxep_prepaid/sort_order</config_path>
1092
- <frontend_type>text</frontend_type>
1093
- <sort_order>40</sort_order>
1094
- <show_in_default>1</show_in_default>
1095
- <show_in_website>1</show_in_website>
1096
- <show_in_store>1</show_in_store>
1097
- <frontend_class>validate-number</frontend_class>
1098
- <depends>
1099
- <active>1</active>
1100
- </depends>
1101
- </sort_order>
1102
- <status translate="label comment">
1103
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1104
- <label>Payment status</label>
1105
- <sort_order>100</sort_order>
1106
- <show_in_default>1</show_in_default>
1107
- <show_in_website>1</show_in_website>
1108
- <show_in_store>1</show_in_store>
1109
- <depends>
1110
- <active>1</active>
1111
- </depends>
1112
- </status>
1113
- <status_authorized translate="label comment">
1114
- <label>Once authorized</label>
1115
- <config_path>payment/pbxep_prepaid/status/authorized</config_path>
1116
- <frontend_type>select</frontend_type>
1117
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1118
- <sort_order>110</sort_order>
1119
- <show_in_default>1</show_in_default>
1120
- <show_in_website>1</show_in_website>
1121
- <show_in_store>0</show_in_store>
1122
- <depends>
1123
- <active>1</active>
1124
- <action>manual</action>
1125
- </depends>
1126
- </status_authorized>
1127
- <status_paid translate="label comment">
1128
- <label>Once paid</label>
1129
- <config_path>payment/pbxep_prepaid/status/paid</config_path>
1130
- <frontend_type>select</frontend_type>
1131
- <source_model>pbxep/admin_order_status_processing</source_model>
1132
- <sort_order>110</sort_order>
1133
- <show_in_default>1</show_in_default>
1134
- <show_in_website>1</show_in_website>
1135
- <show_in_store>0</show_in_store>
1136
- <depends>
1137
- <active>1</active>
1138
- </depends>
1139
- </status_paid>
1140
- <status_auto_capture translate="label comment">
1141
- <label>Automatic capture status</label>
1142
- <config_path>payment/pbxep_prepaid/status/auto_capture</config_path>
1143
- <frontend_type>select</frontend_type>
1144
- <source_model>pbxep/admin_order_status_autocapture</source_model>
1145
- <sort_order>112</sort_order>
1146
- <show_in_default>1</show_in_default>
1147
- <show_in_website>1</show_in_website>
1148
- <show_in_store>0</show_in_store>
1149
- <depends>
1150
- <active>1</active>
1151
- <action>manual</action>
1152
- </depends>
1153
- </status_auto_capture>
1154
- <conditions translate="label comment">
1155
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1156
- <label>Conditions</label>
1157
- <sort_order>200</sort_order>
1158
- <show_in_default>1</show_in_default>
1159
- <show_in_website>1</show_in_website>
1160
- <show_in_store>1</show_in_store>
1161
- <depends>
1162
- <active>1</active>
1163
- </depends>
1164
- </conditions>
1165
- <allowspecific translate="label comment">
1166
- <label>Payment from Applicable Countries</label>
1167
- <config_path>payment/pbxep_prepaid/allowspecific</config_path>
1168
- <frontend_type>allowspecific</frontend_type>
1169
- <sort_order>210</sort_order>
1170
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1171
- <show_in_default>1</show_in_default>
1172
- <show_in_website>1</show_in_website>
1173
- <show_in_store>1</show_in_store>
1174
- <depends>
1175
- <active>1</active>
1176
- </depends>
1177
- </allowspecific>
1178
- <specificcountry translate="label comment">
1179
- <label>Payment from Specific Countries</label>
1180
- <config_path>payment/pbxep_prepaid/specificcountry</config_path>
1181
- <frontend_type>multiselect</frontend_type>
1182
- <sort_order>220</sort_order>
1183
- <source_model>adminhtml/system_config_source_country</source_model>
1184
- <show_in_default>1</show_in_default>
1185
- <show_in_website>1</show_in_website>
1186
- <show_in_store>1</show_in_store>
1187
- <depends>
1188
- <allowspecific>1</allowspecific>
1189
- <active>1</active>
1190
- </depends>
1191
- </specificcountry>
1192
- <min_order_total translate="label comment">
1193
- <label>Minimum Order Total</label>
1194
- <config_path>payment/pbxep_prepaid/min_order_total</config_path>
1195
- <frontend_type>text</frontend_type>
1196
- <sort_order>230</sort_order>
1197
- <show_in_default>1</show_in_default>
1198
- <show_in_website>1</show_in_website>
1199
- <show_in_store>1</show_in_store>
1200
- <depends>
1201
- <active>1</active>
1202
- </depends>
1203
- </min_order_total>
1204
- <max_order_total translate="label comment">
1205
- <label>Maximum Order Total</label>
1206
- <config_path>payment/pbxep_prepaid/max_order_total</config_path>
1207
- <frontend_type>text</frontend_type>
1208
- <sort_order>240</sort_order>
1209
- <show_in_default>1</show_in_default>
1210
- <show_in_website>1</show_in_website>
1211
- <show_in_store>1</show_in_store>
1212
- <depends>
1213
- <active>1</active>
1214
- </depends>
1215
- </max_order_total>
1216
- </fields>
1217
- </pbxep_prepaid>
1218
- <pbxep_financial translate="label comment">
1219
- <label>Pay by Card and Means of Financing</label>
1220
- <expanded>0</expanded>
1221
- <frontend_type>text</frontend_type>
1222
- <sort_order>60</sort_order>
1223
- <show_in_default>1</show_in_default>
1224
- <show_in_website>1</show_in_website>
1225
- <show_in_store>1</show_in_store>
1226
- <fields>
1227
- <active translate="label comment">
1228
- <label>Enable</label>
1229
- <frontend_type>select</frontend_type>
1230
- <source_model>adminhtml/system_config_source_yesno</source_model>
1231
- <config_path>payment/pbxep_financial/active</config_path>
1232
- <sort_order>10</sort_order>
1233
- <show_in_default>1</show_in_default>
1234
- <show_in_website>1</show_in_website>
1235
- <show_in_store>1</show_in_store>
1236
- </active>
1237
- <cctypes translate="label comment">
1238
- <label>Card type</label>
1239
- <config_path>payment/pbxep_financial/cctypes</config_path>
1240
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1241
- <frontend_type>checkboxes</frontend_type>
1242
- <source_model>pbxep/admin_cards_financial</source_model>
1243
- <sort_order>20</sort_order>
1244
- <show_in_default>1</show_in_default>
1245
- <show_in_website>1</show_in_website>
1246
- <show_in_store>1</show_in_store>
1247
- <depends>
1248
- <active>1</active>
1249
- </depends>
1250
- </cctypes>
1251
- <title translate="label comment">
1252
- <label>Title</label>
1253
- <config_path>payment/pbxep_financial/title</config_path>
1254
- <frontend_type>text</frontend_type>
1255
- <sort_order>30</sort_order>
1256
- <show_in_default>1</show_in_default>
1257
- <show_in_website>1</show_in_website>
1258
- <show_in_store>1</show_in_store>
1259
- <depends>
1260
- <active>1</active>
1261
- </depends>
1262
- </title>
1263
- <sort_order translate="label comment">
1264
- <label>Sort Order</label>
1265
- <config_path>payment/pbxep_financial/sort_order</config_path>
1266
- <frontend_type>text</frontend_type>
1267
- <sort_order>40</sort_order>
1268
- <show_in_default>1</show_in_default>
1269
- <show_in_website>1</show_in_website>
1270
- <show_in_store>1</show_in_store>
1271
- <frontend_class>validate-number</frontend_class>
1272
- <depends>
1273
- <active>1</active>
1274
- </depends>
1275
- </sort_order>
1276
- <status translate="label comment">
1277
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1278
- <label>Payment status</label>
1279
- <sort_order>100</sort_order>
1280
- <show_in_default>1</show_in_default>
1281
- <show_in_website>1</show_in_website>
1282
- <show_in_store>1</show_in_store>
1283
- <depends>
1284
- <active>1</active>
1285
- </depends>
1286
- </status>
1287
- <status_authorized translate="label comment">
1288
- <label>Once authorized</label>
1289
- <config_path>payment/pbxep_financial/status/authorized</config_path>
1290
- <frontend_type>select</frontend_type>
1291
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1292
- <sort_order>110</sort_order>
1293
- <show_in_default>1</show_in_default>
1294
- <show_in_website>1</show_in_website>
1295
- <show_in_store>0</show_in_store>
1296
- <depends>
1297
- <active>1</active>
1298
- <action>manual</action>
1299
- </depends>
1300
- </status_authorized>
1301
- <status_paid translate="label comment">
1302
- <label>Once paid</label>
1303
- <config_path>payment/pbxep_financial/status/paid</config_path>
1304
- <frontend_type>select</frontend_type>
1305
- <source_model>pbxep/admin_order_status_processing</source_model>
1306
- <sort_order>110</sort_order>
1307
- <show_in_default>1</show_in_default>
1308
- <show_in_website>1</show_in_website>
1309
- <show_in_store>0</show_in_store>
1310
- <depends>
1311
- <active>1</active>
1312
- </depends>
1313
- </status_paid>
1314
- <status_auto_capture translate="label comment">
1315
- <label>Automatic capture status</label>
1316
- <config_path>payment/pbxep_financial/status/auto_capture</config_path>
1317
- <frontend_type>select</frontend_type>
1318
- <source_model>pbxep/admin_order_status_autocapture</source_model>
1319
- <sort_order>112</sort_order>
1320
- <show_in_default>1</show_in_default>
1321
- <show_in_website>1</show_in_website>
1322
- <show_in_store>0</show_in_store>
1323
- <depends>
1324
- <active>1</active>
1325
- <action>manual</action>
1326
- </depends>
1327
- </status_auto_capture>
1328
- <conditions translate="label comment">
1329
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1330
- <label>Conditions</label>
1331
- <sort_order>200</sort_order>
1332
- <show_in_default>1</show_in_default>
1333
- <show_in_website>1</show_in_website>
1334
- <show_in_store>1</show_in_store>
1335
- <depends>
1336
- <active>1</active>
1337
- </depends>
1338
- </conditions>
1339
- <allowspecific translate="label comment">
1340
- <label>Payment from Applicable Countries</label>
1341
- <config_path>payment/pbxep_financial/allowspecific</config_path>
1342
- <frontend_type>allowspecific</frontend_type>
1343
- <sort_order>210</sort_order>
1344
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1345
- <show_in_default>1</show_in_default>
1346
- <show_in_website>1</show_in_website>
1347
- <show_in_store>1</show_in_store>
1348
- <depends>
1349
- <active>1</active>
1350
- </depends>
1351
- </allowspecific>
1352
- <specificcountry translate="label comment">
1353
- <label>Payment from Specific Countries</label>
1354
- <config_path>payment/pbxep_financial/specificcountry</config_path>
1355
- <frontend_type>multiselect</frontend_type>
1356
- <sort_order>220</sort_order>
1357
- <source_model>adminhtml/system_config_source_country</source_model>
1358
- <show_in_default>1</show_in_default>
1359
- <show_in_website>1</show_in_website>
1360
- <show_in_store>1</show_in_store>
1361
- <depends>
1362
- <allowspecific>1</allowspecific>
1363
- <active>1</active>
1364
- </depends>
1365
- </specificcountry>
1366
- <min_order_total translate="label comment">
1367
- <label>Minimum Order Total</label>
1368
- <config_path>payment/pbxep_financial/min_order_total</config_path>
1369
- <frontend_type>text</frontend_type>
1370
- <sort_order>230</sort_order>
1371
- <show_in_default>1</show_in_default>
1372
- <show_in_website>1</show_in_website>
1373
- <show_in_store>1</show_in_store>
1374
- <depends>
1375
- <active>1</active>
1376
- </depends>
1377
- </min_order_total>
1378
- <max_order_total translate="label comment">
1379
- <label>Maximum Order Total</label>
1380
- <config_path>payment/pbxep_financial/max_order_total</config_path>
1381
- <frontend_type>text</frontend_type>
1382
- <sort_order>240</sort_order>
1383
- <show_in_default>1</show_in_default>
1384
- <show_in_website>1</show_in_website>
1385
- <show_in_store>1</show_in_store>
1386
- <depends>
1387
- <active>1</active>
1388
- </depends>
1389
- </max_order_total>
1390
- </fields>
1391
- </pbxep_financial>
1392
- <pbxep_bcmc translate="label comment">
1393
- <label>Pay by Bancontact Mister Cash</label>
1394
- <expanded>0</expanded>
1395
- <frontend_type>text</frontend_type>
1396
- <sort_order>70</sort_order>
1397
- <show_in_default>1</show_in_default>
1398
- <show_in_website>1</show_in_website>
1399
- <show_in_store>1</show_in_store>
1400
- <fields>
1401
- <active translate="label comment">
1402
- <label>Enable</label>
1403
- <frontend_type>select</frontend_type>
1404
- <source_model>adminhtml/system_config_source_yesno</source_model>
1405
- <config_path>payment/pbxep_bcmc/active</config_path>
1406
- <sort_order>10</sort_order>
1407
- <show_in_default>1</show_in_default>
1408
- <show_in_website>1</show_in_website>
1409
- <show_in_store>1</show_in_store>
1410
- </active>
1411
- <title translate="label comment">
1412
- <label>Title</label>
1413
- <config_path>payment/pbxep_bcmc/title</config_path>
1414
- <frontend_type>text</frontend_type>
1415
- <sort_order>30</sort_order>
1416
- <show_in_default>1</show_in_default>
1417
- <show_in_website>1</show_in_website>
1418
- <show_in_store>1</show_in_store>
1419
- <depends>
1420
- <active>1</active>
1421
- </depends>
1422
- </title>
1423
- <sort_order translate="label comment">
1424
- <label>Sort Order</label>
1425
- <config_path>payment/pbxep_bcmc/sort_order</config_path>
1426
- <frontend_type>text</frontend_type>
1427
- <sort_order>40</sort_order>
1428
- <show_in_default>1</show_in_default>
1429
- <show_in_website>1</show_in_website>
1430
- <show_in_store>1</show_in_store>
1431
- <frontend_class>validate-number</frontend_class>
1432
- <depends>
1433
- <active>1</active>
1434
- </depends>
1435
- </sort_order>
1436
- <status translate="label comment">
1437
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1438
- <label>Payment status</label>
1439
- <sort_order>100</sort_order>
1440
- <show_in_default>1</show_in_default>
1441
- <show_in_website>1</show_in_website>
1442
- <show_in_store>1</show_in_store>
1443
- <depends>
1444
- <active>1</active>
1445
- </depends>
1446
- </status>
1447
- <status_authorized translate="label comment">
1448
- <label>Once authorized</label>
1449
- <config_path>payment/pbxep_bcmc/status/authorized</config_path>
1450
- <frontend_type>select</frontend_type>
1451
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1452
- <sort_order>110</sort_order>
1453
- <show_in_default>1</show_in_default>
1454
- <show_in_website>1</show_in_website>
1455
- <show_in_store>0</show_in_store>
1456
- <depends>
1457
- <active>1</active>
1458
- <action>manual</action>
1459
- </depends>
1460
- </status_authorized>
1461
- <status_paid translate="label comment">
1462
- <label>Once paid</label>
1463
- <config_path>payment/pbxep_bcmc/status/paid</config_path>
1464
- <frontend_type>select</frontend_type>
1465
- <source_model>pbxep/admin_order_status_processing</source_model>
1466
- <sort_order>110</sort_order>
1467
- <show_in_default>1</show_in_default>
1468
- <show_in_website>1</show_in_website>
1469
- <show_in_store>0</show_in_store>
1470
- <depends>
1471
- <active>1</active>
1472
- </depends>
1473
- </status_paid>
1474
- <status_auto_capture translate="label comment">
1475
- <label>Automatic capture status</label>
1476
- <config_path>payment/pbxep_bcmc/status/auto_capture</config_path>
1477
- <frontend_type>select</frontend_type>
1478
- <source_model>pbxep/admin_order_status_autocapture</source_model>
1479
- <sort_order>112</sort_order>
1480
- <show_in_default>1</show_in_default>
1481
- <show_in_website>1</show_in_website>
1482
- <show_in_store>0</show_in_store>
1483
- <depends>
1484
- <active>1</active>
1485
- <action>manual</action>
1486
- </depends>
1487
- </status_auto_capture>
1488
- <conditions translate="label comment">
1489
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1490
- <label>Conditions</label>
1491
- <sort_order>200</sort_order>
1492
- <show_in_default>1</show_in_default>
1493
- <show_in_website>1</show_in_website>
1494
- <show_in_store>1</show_in_store>
1495
- <depends>
1496
- <active>1</active>
1497
- </depends>
1498
- </conditions>
1499
- <allowspecific translate="label comment">
1500
- <label>Payment from Applicable Countries</label>
1501
- <config_path>payment/pbxep_bcmc/allowspecific</config_path>
1502
- <frontend_type>allowspecific</frontend_type>
1503
- <sort_order>210</sort_order>
1504
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1505
- <show_in_default>1</show_in_default>
1506
- <show_in_website>1</show_in_website>
1507
- <show_in_store>1</show_in_store>
1508
- <depends>
1509
- <active>1</active>
1510
- </depends>
1511
- </allowspecific>
1512
- <specificcountry translate="label comment">
1513
- <label>Payment from Specific Countries</label>
1514
- <config_path>payment/pbxep_bcmc/specificcountry</config_path>
1515
- <frontend_type>multiselect</frontend_type>
1516
- <sort_order>220</sort_order>
1517
- <source_model>adminhtml/system_config_source_country</source_model>
1518
- <show_in_default>1</show_in_default>
1519
- <show_in_website>1</show_in_website>
1520
- <show_in_store>1</show_in_store>
1521
- <depends>
1522
- <allowspecific>1</allowspecific>
1523
- <active>1</active>
1524
- </depends>
1525
- </specificcountry>
1526
- <min_order_total translate="label comment">
1527
- <label>Minimum Order Total</label>
1528
- <config_path>payment/pbxep_bcmc/min_order_total</config_path>
1529
- <frontend_type>text</frontend_type>
1530
- <sort_order>230</sort_order>
1531
- <show_in_default>1</show_in_default>
1532
- <show_in_website>1</show_in_website>
1533
- <show_in_store>1</show_in_store>
1534
- <depends>
1535
- <active>1</active>
1536
- </depends>
1537
- </min_order_total>
1538
- <max_order_total translate="label comment">
1539
- <label>Maximum Order Total</label>
1540
- <config_path>payment/pbxep_bcmc/max_order_total</config_path>
1541
- <frontend_type>text</frontend_type>
1542
- <sort_order>240</sort_order>
1543
- <show_in_default>1</show_in_default>
1544
- <show_in_website>1</show_in_website>
1545
- <show_in_store>1</show_in_store>
1546
- <depends>
1547
- <active>1</active>
1548
- </depends>
1549
- </max_order_total>
1550
- <tds translate="label comment">
1551
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1552
- <label>3-D Secure</label>
1553
- <sort_order>300</sort_order>
1554
- <show_in_default>1</show_in_default>
1555
- <show_in_website>1</show_in_website>
1556
- <show_in_store>1</show_in_store>
1557
- <depends>
1558
- <active>1</active>
1559
- </depends>
1560
- </tds>
1561
- <tds_info translate="label comment">
1562
- <label><![CDATA[3-D Secure is mandatory for this payment method.]]></label>
1563
- <frontend_model>pbxep/admin_info</frontend_model>
1564
- <sort_order>305</sort_order>
1565
- <show_in_default>1</show_in_default>
1566
- <show_in_website>1</show_in_website>
1567
- <show_in_store>1</show_in_store>
1568
- <depends>
1569
- <active>1</active>
1570
- </depends>
1571
- </tds_info>
1572
- </fields>
1573
- </pbxep_bcmc>
1574
- <pbxep_maestro translate="label comment">
1575
- <label>Pay by Maestro</label>
1576
- <expanded>0</expanded>
1577
- <frontend_type>text</frontend_type>
1578
- <sort_order>80</sort_order>
1579
- <show_in_default>1</show_in_default>
1580
- <show_in_website>1</show_in_website>
1581
- <show_in_store>1</show_in_store>
1582
- <fields>
1583
- <active translate="label comment">
1584
- <label>Enable</label>
1585
- <frontend_type>select</frontend_type>
1586
- <source_model>adminhtml/system_config_source_yesno</source_model>
1587
- <config_path>payment/pbxep_maestro/active</config_path>
1588
- <sort_order>10</sort_order>
1589
- <show_in_default>1</show_in_default>
1590
- <show_in_website>1</show_in_website>
1591
- <show_in_store>1</show_in_store>
1592
- </active>
1593
- <title translate="label comment">
1594
- <label>Title</label>
1595
- <config_path>payment/pbxep_maestro/title</config_path>
1596
- <frontend_type>text</frontend_type>
1597
- <sort_order>30</sort_order>
1598
- <show_in_default>1</show_in_default>
1599
- <show_in_website>1</show_in_website>
1600
- <show_in_store>1</show_in_store>
1601
- <depends>
1602
- <active>1</active>
1603
- </depends>
1604
- </title>
1605
- <sort_order translate="label comment">
1606
- <label>Sort Order</label>
1607
- <config_path>payment/pbxep_maestro/sort_order</config_path>
1608
- <frontend_type>text</frontend_type>
1609
- <sort_order>40</sort_order>
1610
- <show_in_default>1</show_in_default>
1611
- <show_in_website>1</show_in_website>
1612
- <show_in_store>1</show_in_store>
1613
- <frontend_class>validate-number</frontend_class>
1614
- <depends>
1615
- <active>1</active>
1616
- </depends>
1617
- </sort_order>
1618
- <action translate="label comment">
1619
- <label>Debit type</label>
1620
- <frontend_model>pbxep/admin_field_select</frontend_model>
1621
- <frontend_type>select</frontend_type>
1622
- <source_model>pbxep/admin_payment_action</source_model>
1623
- <config_path>payment/pbxep_maestro/action</config_path>
1624
- <sort_order>50</sort_order>
1625
- <show_in_default>1</show_in_default>
1626
- <show_in_website>1</show_in_website>
1627
- <show_in_store>1</show_in_store>
1628
- <depends>
1629
- <active>1</active>
1630
- </depends>
1631
- </action>
1632
- <delay translate="label comment">
1633
- <label>Delay</label>
1634
- <config_path>payment/pbxep_maestro/delay</config_path>
1635
- <frontend_type>select</frontend_type>
1636
- <source_model>pbxep/admin_payment_delays</source_model>
1637
- <sort_order>60</sort_order>
1638
- <show_in_default>1</show_in_default>
1639
- <show_in_website>1</show_in_website>
1640
- <show_in_store>1</show_in_store>
1641
- <depends>
1642
- <action>deferred</action>
1643
- <active>1</active>
1644
- </depends>
1645
- </delay>
1646
- <status translate="label comment">
1647
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1648
- <label>Payment status</label>
1649
- <sort_order>100</sort_order>
1650
- <show_in_default>1</show_in_default>
1651
- <show_in_website>1</show_in_website>
1652
- <show_in_store>1</show_in_store>
1653
- <depends>
1654
- <active>1</active>
1655
- </depends>
1656
- </status>
1657
- <status_authorized translate="label comment">
1658
- <label>Once authorized</label>
1659
- <config_path>payment/pbxep_maestro/status/authorized</config_path>
1660
- <frontend_type>select</frontend_type>
1661
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1662
- <sort_order>110</sort_order>
1663
- <show_in_default>1</show_in_default>
1664
- <show_in_website>1</show_in_website>
1665
- <show_in_store>0</show_in_store>
1666
- <depends>
1667
- <active>1</active>
1668
- <action>manual</action>
1669
- </depends>
1670
- </status_authorized>
1671
- <status_paid translate="label comment">
1672
- <label>Once paid</label>
1673
- <config_path>payment/pbxep_maestro/status/paid</config_path>
1674
- <frontend_type>select</frontend_type>
1675
- <source_model>pbxep/admin_order_status_processing</source_model>
1676
- <sort_order>110</sort_order>
1677
- <show_in_default>1</show_in_default>
1678
- <show_in_website>1</show_in_website>
1679
- <show_in_store>0</show_in_store>
1680
- <depends>
1681
- <active>1</active>
1682
- </depends>
1683
- </status_paid>
1684
- <status_auto_capture translate="label comment">
1685
- <label>Automatic capture status</label>
1686
- <config_path>payment/pbxep_maestro/status/auto_capture</config_path>
1687
- <frontend_type>select</frontend_type>
1688
- <source_model>pbxep/admin_order_status_autocapture</source_model>
1689
- <sort_order>112</sort_order>
1690
- <show_in_default>1</show_in_default>
1691
- <show_in_website>1</show_in_website>
1692
- <show_in_store>0</show_in_store>
1693
- <depends>
1694
- <active>1</active>
1695
- <action>manual</action>
1696
- </depends>
1697
- </status_auto_capture>
1698
- <conditions translate="label comment">
1699
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1700
- <label>Conditions</label>
1701
- <sort_order>200</sort_order>
1702
- <show_in_default>1</show_in_default>
1703
- <show_in_website>1</show_in_website>
1704
- <show_in_store>1</show_in_store>
1705
- <depends>
1706
- <active>1</active>
1707
- </depends>
1708
- </conditions>
1709
- <allowspecific translate="label comment">
1710
- <label>Payment from Applicable Countries</label>
1711
- <config_path>payment/pbxep_maestro/allowspecific</config_path>
1712
- <frontend_type>allowspecific</frontend_type>
1713
- <sort_order>210</sort_order>
1714
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1715
- <show_in_default>1</show_in_default>
1716
- <show_in_website>1</show_in_website>
1717
- <show_in_store>1</show_in_store>
1718
- <depends>
1719
- <active>1</active>
1720
- </depends>
1721
- </allowspecific>
1722
- <specificcountry translate="label comment">
1723
- <label>Payment from Specific Countries</label>
1724
- <config_path>payment/pbxep_maestro/specificcountry</config_path>
1725
- <frontend_type>multiselect</frontend_type>
1726
- <sort_order>220</sort_order>
1727
- <source_model>adminhtml/system_config_source_country</source_model>
1728
- <show_in_default>1</show_in_default>
1729
- <show_in_website>1</show_in_website>
1730
- <show_in_store>1</show_in_store>
1731
- <depends>
1732
- <allowspecific>1</allowspecific>
1733
- <active>1</active>
1734
- </depends>
1735
- </specificcountry>
1736
- <min_order_total translate="label comment">
1737
- <label>Minimum Order Total</label>
1738
- <config_path>payment/pbxep_maestro/min_order_total</config_path>
1739
- <frontend_type>text</frontend_type>
1740
- <sort_order>230</sort_order>
1741
- <show_in_default>1</show_in_default>
1742
- <show_in_website>1</show_in_website>
1743
- <show_in_store>1</show_in_store>
1744
- <depends>
1745
- <active>1</active>
1746
- </depends>
1747
- </min_order_total>
1748
- <max_order_total translate="label comment">
1749
- <label>Maximum Order Total</label>
1750
- <config_path>payment/pbxep_maestro/max_order_total</config_path>
1751
- <frontend_type>text</frontend_type>
1752
- <sort_order>240</sort_order>
1753
- <show_in_default>1</show_in_default>
1754
- <show_in_website>1</show_in_website>
1755
- <show_in_store>1</show_in_store>
1756
- <depends>
1757
- <active>1</active>
1758
- </depends>
1759
- </max_order_total>
1760
- <tds translate="label comment">
1761
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1762
- <label>3-D Secure</label>
1763
- <sort_order>300</sort_order>
1764
- <show_in_default>1</show_in_default>
1765
- <show_in_website>1</show_in_website>
1766
- <show_in_store>1</show_in_store>
1767
- <depends>
1768
- <active>1</active>
1769
- </depends>
1770
- </tds>
1771
- <tds_info translate="label comment">
1772
- <label><![CDATA[3-D Secure is mandatory for this payment method.]]></label>
1773
- <frontend_model>pbxep/admin_info</frontend_model>
1774
- <sort_order>305</sort_order>
1775
- <show_in_default>1</show_in_default>
1776
- <show_in_website>1</show_in_website>
1777
- <show_in_store>1</show_in_store>
1778
- <depends>
1779
- <active>1</active>
1780
- </depends>
1781
- </tds_info>
1782
- </fields>
1783
- </pbxep_maestro>
1784
- <pbxep_paybuttons translate="label comment">
1785
- <label>Pay by Paybutton</label>
1786
- <expanded>0</expanded>
1787
- <frontend_type>text</frontend_type>
1788
- <sort_order>90</sort_order>
1789
- <show_in_default>1</show_in_default>
1790
- <show_in_website>1</show_in_website>
1791
- <show_in_store>1</show_in_store>
1792
- <fields>
1793
- <active translate="label comment">
1794
- <label>Enable</label>
1795
- <frontend_type>select</frontend_type>
1796
- <source_model>adminhtml/system_config_source_yesno</source_model>
1797
- <config_path>payment/pbxep_paybuttons/active</config_path>
1798
- <sort_order>10</sort_order>
1799
- <show_in_default>1</show_in_default>
1800
- <show_in_website>1</show_in_website>
1801
- <show_in_store>1</show_in_store>
1802
- </active>
1803
- <cctypes translate="label comment">
1804
- <label>Card type</label>
1805
- <config_path>payment/pbxep_paybuttons/cctypes</config_path>
1806
- <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1807
- <frontend_type>checkboxes</frontend_type>
1808
- <source_model>pbxep/admin_cards_paybuttons</source_model>
1809
- <sort_order>20</sort_order>
1810
- <show_in_default>1</show_in_default>
1811
- <show_in_website>1</show_in_website>
1812
- <show_in_store>1</show_in_store>
1813
- <depends>
1814
- <active>1</active>
1815
- </depends>
1816
- </cctypes>
1817
- <title translate="label comment">
1818
- <label>Title</label>
1819
- <config_path>payment/pbxep_paybuttons/title</config_path>
1820
- <frontend_type>text</frontend_type>
1821
- <sort_order>30</sort_order>
1822
- <show_in_default>1</show_in_default>
1823
- <show_in_website>1</show_in_website>
1824
- <show_in_store>1</show_in_store>
1825
- <depends>
1826
- <active>1</active>
1827
- </depends>
1828
- </title>
1829
- <sort_order translate="label comment">
1830
- <label>Sort Order</label>
1831
- <config_path>payment/pbxep_paybuttons/sort_order</config_path>
1832
- <frontend_type>text</frontend_type>
1833
- <sort_order>40</sort_order>
1834
- <show_in_default>1</show_in_default>
1835
- <show_in_website>1</show_in_website>
1836
- <show_in_store>1</show_in_store>
1837
- <frontend_class>validate-number</frontend_class>
1838
- <depends>
1839
- <active>1</active>
1840
- </depends>
1841
- </sort_order>
1842
- <status translate="label comment">
1843
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1844
- <label>Payment status</label>
1845
- <sort_order>100</sort_order>
1846
- <show_in_default>1</show_in_default>
1847
- <show_in_website>1</show_in_website>
1848
- <show_in_store>1</show_in_store>
1849
- <depends>
1850
- <active>1</active>
1851
- </depends>
1852
- </status>
1853
- <status_authorized translate="label comment">
1854
- <label>Once authorized</label>
1855
- <config_path>payment/pbxep_paybuttons/status/authorized</config_path>
1856
- <frontend_type>select</frontend_type>
1857
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1858
- <sort_order>110</sort_order>
1859
- <show_in_default>1</show_in_default>
1860
- <show_in_website>1</show_in_website>
1861
- <show_in_store>0</show_in_store>
1862
- <depends>
1863
- <active>1</active>
1864
- <action>manual</action>
1865
- </depends>
1866
- </status_authorized>
1867
- <status_paid translate="label comment">
1868
- <label>Once paid</label>
1869
- <config_path>payment/pbxep_paybuttons/status/paid</config_path>
1870
- <frontend_type>select</frontend_type>
1871
- <source_model>pbxep/admin_order_status_processing</source_model>
1872
- <sort_order>110</sort_order>
1873
- <show_in_default>1</show_in_default>
1874
- <show_in_website>1</show_in_website>
1875
- <show_in_store>0</show_in_store>
1876
- <depends>
1877
- <active>1</active>
1878
- </depends>
1879
- </status_paid>
1880
- <status_auto_capture translate="label comment">
1881
- <label>Automatic capture status</label>
1882
- <config_path>payment/pbxep_paybuttons/status/auto_capture</config_path>
1883
- <frontend_type>select</frontend_type>
1884
- <source_model>pbxep/admin_order_status_autocapture</source_model>
1885
- <sort_order>112</sort_order>
1886
- <show_in_default>1</show_in_default>
1887
- <show_in_website>1</show_in_website>
1888
- <show_in_store>0</show_in_store>
1889
- <depends>
1890
- <active>1</active>
1891
- <action>manual</action>
1892
- </depends>
1893
- </status_auto_capture>
1894
- <conditions translate="label comment">
1895
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1896
- <label>Conditions</label>
1897
- <sort_order>200</sort_order>
1898
- <show_in_default>1</show_in_default>
1899
- <show_in_website>1</show_in_website>
1900
- <show_in_store>1</show_in_store>
1901
- <depends>
1902
- <active>1</active>
1903
- </depends>
1904
- </conditions>
1905
- <allowspecific translate="label comment">
1906
- <label>Payment from Applicable Countries</label>
1907
- <config_path>payment/pbxep_paybuttons/allowspecific</config_path>
1908
- <frontend_type>allowspecific</frontend_type>
1909
- <sort_order>210</sort_order>
1910
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1911
- <show_in_default>1</show_in_default>
1912
- <show_in_website>1</show_in_website>
1913
- <show_in_store>1</show_in_store>
1914
- <depends>
1915
- <active>1</active>
1916
- </depends>
1917
- </allowspecific>
1918
- <specificcountry translate="label comment">
1919
- <label>Payment from Specific Countries</label>
1920
- <config_path>payment/pbxep_paybuttons/specificcountry</config_path>
1921
- <frontend_type>multiselect</frontend_type>
1922
- <sort_order>220</sort_order>
1923
- <source_model>adminhtml/system_config_source_country</source_model>
1924
- <show_in_default>1</show_in_default>
1925
- <show_in_website>1</show_in_website>
1926
- <show_in_store>1</show_in_store>
1927
- <depends>
1928
- <allowspecific>1</allowspecific>
1929
- <active>1</active>
1930
- </depends>
1931
- </specificcountry>
1932
- <min_order_total translate="label comment">
1933
- <label>Minimum Order Total</label>
1934
- <config_path>payment/pbxep_paybuttons/min_order_total</config_path>
1935
- <frontend_type>text</frontend_type>
1936
- <sort_order>230</sort_order>
1937
- <show_in_default>1</show_in_default>
1938
- <show_in_website>1</show_in_website>
1939
- <show_in_store>1</show_in_store>
1940
- <depends>
1941
- <active>1</active>
1942
- </depends>
1943
- </min_order_total>
1944
- <max_order_total translate="label comment">
1945
- <label>Maximum Order Total</label>
1946
- <config_path>payment/pbxep_paybuttons/max_order_total</config_path>
1947
- <frontend_type>text</frontend_type>
1948
- <sort_order>240</sort_order>
1949
- <show_in_default>1</show_in_default>
1950
- <show_in_website>1</show_in_website>
1951
- <show_in_store>1</show_in_store>
1952
- <depends>
1953
- <active>1</active>
1954
- </depends>
1955
- </max_order_total>
1956
- </fields>
1957
- </pbxep_paybuttons>
1958
- </groups>
1959
- </pbxep_payments>
1960
- <pbxep_kwixo translate="label comment" module="pbxep">
1961
- <label>Kwixo</label>
1962
- <tab>pbxep</tab>
1963
- <frontend_type>text</frontend_type>
1964
- <sort_order>354</sort_order>
1965
- <show_in_default>1</show_in_default>
1966
- <show_in_website>1</show_in_website>
1967
- <show_in_store>1</show_in_store>
1968
- <groups>
1969
- <fianet translate="label comment">
1970
- <label>Informations FIA-NET</label>
1971
- <expanded>1</expanded>
1972
- <frontend_type>text</frontend_type>
1973
- <sort_order>20</sort_order>
1974
- <show_in_default>1</show_in_default>
1975
- <show_in_website>1</show_in_website>
1976
- <show_in_store>1</show_in_store>
1977
- <fields>
1978
- <default_category translate="label comment">
1979
- <label>Catégorie par défaut</label>
1980
- <config_path>pbxep/kwixo/default_category</config_path>
1981
- <frontend_type>select</frontend_type>
1982
- <source_model>pbxep/admin_fianet_categories</source_model>
1983
- <sort_order>10</sort_order>
1984
- <show_in_default>1</show_in_default>
1985
- <show_in_website>1</show_in_website>
1986
- <show_in_store>1</show_in_store>
1987
- </default_category>
1988
- <shipping translate="label comment">
1989
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1990
- <label>Informations sur les moyens de livraison</label>
1991
- <sort_order>100</sort_order>
1992
- <show_in_default>1</show_in_default>
1993
- <show_in_website>1</show_in_website>
1994
- <show_in_store>1</show_in_store>
1995
- </shipping>
1996
- <shipping_info translate="label comment">
1997
- <config_path>pbxep/kwixo/shipping</config_path>
1998
- <frontend_model>pbxep/admin_kwixo_shipping</frontend_model>
1999
- <frontend_type>text</frontend_type>
2000
- <backend_model>adminhtml/system_config_backend_serialized</backend_model>
2001
- <source_model>pbxep/admin_fianet_categories</source_model>
2002
- <sort_order>110</sort_order>
2003
- <show_in_default>1</show_in_default>
2004
- <show_in_website>1</show_in_website>
2005
- <show_in_store>1</show_in_store>
2006
- </shipping_info>
2007
- </fields>
2008
- </fianet>
2009
- <kwixo_standard translate="label comment">
2010
- <label>Paiement par Kwixo Standard</label>
2011
- <expanded>1</expanded>
2012
- <frontend_type>text</frontend_type>
2013
- <sort_order>20</sort_order>
2014
- <show_in_default>1</show_in_default>
2015
- <show_in_website>1</show_in_website>
2016
- <show_in_store>1</show_in_store>
2017
- <fields>
2018
- <active translate="label comment">
2019
- <label>Enable</label>
2020
- <frontend_type>select</frontend_type>
2021
- <source_model>adminhtml/system_config_source_yesno</source_model>
2022
- <config_path>payment/pbxep_kwixo_standard/active</config_path>
2023
- <sort_order>10</sort_order>
2024
- <show_in_default>1</show_in_default>
2025
- <show_in_website>1</show_in_website>
2026
- <show_in_store>1</show_in_store>
2027
- </active>
2028
- <title translate="label comment">
2029
- <label>Title</label>
2030
- <config_path>payment/pbxep_kwixo_standard/title</config_path>
2031
- <frontend_type>text</frontend_type>
2032
- <sort_order>20</sort_order>
2033
- <show_in_default>1</show_in_default>
2034
- <show_in_website>1</show_in_website>
2035
- <show_in_store>1</show_in_store>
2036
- <depends>
2037
- <active>1</active>
2038
- </depends>
2039
- </title>
2040
- <sort_order translate="label comment">
2041
- <label>Sort Order</label>
2042
- <config_path>payment/pbxep_kwixo_standard/sort_order</config_path>
2043
- <frontend_type>text</frontend_type>
2044
- <sort_order>30</sort_order>
2045
- <show_in_default>1</show_in_default>
2046
- <show_in_website>1</show_in_website>
2047
- <show_in_store>1</show_in_store>
2048
- <frontend_class>validate-number</frontend_class>
2049
- <depends>
2050
- <active>1</active>
2051
- </depends>
2052
- </sort_order>
2053
- <status translate="label comment">
2054
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2055
- <label>Payment status</label>
2056
- <sort_order>100</sort_order>
2057
- <show_in_default>1</show_in_default>
2058
- <show_in_website>1</show_in_website>
2059
- <show_in_store>1</show_in_store>
2060
- <depends>
2061
- <active>1</active>
2062
- </depends>
2063
- </status>
2064
- <status_authorized translate="label comment">
2065
- <label>Once authorized</label>
2066
- <config_path>payment/pbxep_kwixo_standard/status/authorized</config_path>
2067
- <frontend_type>select</frontend_type>
2068
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2069
- <validate>required-entry</validate>
2070
- <sort_order>110</sort_order>
2071
- <show_in_default>1</show_in_default>
2072
- <show_in_website>1</show_in_website>
2073
- <show_in_store>0</show_in_store>
2074
- <depends>
2075
- <active>1</active>
2076
- <action>manual</action>
2077
- </depends>
2078
- </status_authorized>
2079
- <status_paid translate="label comment">
2080
- <label>Once paid</label>
2081
- <config_path>payment/pbxep_kwixo_standard/status/paid</config_path>
2082
- <frontend_type>select</frontend_type>
2083
- <source_model>pbxep/admin_order_status_processing</source_model>
2084
- <validate>required-entry</validate>
2085
- <sort_order>110</sort_order>
2086
- <show_in_default>1</show_in_default>
2087
- <show_in_website>1</show_in_website>
2088
- <show_in_store>0</show_in_store>
2089
- <depends>
2090
- <active>1</active>
2091
- </depends>
2092
- </status_paid>
2093
- <status_auto_capture translate="label comment">
2094
- <label>Automatic capture status</label>
2095
- <config_path>payment/pbxep_kwixo_standard/status/auto_capture</config_path>
2096
- <frontend_type>select</frontend_type>
2097
- <source_model>pbxep/admin_order_status_autocapture</source_model>
2098
- <sort_order>112</sort_order>
2099
- <show_in_default>1</show_in_default>
2100
- <show_in_website>1</show_in_website>
2101
- <show_in_store>0</show_in_store>
2102
- <depends>
2103
- <active>1</active>
2104
- <action>manual</action>
2105
- </depends>
2106
- </status_auto_capture>
2107
- <conditions translate="label comment">
2108
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2109
- <label>Conditions</label>
2110
- <sort_order>200</sort_order>
2111
- <show_in_default>1</show_in_default>
2112
- <show_in_website>1</show_in_website>
2113
- <show_in_store>1</show_in_store>
2114
- <depends>
2115
- <active>1</active>
2116
- </depends>
2117
- </conditions>
2118
- <allowspecific translate="label comment">
2119
- <label>Payment from Applicable Countries</label>
2120
- <config_path>payment/pbxep_kwixo_standard/allowspecific</config_path>
2121
- <frontend_type>allowspecific</frontend_type>
2122
- <sort_order>210</sort_order>
2123
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2124
- <show_in_default>1</show_in_default>
2125
- <show_in_website>1</show_in_website>
2126
- <show_in_store>1</show_in_store>
2127
- <depends>
2128
- <active>1</active>
2129
- </depends>
2130
- </allowspecific>
2131
- <specificcountry translate="label comment">
2132
- <label>Payment from Specific Countries</label>
2133
- <config_path>payment/pbxep_kwixo_standard/specificcountry</config_path>
2134
- <frontend_type>multiselect</frontend_type>
2135
- <sort_order>220</sort_order>
2136
- <source_model>adminhtml/system_config_source_country</source_model>
2137
- <show_in_default>1</show_in_default>
2138
- <show_in_website>1</show_in_website>
2139
- <show_in_store>1</show_in_store>
2140
- <depends>
2141
- <allowspecific>1</allowspecific>
2142
- <active>1</active>
2143
- </depends>
2144
- </specificcountry>
2145
- <min_order_total translate="label comment">
2146
- <label>Minimum Order Total</label>
2147
- <config_path>payment/pbxep_kwixo_standard/min_order_total</config_path>
2148
- <frontend_type>text</frontend_type>
2149
- <sort_order>230</sort_order>
2150
- <show_in_default>1</show_in_default>
2151
- <show_in_website>1</show_in_website>
2152
- <show_in_store>1</show_in_store>
2153
- <depends>
2154
- <active>1</active>
2155
- </depends>
2156
- </min_order_total>
2157
- <max_order_total translate="label comment">
2158
- <label>Maximum Order Total</label>
2159
- <config_path>payment/pbxep_kwixo_standard/max_order_total</config_path>
2160
- <frontend_type>text</frontend_type>
2161
- <sort_order>240</sort_order>
2162
- <show_in_default>1</show_in_default>
2163
- <show_in_website>1</show_in_website>
2164
- <show_in_store>1</show_in_store>
2165
- <depends>
2166
- <active>1</active>
2167
- </depends>
2168
- </max_order_total>
2169
- </fields>
2170
- </kwixo_standard>
2171
- <kwixo_credit translate="label comment">
2172
- <label>Paiement par Kwixo Credit</label>
2173
- <expanded>1</expanded>
2174
- <frontend_type>text</frontend_type>
2175
- <sort_order>30</sort_order>
2176
- <show_in_default>1</show_in_default>
2177
- <show_in_website>1</show_in_website>
2178
- <show_in_store>1</show_in_store>
2179
- <fields>
2180
- <active translate="label comment">
2181
- <label>Enable</label>
2182
- <frontend_type>select</frontend_type>
2183
- <source_model>adminhtml/system_config_source_yesno</source_model>
2184
- <config_path>payment/pbxep_kwixo_credit/active</config_path>
2185
- <sort_order>10</sort_order>
2186
- <show_in_default>1</show_in_default>
2187
- <show_in_website>1</show_in_website>
2188
- <show_in_store>1</show_in_store>
2189
- </active>
2190
- <title translate="label comment">
2191
- <label>Title</label>
2192
- <config_path>payment/pbxep_kwixo_credit/title</config_path>
2193
- <frontend_type>text</frontend_type>
2194
- <sort_order>20</sort_order>
2195
- <show_in_default>1</show_in_default>
2196
- <show_in_website>1</show_in_website>
2197
- <show_in_store>1</show_in_store>
2198
- <depends>
2199
- <active>1</active>
2200
- </depends>
2201
- </title>
2202
- <sort_order translate="label comment">
2203
- <label>Sort Order</label>
2204
- <config_path>payment/pbxep_kwixo_credit/sort_order</config_path>
2205
- <frontend_type>text</frontend_type>
2206
- <sort_order>30</sort_order>
2207
- <show_in_default>1</show_in_default>
2208
- <show_in_website>1</show_in_website>
2209
- <show_in_store>1</show_in_store>
2210
- <frontend_class>validate-number</frontend_class>
2211
- <depends>
2212
- <active>1</active>
2213
- </depends>
2214
- </sort_order>
2215
- <status translate="label comment">
2216
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2217
- <label>Payment status</label>
2218
- <sort_order>100</sort_order>
2219
- <show_in_default>1</show_in_default>
2220
- <show_in_website>1</show_in_website>
2221
- <show_in_store>1</show_in_store>
2222
- <depends>
2223
- <active>1</active>
2224
- </depends>
2225
- </status>
2226
- <status_authorized translate="label comment">
2227
- <label>Once authorized</label>
2228
- <config_path>payment/pbxep_kwixo_credit/status/authorized</config_path>
2229
- <frontend_type>select</frontend_type>
2230
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2231
- <validate>required-entry</validate>
2232
- <sort_order>110</sort_order>
2233
- <show_in_default>1</show_in_default>
2234
- <show_in_website>1</show_in_website>
2235
- <show_in_store>0</show_in_store>
2236
- <depends>
2237
- <active>1</active>
2238
- <action>manual</action>
2239
- </depends>
2240
- </status_authorized>
2241
- <status_paid translate="label comment">
2242
- <label>Once paid</label>
2243
- <config_path>payment/pbxep_kwixo_credit/status/paid</config_path>
2244
- <frontend_type>select</frontend_type>
2245
- <source_model>pbxep/admin_order_status_processing</source_model>
2246
- <validate>required-entry</validate>
2247
- <sort_order>110</sort_order>
2248
- <show_in_default>1</show_in_default>
2249
- <show_in_website>1</show_in_website>
2250
- <show_in_store>0</show_in_store>
2251
- <depends>
2252
- <active>1</active>
2253
- </depends>
2254
- </status_paid>
2255
- <status_auto_capture translate="label comment">
2256
- <label>Automatic capture status</label>
2257
- <config_path>payment/pbxep_kwixo_credit/status/auto_capture</config_path>
2258
- <frontend_type>select</frontend_type>
2259
- <source_model>pbxep/admin_order_status_autocapture</source_model>
2260
- <sort_order>112</sort_order>
2261
- <show_in_default>1</show_in_default>
2262
- <show_in_website>1</show_in_website>
2263
- <show_in_store>0</show_in_store>
2264
- <depends>
2265
- <active>1</active>
2266
- <action>manual</action>
2267
- </depends>
2268
- </status_auto_capture>
2269
- <conditions translate="label comment">
2270
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2271
- <label>Conditions</label>
2272
- <sort_order>200</sort_order>
2273
- <show_in_default>1</show_in_default>
2274
- <show_in_website>1</show_in_website>
2275
- <show_in_store>1</show_in_store>
2276
- <depends>
2277
- <active>1</active>
2278
- </depends>
2279
- </conditions>
2280
- <allowspecific translate="label comment">
2281
- <label>Payment from Applicable Countries</label>
2282
- <config_path>payment/pbxep_kwixo_credit/allowspecific</config_path>
2283
- <frontend_type>allowspecific</frontend_type>
2284
- <sort_order>210</sort_order>
2285
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2286
- <show_in_default>1</show_in_default>
2287
- <show_in_website>1</show_in_website>
2288
- <show_in_store>1</show_in_store>
2289
- <depends>
2290
- <active>1</active>
2291
- </depends>
2292
- </allowspecific>
2293
- <specificcountry translate="label comment">
2294
- <label>Payment from Specific Countries</label>
2295
- <config_path>payment/pbxep_kwixo_credit/specificcountry</config_path>
2296
- <frontend_type>multiselect</frontend_type>
2297
- <sort_order>220</sort_order>
2298
- <source_model>adminhtml/system_config_source_country</source_model>
2299
- <show_in_default>1</show_in_default>
2300
- <show_in_website>1</show_in_website>
2301
- <show_in_store>1</show_in_store>
2302
- <depends>
2303
- <allowspecific>1</allowspecific>
2304
- <active>1</active>
2305
- </depends>
2306
- </specificcountry>
2307
- <min_order_total translate="label comment">
2308
- <label>Minimum Order Total</label>
2309
- <config_path>payment/pbxep_kwixo_credit/min_order_total</config_path>
2310
- <frontend_type>text</frontend_type>
2311
- <sort_order>230</sort_order>
2312
- <show_in_default>1</show_in_default>
2313
- <show_in_website>1</show_in_website>
2314
- <show_in_store>1</show_in_store>
2315
- <depends>
2316
- <active>1</active>
2317
- </depends>
2318
- </min_order_total>
2319
- <max_order_total translate="label comment">
2320
- <label>Maximum Order Total</label>
2321
- <config_path>payment/pbxep_kwixo_credit/max_order_total</config_path>
2322
- <frontend_type>text</frontend_type>
2323
- <sort_order>240</sort_order>
2324
- <show_in_default>1</show_in_default>
2325
- <show_in_website>1</show_in_website>
2326
- <show_in_store>1</show_in_store>
2327
- <depends>
2328
- <active>1</active>
2329
- </depends>
2330
- </max_order_total>
2331
- </fields>
2332
- </kwixo_credit>
2333
- <kwixo_onexrnp translate="label comment">
2334
- <label>Paiement par Kwixo 1xrnp</label>
2335
- <expanded>1</expanded>
2336
- <frontend_type>text</frontend_type>
2337
- <sort_order>40</sort_order>
2338
- <show_in_default>1</show_in_default>
2339
- <show_in_website>1</show_in_website>
2340
- <show_in_store>1</show_in_store>
2341
- <fields>
2342
- <active translate="label comment">
2343
- <label>Enable</label>
2344
- <frontend_type>select</frontend_type>
2345
- <source_model>adminhtml/system_config_source_yesno</source_model>
2346
- <config_path>payment/pbxep_kwixo_onexrnp/active</config_path>
2347
- <sort_order>10</sort_order>
2348
- <show_in_default>1</show_in_default>
2349
- <show_in_website>1</show_in_website>
2350
- <show_in_store>1</show_in_store>
2351
- </active>
2352
- <title translate="label comment">
2353
- <label>Title</label>
2354
- <config_path>payment/pbxep_kwixo_onexrnp/title</config_path>
2355
- <frontend_type>text</frontend_type>
2356
- <sort_order>20</sort_order>
2357
- <show_in_default>1</show_in_default>
2358
- <show_in_website>1</show_in_website>
2359
- <show_in_store>1</show_in_store>
2360
- <depends>
2361
- <active>1</active>
2362
- </depends>
2363
- </title>
2364
- <sort_order translate="label comment">
2365
- <label>Sort Order</label>
2366
- <config_path>payment/pbxep_kwixo_onexrnp/sort_order</config_path>
2367
- <frontend_type>text</frontend_type>
2368
- <sort_order>30</sort_order>
2369
- <show_in_default>1</show_in_default>
2370
- <show_in_website>1</show_in_website>
2371
- <show_in_store>1</show_in_store>
2372
- <frontend_class>validate-number</frontend_class>
2373
- <depends>
2374
- <active>1</active>
2375
- </depends>
2376
- </sort_order>
2377
- <status translate="label comment">
2378
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2379
- <label>Payment status</label>
2380
- <sort_order>100</sort_order>
2381
- <show_in_default>1</show_in_default>
2382
- <show_in_website>1</show_in_website>
2383
- <show_in_store>1</show_in_store>
2384
- <depends>
2385
- <active>1</active>
2386
- </depends>
2387
- </status>
2388
- <status_authorized translate="label comment">
2389
- <label>Once authorized</label>
2390
- <config_path>payment/pbxep_kwixo_onexrnp/status/authorized</config_path>
2391
- <frontend_type>select</frontend_type>
2392
- <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2393
- <validate>required-entry</validate>
2394
- <sort_order>110</sort_order>
2395
- <show_in_default>1</show_in_default>
2396
- <show_in_website>1</show_in_website>
2397
- <show_in_store>0</show_in_store>
2398
- <depends>
2399
- <active>1</active>
2400
- <action>manual</action>
2401
- </depends>
2402
- </status_authorized>
2403
- <status_paid translate="label comment">
2404
- <label>Once paid</label>
2405
- <config_path>payment/pbxep_kwixo_onexrnp/status/paid</config_path>
2406
- <frontend_type>select</frontend_type>
2407
- <source_model>pbxep/admin_order_status_processing</source_model>
2408
- <validate>required-entry</validate>
2409
- <sort_order>110</sort_order>
2410
- <show_in_default>1</show_in_default>
2411
- <show_in_website>1</show_in_website>
2412
- <show_in_store>0</show_in_store>
2413
- <depends>
2414
- <active>1</active>
2415
- </depends>
2416
- </status_paid>
2417
- <status_auto_capture translate="label comment">
2418
- <label>Automatic capture status</label>
2419
- <config_path>payment/pbxep_kwixo_onexrnp/status/auto_capture</config_path>
2420
- <frontend_type>select</frontend_type>
2421
- <source_model>pbxep/admin_order_status_autocapture</source_model>
2422
- <sort_order>112</sort_order>
2423
- <show_in_default>1</show_in_default>
2424
- <show_in_website>1</show_in_website>
2425
- <show_in_store>0</show_in_store>
2426
- <depends>
2427
- <active>1</active>
2428
- <action>manual</action>
2429
- </depends>
2430
- </status_auto_capture>
2431
- <conditions translate="label comment">
2432
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2433
- <label>Conditions</label>
2434
- <sort_order>200</sort_order>
2435
- <show_in_default>1</show_in_default>
2436
- <show_in_website>1</show_in_website>
2437
- <show_in_store>1</show_in_store>
2438
- <depends>
2439
- <active>1</active>
2440
- </depends>
2441
- </conditions>
2442
- <allowspecific translate="label comment">
2443
- <label>Payment from Applicable Countries</label>
2444
- <config_path>payment/pbxep_kwixo_onexrnp/allowspecific</config_path>
2445
- <frontend_type>allowspecific</frontend_type>
2446
- <sort_order>210</sort_order>
2447
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2448
- <show_in_default>1</show_in_default>
2449
- <show_in_website>1</show_in_website>
2450
- <show_in_store>1</show_in_store>
2451
- <depends>
2452
- <active>1</active>
2453
- </depends>
2454
- </allowspecific>
2455
- <specificcountry translate="label comment">
2456
- <label>Payment from Specific Countries</label>
2457
- <config_path>payment/pbxep_kwixo_onexrnp/specificcountry</config_path>
2458
- <frontend_type>multiselect</frontend_type>
2459
- <sort_order>220</sort_order>
2460
- <source_model>adminhtml/system_config_source_country</source_model>
2461
- <show_in_default>1</show_in_default>
2462
- <show_in_website>1</show_in_website>
2463
- <show_in_store>1</show_in_store>
2464
- <depends>
2465
- <allowspecific>1</allowspecific>
2466
- <active>1</active>
2467
- </depends>
2468
- </specificcountry>
2469
- <min_order_total translate="label comment">
2470
- <label>Minimum Order Total</label>
2471
- <config_path>payment/pbxep_kwixo_onexrnp/min_order_total</config_path>
2472
- <frontend_type>text</frontend_type>
2473
- <sort_order>230</sort_order>
2474
- <show_in_default>1</show_in_default>
2475
- <show_in_website>1</show_in_website>
2476
- <show_in_store>1</show_in_store>
2477
- <depends>
2478
- <active>1</active>
2479
- </depends>
2480
- </min_order_total>
2481
- <max_order_total translate="label comment">
2482
- <label>Maximum Order Total</label>
2483
- <config_path>payment/pbxep_kwixo_onexrnp/max_order_total</config_path>
2484
- <frontend_type>text</frontend_type>
2485
- <sort_order>240</sort_order>
2486
- <show_in_default>1</show_in_default>
2487
- <show_in_website>1</show_in_website>
2488
- <show_in_store>1</show_in_store>
2489
- <depends>
2490
- <active>1</active>
2491
- </depends>
2492
- </max_order_total>
2493
- </fields>
2494
- </kwixo_onexrnp>
2495
- </groups>
2496
- </pbxep_kwixo>
2497
- </sections>
2498
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <pbxep translate="label comment" module="pbxep">
5
+ <label>Paybox</label>
6
+ <sort_order>400</sort_order>
7
+ </pbxep>
8
+ </tabs>
9
+ <sections>
10
+ <pbxep translate="label comment" module="pbxep">
11
+ <label>Presentation</label>
12
+ <tab>pbxep</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>350</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ </pbxep>
19
+ <pbxep_merchant translate="label comment" module="pbxep">
20
+ <label>Account settings</label>
21
+ <tab>pbxep</tab>
22
+ <frontend_type>text</frontend_type>
23
+ <sort_order>351</sort_order>
24
+ <show_in_default>1</show_in_default>
25
+ <show_in_website>1</show_in_website>
26
+ <show_in_store>1</show_in_store>
27
+ <groups>
28
+ <environment translate="label comment">
29
+ <label>Environment</label>
30
+ <expanded>1</expanded>
31
+ <frontend_type>text</frontend_type>
32
+ <comment><![CDATA[In test mode your payments will not be sent to the bank.]]></comment>
33
+ <sort_order>10</sort_order>
34
+ <show_in_default>1</show_in_default>
35
+ <show_in_website>1</show_in_website>
36
+ <show_in_store>1</show_in_store>
37
+ <fields>
38
+ <environment translate="label comment">
39
+ <label>Environment</label>
40
+ <frontend_type>select</frontend_type>
41
+ <source_model>pbxep/admin_environment</source_model>
42
+ <config_path>pbxep/environment</config_path>
43
+ <sort_order>10</sort_order>
44
+ <show_in_default>1</show_in_default>
45
+ <show_in_website>1</show_in_website>
46
+ <show_in_store>1</show_in_store>
47
+ </environment>
48
+ </fields>
49
+ </environment>
50
+ <settings translate="label comment">
51
+ <label>Account settings</label>
52
+ <expanded>1</expanded>
53
+ <frontend_type>text</frontend_type>
54
+ <sort_order>20</sort_order>
55
+ <show_in_default>1</show_in_default>
56
+ <show_in_website>1</show_in_website>
57
+ <show_in_store>1</show_in_store>
58
+ <fields>
59
+ <subscription translate="label comment">
60
+ <label>Subscribed Paybox Solution</label>
61
+ <frontend_type>select</frontend_type>
62
+ <source_model>pbxep/admin_subscription</source_model>
63
+ <config_path>pbxep/merchant/subscription</config_path>
64
+ <sort_order>0</sort_order>
65
+ <show_in_default>1</show_in_default>
66
+ <show_in_website>1</show_in_website>
67
+ <show_in_store>1</show_in_store>
68
+ </subscription>
69
+ <site translate="label comment">
70
+ <label>Site number</label>
71
+ <comment><![CDATA[Site number provided by Paybox.]]></comment>
72
+ <frontend_type>text</frontend_type>
73
+ <config_path>pbxep/merchant/site</config_path>
74
+ <validate>required-entry validate-digits validate-exact-length length-7</validate>
75
+ <sort_order>10</sort_order>
76
+ <show_in_default>1</show_in_default>
77
+ <show_in_website>1</show_in_website>
78
+ <show_in_store>1</show_in_store>
79
+ </site>
80
+ <rank translate="label comment">
81
+ <label>Rank number</label>
82
+ <comment><![CDATA[Rank number provided by Paybox (last 2 digits).]]></comment>
83
+ <frontend_type>text</frontend_type>
84
+ <config_path>pbxep/merchant/rank</config_path>
85
+ <validate>required-entry validate-digits validate-exact-length length-2</validate>
86
+ <sort_order>20</sort_order>
87
+ <show_in_default>1</show_in_default>
88
+ <show_in_website>1</show_in_website>
89
+ <show_in_store>1</show_in_store>
90
+ </rank>
91
+ <identifier translate="label comment">
92
+ <label>Login</label>
93
+ <comment><![CDATA[Internal login provided by Paybox.]]></comment>
94
+ <config_path>pbxep/merchant/identifier</config_path>
95
+ <frontend_type>text</frontend_type>
96
+ <validate>required-entry validate-digits validate-length maximum-length-9</validate>
97
+ <sort_order>30</sort_order>
98
+ <show_in_default>1</show_in_default>
99
+ <show_in_website>1</show_in_website>
100
+ <show_in_store>1</show_in_store>
101
+ </identifier>
102
+ <hmackey translate="label comment">
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>
110
+ <show_in_default>1</show_in_default>
111
+ <show_in_website>1</show_in_website>
112
+ <show_in_store>1</show_in_store>
113
+ </hmackey>
114
+ <password translate="label comment">
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>
122
+ <show_in_website>1</show_in_website>
123
+ <show_in_store>1</show_in_store>
124
+ <depends>
125
+ <subscription>flexible</subscription>
126
+ </depends>
127
+ </password>
128
+ </fields>
129
+ </settings>
130
+ <misc translate="label comment">
131
+ <label>Other options</label>
132
+ <expanded>1</expanded>
133
+ <frontend_type>text</frontend_type>
134
+ <sort_order>30</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ <fields>
139
+ <customer_info translate="label comment">
140
+ <label>Show payment information to customers</label>
141
+ <comment><![CDATA[Paybox module can show payment information to customer. You can disable this feature here.]]></comment>
142
+ <frontend_type>select</frontend_type>
143
+ <source_model>adminhtml/system_config_source_yesno</source_model>
144
+ <config_path>pbxep/info_to_customer</config_path>
145
+ <sort_order>20</sort_order>
146
+ <show_in_default>1</show_in_default>
147
+ <show_in_website>1</show_in_website>
148
+ <show_in_store>1</show_in_store>
149
+ </customer_info>
150
+ </fields>
151
+ </misc>
152
+ <!--technical translate="label comment">
153
+ <label>Technical options</label>
154
+ <expanded>0</expanded>
155
+ <frontend_type>text</frontend_type>
156
+ <sort_order>40</sort_order>
157
+ <show_in_default>1</show_in_default>
158
+ <show_in_website>1</show_in_website>
159
+ <show_in_store>1</show_in_store>
160
+ <fields>
161
+ <debug translate="label comment">
162
+ <label>Debug</label>
163
+ <comment><![CDATA[Enable some debugging information.]]></comment>
164
+ <frontend_type>select</frontend_type>
165
+ <source_model>adminhtml/system_config_source_yesno</source_model>
166
+ <config_path>pbxep/debug</config_path>
167
+ <sort_order>10</sort_order>
168
+ <show_in_default>1</show_in_default>
169
+ <show_in_website>1</show_in_website>
170
+ <show_in_store>1</show_in_store>
171
+ </debug>
172
+ <allowedips translate="label comment">
173
+ <label>Allowed IPs</label>
174
+ <comment><![CDATA[A coma separated list of Paybox IPs.]]></comment>
175
+ <frontend_type>text</frontend_type>
176
+ <config_path>pbxep/allowedips</config_path>
177
+ <sort_order>20</sort_order>
178
+ <show_in_default>1</show_in_default>
179
+ <show_in_website>1</show_in_website>
180
+ <show_in_store>1</show_in_store>
181
+ </allowedips>
182
+ </fields>
183
+ </technical-->
184
+ </groups>
185
+ </pbxep_merchant>
186
+ <pbxep_payments translate="label comment" module="pbxep">
187
+ <label>Payment methods</label>
188
+ <tab>pbxep</tab>
189
+ <frontend_type>text</frontend_type>
190
+ <sort_order>353</sort_order>
191
+ <show_in_default>1</show_in_default>
192
+ <show_in_website>1</show_in_website>
193
+ <show_in_store>1</show_in_store>
194
+ <groups>
195
+ <pbxep_cb translate="label comment">
196
+ <label>Pay by Bank Card</label>
197
+ <expanded>1</expanded>
198
+ <frontend_type>text</frontend_type>
199
+ <sort_order>10</sort_order>
200
+ <show_in_default>1</show_in_default>
201
+ <show_in_website>1</show_in_website>
202
+ <show_in_store>1</show_in_store>
203
+ <fields>
204
+ <active translate="label comment">
205
+ <label>Enable</label>
206
+ <frontend_type>select</frontend_type>
207
+ <source_model>adminhtml/system_config_source_yesno</source_model>
208
+ <config_path>payment/pbxep_cb/active</config_path>
209
+ <sort_order>10</sort_order>
210
+ <show_in_default>1</show_in_default>
211
+ <show_in_website>1</show_in_website>
212
+ <show_in_store>1</show_in_store>
213
+ </active>
214
+ <cctypes translate="label comment">
215
+ <label>Card type</label>
216
+ <comment><![CDATA[If you disable E-Carte Bleu, contact the Paybox support]]></comment>
217
+ <config_path>payment/pbxep_cb/cctypes</config_path>
218
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
219
+ <frontend_type>checkboxes</frontend_type>
220
+ <source_model>pbxep/admin_cards_cb</source_model>
221
+ <sort_order>20</sort_order>
222
+ <show_in_default>1</show_in_default>
223
+ <show_in_website>1</show_in_website>
224
+ <show_in_store>1</show_in_store>
225
+ <depends>
226
+ <active>1</active>
227
+ </depends>
228
+ </cctypes>
229
+ <title translate="label comment">
230
+ <label>Title</label>
231
+ <config_path>payment/pbxep_cb/title</config_path>
232
+ <frontend_type>text</frontend_type>
233
+ <sort_order>30</sort_order>
234
+ <show_in_default>1</show_in_default>
235
+ <show_in_website>1</show_in_website>
236
+ <show_in_store>1</show_in_store>
237
+ <depends>
238
+ <active>1</active>
239
+ </depends>
240
+ </title>
241
+ <sort_order translate="label comment">
242
+ <label>Sort Order</label>
243
+ <config_path>payment/pbxep_cb/sort_order</config_path>
244
+ <frontend_type>text</frontend_type>
245
+ <sort_order>40</sort_order>
246
+ <show_in_default>1</show_in_default>
247
+ <show_in_website>1</show_in_website>
248
+ <show_in_store>1</show_in_store>
249
+ <frontend_class>validate-number</frontend_class>
250
+ <depends>
251
+ <active>1</active>
252
+ </depends>
253
+ </sort_order>
254
+ <action translate="label comment">
255
+ <label>Debit type</label>
256
+ <frontend_model>pbxep/admin_field_select</frontend_model>
257
+ <frontend_type>select</frontend_type>
258
+ <source_model>pbxep/admin_payment_action</source_model>
259
+ <config_path>payment/pbxep_cb/action</config_path>
260
+ <sort_order>50</sort_order>
261
+ <show_in_default>1</show_in_default>
262
+ <show_in_website>1</show_in_website>
263
+ <show_in_store>1</show_in_store>
264
+ <depends>
265
+ <active>1</active>
266
+ </depends>
267
+ </action>
268
+ <delay translate="label comment">
269
+ <label>Delay</label>
270
+ <config_path>payment/pbxep_cb/delay</config_path>
271
+ <frontend_type>select</frontend_type>
272
+ <source_model>pbxep/admin_payment_delays</source_model>
273
+ <sort_order>60</sort_order>
274
+ <show_in_default>1</show_in_default>
275
+ <show_in_website>1</show_in_website>
276
+ <show_in_store>1</show_in_store>
277
+ <depends>
278
+ <action>deferred</action>
279
+ <active>1</active>
280
+ </depends>
281
+ </delay>
282
+ <status translate="label comment">
283
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
284
+ <label>Payment status</label>
285
+ <sort_order>100</sort_order>
286
+ <show_in_default>1</show_in_default>
287
+ <show_in_website>1</show_in_website>
288
+ <show_in_store>1</show_in_store>
289
+ <depends>
290
+ <active>1</active>
291
+ </depends>
292
+ </status>
293
+ <status_authorized translate="label comment">
294
+ <label>Once authorized</label>
295
+ <config_path>payment/pbxep_cb/status/authorized</config_path>
296
+ <frontend_type>select</frontend_type>
297
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
298
+ <sort_order>110</sort_order>
299
+ <show_in_default>1</show_in_default>
300
+ <show_in_website>1</show_in_website>
301
+ <show_in_store>0</show_in_store>
302
+ <depends>
303
+ <active>1</active>
304
+ <action>manual</action>
305
+ </depends>
306
+ </status_authorized>
307
+ <status_paid translate="label comment">
308
+ <label>Once paid</label>
309
+ <config_path>payment/pbxep_cb/status/paid</config_path>
310
+ <frontend_type>select</frontend_type>
311
+ <source_model>pbxep/admin_order_status_processing</source_model>
312
+ <sort_order>110</sort_order>
313
+ <show_in_default>1</show_in_default>
314
+ <show_in_website>1</show_in_website>
315
+ <show_in_store>0</show_in_store>
316
+ <depends>
317
+ <active>1</active>
318
+ </depends>
319
+ </status_paid>
320
+ <status_auto_capture translate="label comment">
321
+ <label>Automatic capture status</label>
322
+ <config_path>payment/pbxep_cb/status/auto_capture</config_path>
323
+ <frontend_type>select</frontend_type>
324
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
325
+ <sort_order>112</sort_order>
326
+ <show_in_default>1</show_in_default>
327
+ <show_in_website>1</show_in_website>
328
+ <show_in_store>0</show_in_store>
329
+ <depends>
330
+ <active>1</active>
331
+ <action>manual</action>
332
+ </depends>
333
+ </status_auto_capture>
334
+ <conditions translate="label comment">
335
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
336
+ <label>Conditions</label>
337
+ <sort_order>200</sort_order>
338
+ <show_in_default>1</show_in_default>
339
+ <show_in_website>1</show_in_website>
340
+ <show_in_store>1</show_in_store>
341
+ <depends>
342
+ <active>1</active>
343
+ </depends>
344
+ </conditions>
345
+ <allowspecific translate="label comment">
346
+ <label>Payment from Applicable Countries</label>
347
+ <config_path>payment/pbxep_cb/allowspecific</config_path>
348
+ <frontend_type>allowspecific</frontend_type>
349
+ <sort_order>210</sort_order>
350
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
351
+ <show_in_default>1</show_in_default>
352
+ <show_in_website>1</show_in_website>
353
+ <show_in_store>1</show_in_store>
354
+ <depends>
355
+ <active>1</active>
356
+ </depends>
357
+ </allowspecific>
358
+ <specificcountry translate="label comment">
359
+ <label>Payment from Specific Countries</label>
360
+ <config_path>payment/pbxep_cb/specificcountry</config_path>
361
+ <frontend_type>multiselect</frontend_type>
362
+ <sort_order>220</sort_order>
363
+ <source_model>adminhtml/system_config_source_country</source_model>
364
+ <show_in_default>1</show_in_default>
365
+ <show_in_website>1</show_in_website>
366
+ <show_in_store>1</show_in_store>
367
+ <depends>
368
+ <allowspecific>1</allowspecific>
369
+ <active>1</active>
370
+ </depends>
371
+ </specificcountry>
372
+ <min_order_total translate="label comment">
373
+ <label>Minimum Order Total</label>
374
+ <config_path>payment/pbxep_cb/min_order_total</config_path>
375
+ <frontend_type>text</frontend_type>
376
+ <sort_order>230</sort_order>
377
+ <show_in_default>1</show_in_default>
378
+ <show_in_website>1</show_in_website>
379
+ <show_in_store>1</show_in_store>
380
+ <depends>
381
+ <active>1</active>
382
+ </depends>
383
+ </min_order_total>
384
+ <max_order_total translate="label comment">
385
+ <label>Maximum Order Total</label>
386
+ <config_path>payment/pbxep_cb/max_order_total</config_path>
387
+ <frontend_type>text</frontend_type>
388
+ <sort_order>240</sort_order>
389
+ <show_in_default>1</show_in_default>
390
+ <show_in_website>1</show_in_website>
391
+ <show_in_store>1</show_in_store>
392
+ <depends>
393
+ <active>1</active>
394
+ </depends>
395
+ </max_order_total>
396
+ <tds translate="label comment">
397
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
398
+ <label>3-D Secure</label>
399
+ <sort_order>300</sort_order>
400
+ <show_in_default>1</show_in_default>
401
+ <show_in_website>1</show_in_website>
402
+ <show_in_store>1</show_in_store>
403
+ <depends>
404
+ <active>1</active>
405
+ </depends>
406
+ </tds>
407
+ <tds_info translate="label comment">
408
+ <label><![CDATA[Make sure that the contract signed with your bank allows 3-D Secure before proceeding with setup.]]></label>
409
+ <frontend_model>pbxep/admin_info</frontend_model>
410
+ <sort_order>305</sort_order>
411
+ <show_in_default>1</show_in_default>
412
+ <show_in_website>1</show_in_website>
413
+ <show_in_store>1</show_in_store>
414
+ <depends>
415
+ <active>1</active>
416
+ </depends>
417
+ </tds_info>
418
+ <tds_active translate="label comment">
419
+ <label>Enable 3-D Secure</label>
420
+ <comment><![CDATA[<span style="color: red;">Warning: your bank may enforce 3-D Secure.<br/>Make sure your setup is coherent with your bank, Paybox and Magento module.</span>]]></comment>
421
+ <frontend_type>select</frontend_type>
422
+ <source_model>pbxep/admin_payment_use3ds</source_model>
423
+ <config_path>payment/pbxep_cb/tds_active</config_path>
424
+ <sort_order>310</sort_order>
425
+ <show_in_default>1</show_in_default>
426
+ <show_in_website>1</show_in_website>
427
+ <show_in_store>1</show_in_store>
428
+ <depends>
429
+ <active>1</active>
430
+ </depends>
431
+ </tds_active>
432
+ <tds_min_order_total translate="label comment">
433
+ <label>Minimum Order Amount</label>
434
+ <config_path>payment/pbxep_cb/tds_min_order_total</config_path>
435
+ <frontend_type>text</frontend_type>
436
+ <sort_order>330</sort_order>
437
+ <show_in_default>1</show_in_default>
438
+ <show_in_website>1</show_in_website>
439
+ <show_in_store>1</show_in_store>
440
+ <depends>
441
+ <tds_active>condition</tds_active>
442
+ <active>1</active>
443
+ </depends>
444
+ </tds_min_order_total>
445
+ </fields>
446
+ </pbxep_cb>
447
+ <pbxep_threetime translate="label comment">
448
+ <label>Pay by Card in N Times</label>
449
+ <expanded>0</expanded>
450
+ <frontend_type>text</frontend_type>
451
+ <sort_order>20</sort_order>
452
+ <show_in_default>1</show_in_default>
453
+ <show_in_website>1</show_in_website>
454
+ <show_in_store>1</show_in_store>
455
+ <fields>
456
+ <info translate="label comment">
457
+ <label><![CDATA[Check your Paybox contract before enabling this option.]]></label>
458
+ <frontend_model>pbxep/admin_info</frontend_model>
459
+ <sort_order>5</sort_order>
460
+ <show_in_default>1</show_in_default>
461
+ <show_in_website>1</show_in_website>
462
+ <show_in_store>1</show_in_store>
463
+ <depends>
464
+ <active>1</active>
465
+ </depends>
466
+ </info>
467
+ <active translate="label comment">
468
+ <label>Enable</label>
469
+ <frontend_type>select</frontend_type>
470
+ <source_model>adminhtml/system_config_source_yesno</source_model>
471
+ <config_path>payment/pbxep_threetime/active</config_path>
472
+ <sort_order>10</sort_order>
473
+ <show_in_default>1</show_in_default>
474
+ <show_in_website>1</show_in_website>
475
+ <show_in_store>1</show_in_store>
476
+ </active>
477
+ <cctypes translate="label comment">
478
+ <label>Card type</label>
479
+ <comment><![CDATA[If you disable E-Carte Bleu, contact the Paybox support]]></comment>
480
+ <config_path>payment/pbxep_threetime/cctypes</config_path>
481
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
482
+ <frontend_type>checkboxes</frontend_type>
483
+ <source_model>pbxep/admin_cards_threetime</source_model>
484
+ <sort_order>20</sort_order>
485
+ <show_in_default>1</show_in_default>
486
+ <show_in_website>1</show_in_website>
487
+ <show_in_store>1</show_in_store>
488
+ <depends>
489
+ <active>1</active>
490
+ </depends>
491
+ </cctypes>
492
+ <periodicity translate="label comment">
493
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
494
+ <label>Periodicity Settings</label>
495
+ <sort_order>80</sort_order>
496
+ <show_in_default>1</show_in_default>
497
+ <show_in_website>1</show_in_website>
498
+ <show_in_store>1</show_in_store>
499
+ <depends>
500
+ <active>1</active>
501
+ </depends>
502
+ </periodicity>
503
+ <nbtimes translate="label comment">
504
+ <label>NbTimes</label>
505
+ <config_path>payment/pbxep_threetime/nbtimes</config_path>
506
+ <frontend_type>select</frontend_type>
507
+ <source_model>pbxep/admin_payment_nbtimes</source_model>
508
+ <sort_order>81</sort_order>
509
+ <show_in_default>1</show_in_default>
510
+ <show_in_website>1</show_in_website>
511
+ <show_in_store>1</show_in_store>
512
+ <depends>
513
+ <active>1</active>
514
+ </depends>
515
+ </nbtimes>
516
+ <nbdays translate="label comment">
517
+ <label>NbDays</label>
518
+ <config_path>payment/pbxep_threetime/nbdays</config_path>
519
+ <sort_order>82</sort_order>
520
+ <comment><![CDATA[Enter a number for days, or 'x month, 'x week'.]]></comment>
521
+ <show_in_default>1</show_in_default>
522
+ <show_in_website>1</show_in_website>
523
+ <show_in_store>1</show_in_store>
524
+ <depends>
525
+ <active>1</active>
526
+ </depends>
527
+ </nbdays>
528
+ <title translate="label comment">
529
+ <label>Title</label>
530
+ <config_path>payment/pbxep_threetime/title</config_path>
531
+ <frontend_type>text</frontend_type>
532
+ <sort_order>30</sort_order>
533
+ <show_in_default>1</show_in_default>
534
+ <show_in_website>1</show_in_website>
535
+ <show_in_store>1</show_in_store>
536
+ <depends>
537
+ <active>1</active>
538
+ </depends>
539
+ </title>
540
+
541
+ <sort_order translate="label comment">
542
+ <label>Sort Order</label>
543
+ <config_path>payment/pbxep_threetime/sort_order</config_path>
544
+ <frontend_type>text</frontend_type>
545
+ <sort_order>40</sort_order>
546
+ <show_in_default>1</show_in_default>
547
+ <show_in_website>1</show_in_website>
548
+ <show_in_store>1</show_in_store>
549
+ <frontend_class>validate-number</frontend_class>
550
+ <depends>
551
+ <active>1</active>
552
+ </depends>
553
+ </sort_order>
554
+ <status translate="label comment">
555
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
556
+ <label>Payment status</label>
557
+ <sort_order>100</sort_order>
558
+ <show_in_default>1</show_in_default>
559
+ <show_in_website>1</show_in_website>
560
+ <show_in_store>1</show_in_store>
561
+ <depends>
562
+ <active>1</active>
563
+ </depends>
564
+ </status>
565
+ <status_intermediary translate="label comment">
566
+ <label>Once authorized</label>
567
+ <config_path>payment/pbxep_threetime/status/intermediary</config_path>
568
+ <frontend_type>select</frontend_type>
569
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
570
+ <sort_order>110</sort_order>
571
+ <show_in_default>1</show_in_default>
572
+ <show_in_website>1</show_in_website>
573
+ <show_in_store>0</show_in_store>
574
+ <depends>
575
+ <active>1</active>
576
+ <action>manual</action>
577
+ </depends>
578
+ </status_intermediary>
579
+ <status_partiallypaid translate="label comment">
580
+ <label>Once partially paid</label>
581
+ <config_path>payment/pbxep_threetime/status/partiallypaid</config_path>
582
+ <frontend_type>select</frontend_type>
583
+ <source_model>pbxep/admin_order_status_processing</source_model>
584
+ <sort_order>110</sort_order>
585
+ <show_in_default>1</show_in_default>
586
+ <show_in_website>1</show_in_website>
587
+ <show_in_store>0</show_in_store>
588
+ <depends>
589
+ <active>1</active>
590
+ </depends>
591
+ </status_partiallypaid>
592
+ <status_paid translate="label comment">
593
+ <label>Once paid</label>
594
+ <config_path>payment/pbxep_threetime/status/paid</config_path>
595
+ <frontend_type>select</frontend_type>
596
+ <source_model>pbxep/admin_order_status_processing</source_model>
597
+ <sort_order>110</sort_order>
598
+ <show_in_default>1</show_in_default>
599
+ <show_in_website>1</show_in_website>
600
+ <show_in_store>0</show_in_store>
601
+ <depends>
602
+ <active>1</active>
603
+ </depends>
604
+ </status_paid>
605
+ <conditions translate="label comment">
606
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
607
+ <label>Conditions</label>
608
+ <sort_order>200</sort_order>
609
+ <show_in_default>1</show_in_default>
610
+ <show_in_website>1</show_in_website>
611
+ <show_in_store>1</show_in_store>
612
+ <depends>
613
+ <active>1</active>
614
+ </depends>
615
+ </conditions>
616
+ <allowspecific translate="label comment">
617
+ <label>Payment from Applicable Countries</label>
618
+ <config_path>payment/pbxep_threetime/allowspecific</config_path>
619
+ <frontend_type>allowspecific</frontend_type>
620
+ <sort_order>210</sort_order>
621
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
622
+ <show_in_default>1</show_in_default>
623
+ <show_in_website>1</show_in_website>
624
+ <show_in_store>1</show_in_store>
625
+ <depends>
626
+ <active>1</active>
627
+ </depends>
628
+ </allowspecific>
629
+ <specificcountry translate="label comment">
630
+ <label>Payment from Specific Countries</label>
631
+ <config_path>payment/pbxep_threetime/specificcountry</config_path>
632
+ <frontend_type>multiselect</frontend_type>
633
+ <sort_order>220</sort_order>
634
+ <source_model>adminhtml/system_config_source_country</source_model>
635
+ <show_in_default>1</show_in_default>
636
+ <show_in_website>1</show_in_website>
637
+ <show_in_store>1</show_in_store>
638
+ <depends>
639
+ <allowspecific>1</allowspecific>
640
+ <active>1</active>
641
+ </depends>
642
+ </specificcountry>
643
+ <min_order_total translate="label comment">
644
+ <label>Minimum Order Total</label>
645
+ <config_path>payment/pbxep_threetime/min_order_total</config_path>
646
+ <frontend_type>text</frontend_type>
647
+ <sort_order>230</sort_order>
648
+ <show_in_default>1</show_in_default>
649
+ <show_in_website>1</show_in_website>
650
+ <show_in_store>1</show_in_store>
651
+ <depends>
652
+ <active>1</active>
653
+ </depends>
654
+ </min_order_total>
655
+ <max_order_total translate="label comment">
656
+ <label>Maximum Order Total</label>
657
+ <config_path>payment/pbxep_threetime/max_order_total</config_path>
658
+ <frontend_type>text</frontend_type>
659
+ <sort_order>240</sort_order>
660
+ <show_in_default>1</show_in_default>
661
+ <show_in_website>1</show_in_website>
662
+ <show_in_store>1</show_in_store>
663
+ <depends>
664
+ <active>1</active>
665
+ </depends>
666
+ </max_order_total>
667
+ <tds translate="label comment">
668
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
669
+ <label>3-D Secure</label>
670
+ <sort_order>300</sort_order>
671
+ <show_in_default>1</show_in_default>
672
+ <show_in_website>1</show_in_website>
673
+ <show_in_store>1</show_in_store>
674
+ <depends>
675
+ <active>1</active>
676
+ </depends>
677
+ </tds>
678
+ <tds_info translate="label comment">
679
+ <label><![CDATA[Make sure that the contract signed with your bank allows 3-D Secure before proceeding with setup.]]></label>
680
+ <frontend_model>pbxep/admin_info</frontend_model>
681
+ <sort_order>305</sort_order>
682
+ <show_in_default>1</show_in_default>
683
+ <show_in_website>1</show_in_website>
684
+ <show_in_store>1</show_in_store>
685
+ <depends>
686
+ <active>1</active>
687
+ </depends>
688
+ </tds_info>
689
+ <tds_active translate="label comment">
690
+ <label>Enable 3-D Secure</label>
691
+ <comment><![CDATA[<span style="color: red;">Warning: your bank may enforce 3-D Secure.<br/>Make sure your setup is coherent with your bank, Paybox and Magento module.</span>]]></comment>
692
+ <frontend_type>select</frontend_type>
693
+ <source_model>pbxep/admin_payment_use3ds</source_model>
694
+ <config_path>payment/pbxep_threetime/tds_active</config_path>
695
+ <sort_order>310</sort_order>
696
+ <show_in_default>1</show_in_default>
697
+ <show_in_website>1</show_in_website>
698
+ <show_in_store>1</show_in_store>
699
+ <depends>
700
+ <active>1</active>
701
+ </depends>
702
+ </tds_active>
703
+ <tds_min_order_total translate="label comment">
704
+ <label>Minimum Order Amount</label>
705
+ <config_path>payment/pbxep_threetime/tds_min_order_total</config_path>
706
+ <frontend_type>text</frontend_type>
707
+ <sort_order>330</sort_order>
708
+ <show_in_default>1</show_in_default>
709
+ <show_in_website>1</show_in_website>
710
+ <show_in_store>1</show_in_store>
711
+ <depends>
712
+ <tds_active>condition</tds_active>
713
+ <active>1</active>
714
+ </depends>
715
+ </tds_min_order_total>
716
+ </fields>
717
+ </pbxep_threetime>
718
+ <pbxep_threetimeprivate translate="label comment">
719
+ <label>Pay by Private Card in N Times</label>
720
+ <expanded>0</expanded>
721
+ <frontend_type>text</frontend_type>
722
+ <sort_order>20</sort_order>
723
+ <show_in_default>1</show_in_default>
724
+ <show_in_website>1</show_in_website>
725
+ <show_in_store>1</show_in_store>
726
+ <fields>
727
+ <info translate="label comment">
728
+ <label><![CDATA[Check your Paybox contract before enabling this option.]]></label>
729
+ <frontend_model>pbxep/admin_info</frontend_model>
730
+ <sort_order>5</sort_order>
731
+ <show_in_default>1</show_in_default>
732
+ <show_in_website>1</show_in_website>
733
+ <show_in_store>1</show_in_store>
734
+ <depends>
735
+ <active>1</active>
736
+ </depends>
737
+ </info>
738
+ <active translate="label comment">
739
+ <label>Enable</label>
740
+ <frontend_type>select</frontend_type>
741
+ <source_model>adminhtml/system_config_source_yesno</source_model>
742
+ <config_path>payment/pbxep_threetimeprivate/active</config_path>
743
+ <sort_order>10</sort_order>
744
+ <show_in_default>1</show_in_default>
745
+ <show_in_website>1</show_in_website>
746
+ <show_in_store>1</show_in_store>
747
+ </active>
748
+ <cctypes translate="label comment">
749
+ <label>Card type</label>
750
+ <config_path>payment/pbxep_threetimeprivate/cctypes</config_path>
751
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
752
+ <frontend_type>checkboxes</frontend_type>
753
+ <source_model>pbxep/admin_cards_threetimeprivate</source_model>
754
+ <sort_order>20</sort_order>
755
+ <show_in_default>1</show_in_default>
756
+ <show_in_website>1</show_in_website>
757
+ <show_in_store>1</show_in_store>
758
+ <depends>
759
+ <active>1</active>
760
+ </depends>
761
+ </cctypes>
762
+ <periodicity translate="label comment">
763
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
764
+ <label>Periodicity Settings</label>
765
+ <sort_order>80</sort_order>
766
+ <show_in_default>1</show_in_default>
767
+ <show_in_website>1</show_in_website>
768
+ <show_in_store>1</show_in_store>
769
+ <depends>
770
+ <active>1</active>
771
+ </depends>
772
+ </periodicity>
773
+ <nbtimes translate="label comment">
774
+ <label>NbTimes</label>
775
+ <config_path>payment/pbxep_threetimeprivate/nbtimes</config_path>
776
+ <frontend_type>select</frontend_type>
777
+ <source_model>pbxep/admin_payment_nbtimes</source_model>
778
+ <sort_order>81</sort_order>
779
+ <show_in_default>1</show_in_default>
780
+ <show_in_website>1</show_in_website>
781
+ <show_in_store>1</show_in_store>
782
+ <depends>
783
+ <active>1</active>
784
+ </depends>
785
+ </nbtimes>
786
+ <nbdays translate="label comment">
787
+ <label>NbDays</label>
788
+ <config_path>payment/pbxep_threetimeprivate/nbdays</config_path>
789
+ <sort_order>82</sort_order>
790
+ <comment><![CDATA[Enter a number for days, or 'x month, 'x week'.]]></comment>
791
+ <show_in_default>1</show_in_default>
792
+ <show_in_website>1</show_in_website>
793
+ <show_in_store>1</show_in_store>
794
+ <depends>
795
+ <active>1</active>
796
+ </depends>
797
+ </nbdays>
798
+ <title translate="label comment">
799
+ <label>Title</label>
800
+ <config_path>payment/pbxep_threetimeprivate/title</config_path>
801
+ <frontend_type>text</frontend_type>
802
+ <sort_order>30</sort_order>
803
+ <show_in_default>1</show_in_default>
804
+ <show_in_website>1</show_in_website>
805
+ <show_in_store>1</show_in_store>
806
+ <depends>
807
+ <active>1</active>
808
+ </depends>
809
+ </title>
810
+ <sort_order translate="label comment">
811
+ <label>Sort Order</label>
812
+ <config_path>payment/pbxep_threetimeprivate/sort_order</config_path>
813
+ <frontend_type>text</frontend_type>
814
+ <sort_order>40</sort_order>
815
+ <show_in_default>1</show_in_default>
816
+ <show_in_website>1</show_in_website>
817
+ <show_in_store>1</show_in_store>
818
+ <frontend_class>validate-number</frontend_class>
819
+ <depends>
820
+ <active>1</active>
821
+ </depends>
822
+ </sort_order>
823
+ <status translate="label comment">
824
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
825
+ <label>Payment status</label>
826
+ <sort_order>100</sort_order>
827
+ <show_in_default>1</show_in_default>
828
+ <show_in_website>1</show_in_website>
829
+ <show_in_store>1</show_in_store>
830
+ <depends>
831
+ <active>1</active>
832
+ </depends>
833
+ </status>
834
+ <status_intermediary translate="label comment">
835
+ <label>Once authorized</label>
836
+ <config_path>payment/pbxep_threetimeprivate/status/intermediary</config_path>
837
+ <frontend_type>select</frontend_type>
838
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
839
+ <sort_order>110</sort_order>
840
+ <show_in_default>1</show_in_default>
841
+ <show_in_website>1</show_in_website>
842
+ <show_in_store>0</show_in_store>
843
+ <depends>
844
+ <active>1</active>
845
+ <action>manual</action>
846
+ </depends>
847
+ </status_intermediary>
848
+ <status_partiallypaid translate="label comment">
849
+ <label>Once partially paid</label>
850
+ <config_path>payment/pbxep_threetimeprivate/status/partiallypaid</config_path>
851
+ <frontend_type>select</frontend_type>
852
+ <source_model>pbxep/admin_order_status_processing</source_model>
853
+ <sort_order>110</sort_order>
854
+ <show_in_default>1</show_in_default>
855
+ <show_in_website>1</show_in_website>
856
+ <show_in_store>0</show_in_store>
857
+ <depends>
858
+ <active>1</active>
859
+ </depends>
860
+ </status_partiallypaid>
861
+ <status_paid translate="label comment">
862
+ <label>Once paid</label>
863
+ <config_path>payment/pbxep_threetimeprivate/status/paid</config_path>
864
+ <frontend_type>select</frontend_type>
865
+ <source_model>pbxep/admin_order_status_processing</source_model>
866
+ <sort_order>110</sort_order>
867
+ <show_in_default>1</show_in_default>
868
+ <show_in_website>1</show_in_website>
869
+ <show_in_store>0</show_in_store>
870
+ <depends>
871
+ <active>1</active>
872
+ </depends>
873
+ </status_paid>
874
+ <conditions translate="label comment">
875
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
876
+ <label>Conditions</label>
877
+ <sort_order>200</sort_order>
878
+ <show_in_default>1</show_in_default>
879
+ <show_in_website>1</show_in_website>
880
+ <show_in_store>1</show_in_store>
881
+ <depends>
882
+ <active>1</active>
883
+ </depends>
884
+ </conditions>
885
+ <allowspecific translate="label comment">
886
+ <label>Payment from Applicable Countries</label>
887
+ <config_path>payment/pbxep_threetimeprivate/allowspecific</config_path>
888
+ <frontend_type>allowspecific</frontend_type>
889
+ <sort_order>210</sort_order>
890
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
891
+ <show_in_default>1</show_in_default>
892
+ <show_in_website>1</show_in_website>
893
+ <show_in_store>1</show_in_store>
894
+ <depends>
895
+ <active>1</active>
896
+ </depends>
897
+ </allowspecific>
898
+ <specificcountry translate="label comment">
899
+ <label>Payment from Specific Countries</label>
900
+ <config_path>payment/pbxep_threetimeprivate/specificcountry</config_path>
901
+ <frontend_type>multiselect</frontend_type>
902
+ <sort_order>220</sort_order>
903
+ <source_model>adminhtml/system_config_source_country</source_model>
904
+ <show_in_default>1</show_in_default>
905
+ <show_in_website>1</show_in_website>
906
+ <show_in_store>1</show_in_store>
907
+ <depends>
908
+ <allowspecific>1</allowspecific>
909
+ <active>1</active>
910
+ </depends>
911
+ </specificcountry>
912
+ <min_order_total translate="label comment">
913
+ <label>Minimum Order Total</label>
914
+ <config_path>payment/pbxep_threetimeprivate/min_order_total</config_path>
915
+ <frontend_type>text</frontend_type>
916
+ <sort_order>230</sort_order>
917
+ <show_in_default>1</show_in_default>
918
+ <show_in_website>1</show_in_website>
919
+ <show_in_store>1</show_in_store>
920
+ <depends>
921
+ <active>1</active>
922
+ </depends>
923
+ </min_order_total>
924
+ <max_order_total translate="label comment">
925
+ <label>Maximum Order Total</label>
926
+ <config_path>payment/pbxep_threetimeprivate/max_order_total</config_path>
927
+ <frontend_type>text</frontend_type>
928
+ <sort_order>240</sort_order>
929
+ <show_in_default>1</show_in_default>
930
+ <show_in_website>1</show_in_website>
931
+ <show_in_store>1</show_in_store>
932
+ <depends>
933
+ <active>1</active>
934
+ </depends>
935
+ </max_order_total>
936
+ <!-- <tds translate="label comment">
937
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
938
+ <label>3-D Secure</label>
939
+ <sort_order>300</sort_order>
940
+ <show_in_default>1</show_in_default>
941
+ <show_in_website>1</show_in_website>
942
+ <show_in_store>1</show_in_store>
943
+ <depends>
944
+ <active>1</active>
945
+ </depends>
946
+ </tds>
947
+ <tds_info translate="label comment">
948
+ <label><![CDATA[Make sure that the contract signed with your bank allows 3-D Secure before proceeding with setup.]]></label>
949
+ <frontend_model>pbxep/admin_info</frontend_model>
950
+ <sort_order>305</sort_order>
951
+ <show_in_default>1</show_in_default>
952
+ <show_in_website>1</show_in_website>
953
+ <show_in_store>1</show_in_store>
954
+ <depends>
955
+ <active>1</active>
956
+ </depends>
957
+ </tds_info>
958
+ <tds_active translate="label comment">
959
+ <label>Enable 3-D Secure</label>
960
+ <comment><![CDATA[<span style="color: red;">Warning: your bank may enforce 3-D Secure.<br/>Make sure your setup is coherent with your bank, Paybox and Magento module.</span>]]></comment>
961
+ <frontend_type>select</frontend_type>
962
+ <source_model>pbxep/admin_payment_use3ds</source_model>
963
+ <config_path>payment/pbxep_threetimeprivate/tds_active</config_path>
964
+ <sort_order>310</sort_order>
965
+ <show_in_default>1</show_in_default>
966
+ <show_in_website>1</show_in_website>
967
+ <show_in_store>1</show_in_store>
968
+ <depends>
969
+ <active>1</active>
970
+ </depends>
971
+ </tds_active>
972
+ <tds_min_order_total translate="label comment">
973
+ <label>Minimum Order Amount</label>
974
+ <config_path>payment/pbxep_threetimeprivate/tds_min_order_total</config_path>
975
+ <frontend_type>text</frontend_type>
976
+ <sort_order>330</sort_order>
977
+ <show_in_default>1</show_in_default>
978
+ <show_in_website>1</show_in_website>
979
+ <show_in_store>1</show_in_store>
980
+ <depends>
981
+ <tds_active>condition</tds_active>
982
+ <active>1</active>
983
+ </depends>
984
+ </tds_min_order_total>-->
985
+ </fields>
986
+ </pbxep_threetimeprivate>
987
+ <pbxep_private translate="label comment">
988
+ <label>Pay by Private Card</label>
989
+ <expanded>0</expanded>
990
+ <frontend_type>text</frontend_type>
991
+ <sort_order>30</sort_order>
992
+ <show_in_default>1</show_in_default>
993
+ <show_in_website>1</show_in_website>
994
+ <show_in_store>1</show_in_store>
995
+ <fields>
996
+ <active translate="label comment">
997
+ <label>Enable</label>
998
+ <frontend_type>select</frontend_type>
999
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1000
+ <config_path>payment/pbxep_private/active</config_path>
1001
+ <sort_order>10</sort_order>
1002
+ <show_in_default>1</show_in_default>
1003
+ <show_in_website>1</show_in_website>
1004
+ <show_in_store>1</show_in_store>
1005
+ </active>
1006
+ <cctypes translate="label comment">
1007
+ <label>Card type</label>
1008
+ <config_path>payment/pbxep_private/cctypes</config_path>
1009
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1010
+ <frontend_type>checkboxes</frontend_type>
1011
+ <source_model>pbxep/admin_cards_private</source_model>
1012
+ <sort_order>20</sort_order>
1013
+ <show_in_default>1</show_in_default>
1014
+ <show_in_website>1</show_in_website>
1015
+ <show_in_store>1</show_in_store>
1016
+ <depends>
1017
+ <active>1</active>
1018
+ </depends>
1019
+ </cctypes>
1020
+ <title translate="label comment">
1021
+ <label>Title</label>
1022
+ <config_path>payment/pbxep_private/title</config_path>
1023
+ <frontend_type>text</frontend_type>
1024
+ <sort_order>30</sort_order>
1025
+ <show_in_default>1</show_in_default>
1026
+ <show_in_website>1</show_in_website>
1027
+ <show_in_store>1</show_in_store>
1028
+ <depends>
1029
+ <active>1</active>
1030
+ </depends>
1031
+ </title>
1032
+ <sort_order translate="label comment">
1033
+ <label>Sort Order</label>
1034
+ <config_path>payment/pbxep_private/sort_order</config_path>
1035
+ <frontend_type>text</frontend_type>
1036
+ <sort_order>40</sort_order>
1037
+ <show_in_default>1</show_in_default>
1038
+ <show_in_website>1</show_in_website>
1039
+ <show_in_store>1</show_in_store>
1040
+ <frontend_class>validate-number</frontend_class>
1041
+ <depends>
1042
+ <active>1</active>
1043
+ </depends>
1044
+ </sort_order>
1045
+ <action translate="label comment">
1046
+ <label>Debit type</label>
1047
+ <frontend_model>pbxep/admin_field_select</frontend_model>
1048
+ <frontend_type>select</frontend_type>
1049
+ <source_model>pbxep/admin_payment_action</source_model>
1050
+ <config_path>payment/pbxep_private/action</config_path>
1051
+ <sort_order>50</sort_order>
1052
+ <show_in_default>1</show_in_default>
1053
+ <show_in_website>1</show_in_website>
1054
+ <show_in_store>1</show_in_store>
1055
+ <depends>
1056
+ <active>1</active>
1057
+ </depends>
1058
+ </action>
1059
+ <delay translate="label comment">
1060
+ <label>Delay</label>
1061
+ <config_path>payment/pbxep_private/delay</config_path>
1062
+ <frontend_type>select</frontend_type>
1063
+ <source_model>pbxep/admin_payment_delays</source_model>
1064
+ <sort_order>60</sort_order>
1065
+ <show_in_default>1</show_in_default>
1066
+ <show_in_website>1</show_in_website>
1067
+ <show_in_store>1</show_in_store>
1068
+ <depends>
1069
+ <action>deferred</action>
1070
+ <active>1</active>
1071
+ </depends>
1072
+ </delay>
1073
+ <status translate="label comment">
1074
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1075
+ <label>Payment status</label>
1076
+ <sort_order>100</sort_order>
1077
+ <show_in_default>1</show_in_default>
1078
+ <show_in_website>1</show_in_website>
1079
+ <show_in_store>1</show_in_store>
1080
+ <depends>
1081
+ <active>1</active>
1082
+ </depends>
1083
+ </status>
1084
+ <status_authorized translate="label comment">
1085
+ <label>Once authorized</label>
1086
+ <config_path>payment/pbxep_private/status/authorized</config_path>
1087
+ <frontend_type>select</frontend_type>
1088
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1089
+ <sort_order>110</sort_order>
1090
+ <show_in_default>1</show_in_default>
1091
+ <show_in_website>1</show_in_website>
1092
+ <show_in_store>0</show_in_store>
1093
+ <depends>
1094
+ <active>1</active>
1095
+ <action>manual</action>
1096
+ </depends>
1097
+ </status_authorized>
1098
+ <status_paid translate="label comment">
1099
+ <label>Once paid</label>
1100
+ <config_path>payment/pbxep_private/status/paid</config_path>
1101
+ <frontend_type>select</frontend_type>
1102
+ <source_model>pbxep/admin_order_status_processing</source_model>
1103
+ <sort_order>110</sort_order>
1104
+ <show_in_default>1</show_in_default>
1105
+ <show_in_website>1</show_in_website>
1106
+ <show_in_store>0</show_in_store>
1107
+ <depends>
1108
+ <active>1</active>
1109
+ </depends>
1110
+ </status_paid>
1111
+ <status_auto_capture translate="label comment">
1112
+ <label>Automatic capture status</label>
1113
+ <config_path>payment/pbxep_private/status/auto_capture</config_path>
1114
+ <frontend_type>select</frontend_type>
1115
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
1116
+ <sort_order>112</sort_order>
1117
+ <show_in_default>1</show_in_default>
1118
+ <show_in_website>1</show_in_website>
1119
+ <show_in_store>0</show_in_store>
1120
+ <depends>
1121
+ <active>1</active>
1122
+ <action>manual</action>
1123
+ </depends>
1124
+ </status_auto_capture>
1125
+ <conditions translate="label comment">
1126
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1127
+ <label>Conditions</label>
1128
+ <sort_order>200</sort_order>
1129
+ <show_in_default>1</show_in_default>
1130
+ <show_in_website>1</show_in_website>
1131
+ <show_in_store>1</show_in_store>
1132
+ <depends>
1133
+ <active>1</active>
1134
+ </depends>
1135
+ </conditions>
1136
+ <allowspecific translate="label comment">
1137
+ <label>Payment from Applicable Countries</label>
1138
+ <config_path>payment/pbxep_private/allowspecific</config_path>
1139
+ <frontend_type>allowspecific</frontend_type>
1140
+ <sort_order>210</sort_order>
1141
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1142
+ <show_in_default>1</show_in_default>
1143
+ <show_in_website>1</show_in_website>
1144
+ <show_in_store>1</show_in_store>
1145
+ <depends>
1146
+ <active>1</active>
1147
+ </depends>
1148
+ </allowspecific>
1149
+ <specificcountry translate="label comment">
1150
+ <label>Payment from Specific Countries</label>
1151
+ <config_path>payment/pbxep_private/specificcountry</config_path>
1152
+ <frontend_type>multiselect</frontend_type>
1153
+ <sort_order>220</sort_order>
1154
+ <source_model>adminhtml/system_config_source_country</source_model>
1155
+ <show_in_default>1</show_in_default>
1156
+ <show_in_website>1</show_in_website>
1157
+ <show_in_store>1</show_in_store>
1158
+ <depends>
1159
+ <allowspecific>1</allowspecific>
1160
+ <active>1</active>
1161
+ </depends>
1162
+ </specificcountry>
1163
+ <min_order_total translate="label comment">
1164
+ <label>Minimum Order Total</label>
1165
+ <config_path>payment/pbxep_private/min_order_total</config_path>
1166
+ <frontend_type>text</frontend_type>
1167
+ <sort_order>230</sort_order>
1168
+ <show_in_default>1</show_in_default>
1169
+ <show_in_website>1</show_in_website>
1170
+ <show_in_store>1</show_in_store>
1171
+ <depends>
1172
+ <active>1</active>
1173
+ </depends>
1174
+ </min_order_total>
1175
+ <max_order_total translate="label comment">
1176
+ <label>Maximum Order Total</label>
1177
+ <config_path>payment/pbxep_private/max_order_total</config_path>
1178
+ <frontend_type>text</frontend_type>
1179
+ <sort_order>240</sort_order>
1180
+ <show_in_default>1</show_in_default>
1181
+ <show_in_website>1</show_in_website>
1182
+ <show_in_store>1</show_in_store>
1183
+ <depends>
1184
+ <active>1</active>
1185
+ </depends>
1186
+ </max_order_total>
1187
+ </fields>
1188
+ </pbxep_private>
1189
+ <pbxep_paypal translate="label comment">
1190
+ <label>Pay by Paypal</label>
1191
+ <expanded>0</expanded>
1192
+ <frontend_type>text</frontend_type>
1193
+ <sort_order>40</sort_order>
1194
+ <show_in_default>1</show_in_default>
1195
+ <show_in_website>1</show_in_website>
1196
+ <show_in_store>1</show_in_store>
1197
+ <fields>
1198
+ <active translate="label comment">
1199
+ <label>Enable</label>
1200
+ <frontend_type>select</frontend_type>
1201
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1202
+ <config_path>payment/pbxep_paypal/active</config_path>
1203
+ <sort_order>10</sort_order>
1204
+ <show_in_default>1</show_in_default>
1205
+ <show_in_website>1</show_in_website>
1206
+ <show_in_store>1</show_in_store>
1207
+ </active>
1208
+ <title translate="label comment">
1209
+ <label>Title</label>
1210
+ <config_path>payment/pbxep_paypal/title</config_path>
1211
+ <frontend_type>text</frontend_type>
1212
+ <sort_order>30</sort_order>
1213
+ <show_in_default>1</show_in_default>
1214
+ <show_in_website>1</show_in_website>
1215
+ <show_in_store>1</show_in_store>
1216
+ <depends>
1217
+ <active>1</active>
1218
+ </depends>
1219
+ </title>
1220
+ <sort_order translate="label comment">
1221
+ <label>Sort Order</label>
1222
+ <config_path>payment/pbxep_paypal/sort_order</config_path>
1223
+ <frontend_type>text</frontend_type>
1224
+ <sort_order>40</sort_order>
1225
+ <show_in_default>1</show_in_default>
1226
+ <show_in_website>1</show_in_website>
1227
+ <show_in_store>1</show_in_store>
1228
+ <frontend_class>validate-number</frontend_class>
1229
+ <depends>
1230
+ <active>1</active>
1231
+ </depends>
1232
+ </sort_order>
1233
+ <action translate="label comment">
1234
+ <label>Debit type</label>
1235
+ <frontend_model>pbxep/admin_field_select</frontend_model>
1236
+ <frontend_type>select</frontend_type>
1237
+ <source_model>pbxep/admin_payment_actionpaypal</source_model>
1238
+ <config_path>payment/pbxep_paypal/action</config_path>
1239
+ <sort_order>50</sort_order>
1240
+ <show_in_default>1</show_in_default>
1241
+ <show_in_website>1</show_in_website>
1242
+ <show_in_store>1</show_in_store>
1243
+ <depends>
1244
+ <active>1</active>
1245
+ </depends>
1246
+ </action>
1247
+ <status translate="label comment">
1248
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1249
+ <label>Payment status</label>
1250
+ <sort_order>100</sort_order>
1251
+ <show_in_default>1</show_in_default>
1252
+ <show_in_website>1</show_in_website>
1253
+ <show_in_store>1</show_in_store>
1254
+ <depends>
1255
+ <active>1</active>
1256
+ </depends>
1257
+ </status>
1258
+ <status_authorized translate="label comment">
1259
+ <label>Once authorized</label>
1260
+ <config_path>payment/pbxep_paypal/status/authorized</config_path>
1261
+ <frontend_type>select</frontend_type>
1262
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1263
+ <sort_order>110</sort_order>
1264
+ <show_in_default>1</show_in_default>
1265
+ <show_in_website>1</show_in_website>
1266
+ <show_in_store>0</show_in_store>
1267
+ <depends>
1268
+ <active>1</active>
1269
+ <action>manual</action>
1270
+ </depends>
1271
+ </status_authorized>
1272
+ <status_paid translate="label comment">
1273
+ <label>Once paid</label>
1274
+ <config_path>payment/pbxep_paypal/status/paid</config_path>
1275
+ <frontend_type>select</frontend_type>
1276
+ <source_model>pbxep/admin_order_status_processing</source_model>
1277
+ <sort_order>110</sort_order>
1278
+ <show_in_default>1</show_in_default>
1279
+ <show_in_website>1</show_in_website>
1280
+ <show_in_store>0</show_in_store>
1281
+ <depends>
1282
+ <active>1</active>
1283
+ </depends>
1284
+ </status_paid>
1285
+ <status_auto_capture translate="label comment">
1286
+ <label>Automatic capture status</label>
1287
+ <config_path>payment/pbxep_paypal/status/auto_capture</config_path>
1288
+ <frontend_type>select</frontend_type>
1289
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
1290
+ <sort_order>112</sort_order>
1291
+ <show_in_default>1</show_in_default>
1292
+ <show_in_website>1</show_in_website>
1293
+ <show_in_store>0</show_in_store>
1294
+ <depends>
1295
+ <active>1</active>
1296
+ <action>manual</action>
1297
+ </depends>
1298
+ </status_auto_capture>
1299
+ <conditions translate="label comment">
1300
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1301
+ <label>Conditions</label>
1302
+ <sort_order>200</sort_order>
1303
+ <show_in_default>1</show_in_default>
1304
+ <show_in_website>1</show_in_website>
1305
+ <show_in_store>1</show_in_store>
1306
+ <depends>
1307
+ <active>1</active>
1308
+ </depends>
1309
+ </conditions>
1310
+ <allowspecific translate="label comment">
1311
+ <label>Payment from Applicable Countries</label>
1312
+ <config_path>payment/pbxep_paypal/allowspecific</config_path>
1313
+ <frontend_type>allowspecific</frontend_type>
1314
+ <sort_order>210</sort_order>
1315
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1316
+ <show_in_default>1</show_in_default>
1317
+ <show_in_website>1</show_in_website>
1318
+ <show_in_store>1</show_in_store>
1319
+ <depends>
1320
+ <active>1</active>
1321
+ </depends>
1322
+ </allowspecific>
1323
+ <specificcountry translate="label comment">
1324
+ <label>Payment from Specific Countries</label>
1325
+ <config_path>payment/pbxep_paypal/specificcountry</config_path>
1326
+ <frontend_type>multiselect</frontend_type>
1327
+ <sort_order>220</sort_order>
1328
+ <source_model>adminhtml/system_config_source_country</source_model>
1329
+ <show_in_default>1</show_in_default>
1330
+ <show_in_website>1</show_in_website>
1331
+ <show_in_store>1</show_in_store>
1332
+ <depends>
1333
+ <allowspecific>1</allowspecific>
1334
+ <active>1</active>
1335
+ </depends>
1336
+ </specificcountry>
1337
+ <min_order_total translate="label comment">
1338
+ <label>Minimum Order Total</label>
1339
+ <config_path>payment/pbxep_paypal/min_order_total</config_path>
1340
+ <frontend_type>text</frontend_type>
1341
+ <sort_order>230</sort_order>
1342
+ <show_in_default>1</show_in_default>
1343
+ <show_in_website>1</show_in_website>
1344
+ <show_in_store>1</show_in_store>
1345
+ <depends>
1346
+ <active>1</active>
1347
+ </depends>
1348
+ </min_order_total>
1349
+ <max_order_total translate="label comment">
1350
+ <label>Maximum Order Total</label>
1351
+ <config_path>payment/pbxep_paypal/max_order_total</config_path>
1352
+ <frontend_type>text</frontend_type>
1353
+ <sort_order>240</sort_order>
1354
+ <show_in_default>1</show_in_default>
1355
+ <show_in_website>1</show_in_website>
1356
+ <show_in_store>1</show_in_store>
1357
+ <depends>
1358
+ <active>1</active>
1359
+ </depends>
1360
+ </max_order_total>
1361
+ </fields>
1362
+ </pbxep_paypal>
1363
+ <pbxep_prepaid translate="label comment">
1364
+ <label>Pay by Saving or Prepaid Ticket</label>
1365
+ <expanded>0</expanded>
1366
+ <frontend_type>text</frontend_type>
1367
+ <sort_order>50</sort_order>
1368
+ <show_in_default>1</show_in_default>
1369
+ <show_in_website>1</show_in_website>
1370
+ <show_in_store>1</show_in_store>
1371
+ <fields>
1372
+ <active translate="label comment">
1373
+ <label>Enable</label>
1374
+ <frontend_type>select</frontend_type>
1375
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1376
+ <config_path>payment/pbxep_prepaid/active</config_path>
1377
+ <sort_order>10</sort_order>
1378
+ <show_in_default>1</show_in_default>
1379
+ <show_in_website>1</show_in_website>
1380
+ <show_in_store>1</show_in_store>
1381
+ </active>
1382
+ <cctypes translate="label comment">
1383
+ <label>Card type</label>
1384
+ <config_path>payment/pbxep_prepaid/cctypes</config_path>
1385
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1386
+ <frontend_type>checkboxes</frontend_type>
1387
+ <source_model>pbxep/admin_cards_prepaid</source_model>
1388
+ <sort_order>20</sort_order>
1389
+ <show_in_default>1</show_in_default>
1390
+ <show_in_website>1</show_in_website>
1391
+ <show_in_store>1</show_in_store>
1392
+ <depends>
1393
+ <active>1</active>
1394
+ </depends>
1395
+ </cctypes>
1396
+ <title translate="label comment">
1397
+ <label>Title</label>
1398
+ <config_path>payment/pbxep_prepaid/title</config_path>
1399
+ <frontend_type>text</frontend_type>
1400
+ <sort_order>30</sort_order>
1401
+ <show_in_default>1</show_in_default>
1402
+ <show_in_website>1</show_in_website>
1403
+ <show_in_store>1</show_in_store>
1404
+ <depends>
1405
+ <active>1</active>
1406
+ </depends>
1407
+ </title>
1408
+ <sort_order translate="label comment">
1409
+ <label>Sort Order</label>
1410
+ <config_path>payment/pbxep_prepaid/sort_order</config_path>
1411
+ <frontend_type>text</frontend_type>
1412
+ <sort_order>40</sort_order>
1413
+ <show_in_default>1</show_in_default>
1414
+ <show_in_website>1</show_in_website>
1415
+ <show_in_store>1</show_in_store>
1416
+ <frontend_class>validate-number</frontend_class>
1417
+ <depends>
1418
+ <active>1</active>
1419
+ </depends>
1420
+ </sort_order>
1421
+ <status translate="label comment">
1422
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1423
+ <label>Payment status</label>
1424
+ <sort_order>100</sort_order>
1425
+ <show_in_default>1</show_in_default>
1426
+ <show_in_website>1</show_in_website>
1427
+ <show_in_store>1</show_in_store>
1428
+ <depends>
1429
+ <active>1</active>
1430
+ </depends>
1431
+ </status>
1432
+ <status_authorized translate="label comment">
1433
+ <label>Once authorized</label>
1434
+ <config_path>payment/pbxep_prepaid/status/authorized</config_path>
1435
+ <frontend_type>select</frontend_type>
1436
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1437
+ <sort_order>110</sort_order>
1438
+ <show_in_default>1</show_in_default>
1439
+ <show_in_website>1</show_in_website>
1440
+ <show_in_store>0</show_in_store>
1441
+ <depends>
1442
+ <active>1</active>
1443
+ <action>manual</action>
1444
+ </depends>
1445
+ </status_authorized>
1446
+ <status_paid translate="label comment">
1447
+ <label>Once paid</label>
1448
+ <config_path>payment/pbxep_prepaid/status/paid</config_path>
1449
+ <frontend_type>select</frontend_type>
1450
+ <source_model>pbxep/admin_order_status_processing</source_model>
1451
+ <sort_order>110</sort_order>
1452
+ <show_in_default>1</show_in_default>
1453
+ <show_in_website>1</show_in_website>
1454
+ <show_in_store>0</show_in_store>
1455
+ <depends>
1456
+ <active>1</active>
1457
+ </depends>
1458
+ </status_paid>
1459
+ <status_auto_capture translate="label comment">
1460
+ <label>Automatic capture status</label>
1461
+ <config_path>payment/pbxep_prepaid/status/auto_capture</config_path>
1462
+ <frontend_type>select</frontend_type>
1463
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
1464
+ <sort_order>112</sort_order>
1465
+ <show_in_default>1</show_in_default>
1466
+ <show_in_website>1</show_in_website>
1467
+ <show_in_store>0</show_in_store>
1468
+ <depends>
1469
+ <active>1</active>
1470
+ <action>manual</action>
1471
+ </depends>
1472
+ </status_auto_capture>
1473
+ <conditions translate="label comment">
1474
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1475
+ <label>Conditions</label>
1476
+ <sort_order>200</sort_order>
1477
+ <show_in_default>1</show_in_default>
1478
+ <show_in_website>1</show_in_website>
1479
+ <show_in_store>1</show_in_store>
1480
+ <depends>
1481
+ <active>1</active>
1482
+ </depends>
1483
+ </conditions>
1484
+ <allowspecific translate="label comment">
1485
+ <label>Payment from Applicable Countries</label>
1486
+ <config_path>payment/pbxep_prepaid/allowspecific</config_path>
1487
+ <frontend_type>allowspecific</frontend_type>
1488
+ <sort_order>210</sort_order>
1489
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1490
+ <show_in_default>1</show_in_default>
1491
+ <show_in_website>1</show_in_website>
1492
+ <show_in_store>1</show_in_store>
1493
+ <depends>
1494
+ <active>1</active>
1495
+ </depends>
1496
+ </allowspecific>
1497
+ <specificcountry translate="label comment">
1498
+ <label>Payment from Specific Countries</label>
1499
+ <config_path>payment/pbxep_prepaid/specificcountry</config_path>
1500
+ <frontend_type>multiselect</frontend_type>
1501
+ <sort_order>220</sort_order>
1502
+ <source_model>adminhtml/system_config_source_country</source_model>
1503
+ <show_in_default>1</show_in_default>
1504
+ <show_in_website>1</show_in_website>
1505
+ <show_in_store>1</show_in_store>
1506
+ <depends>
1507
+ <allowspecific>1</allowspecific>
1508
+ <active>1</active>
1509
+ </depends>
1510
+ </specificcountry>
1511
+ <min_order_total translate="label comment">
1512
+ <label>Minimum Order Total</label>
1513
+ <config_path>payment/pbxep_prepaid/min_order_total</config_path>
1514
+ <frontend_type>text</frontend_type>
1515
+ <sort_order>230</sort_order>
1516
+ <show_in_default>1</show_in_default>
1517
+ <show_in_website>1</show_in_website>
1518
+ <show_in_store>1</show_in_store>
1519
+ <depends>
1520
+ <active>1</active>
1521
+ </depends>
1522
+ </min_order_total>
1523
+ <max_order_total translate="label comment">
1524
+ <label>Maximum Order Total</label>
1525
+ <config_path>payment/pbxep_prepaid/max_order_total</config_path>
1526
+ <frontend_type>text</frontend_type>
1527
+ <sort_order>240</sort_order>
1528
+ <show_in_default>1</show_in_default>
1529
+ <show_in_website>1</show_in_website>
1530
+ <show_in_store>1</show_in_store>
1531
+ <depends>
1532
+ <active>1</active>
1533
+ </depends>
1534
+ </max_order_total>
1535
+ </fields>
1536
+ </pbxep_prepaid>
1537
+ <pbxep_financial translate="label comment">
1538
+ <label>Pay by Card and Means of Financing</label>
1539
+ <expanded>0</expanded>
1540
+ <frontend_type>text</frontend_type>
1541
+ <sort_order>60</sort_order>
1542
+ <show_in_default>1</show_in_default>
1543
+ <show_in_website>1</show_in_website>
1544
+ <show_in_store>1</show_in_store>
1545
+ <fields>
1546
+ <active translate="label comment">
1547
+ <label>Enable</label>
1548
+ <frontend_type>select</frontend_type>
1549
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1550
+ <config_path>payment/pbxep_financial/active</config_path>
1551
+ <sort_order>10</sort_order>
1552
+ <show_in_default>1</show_in_default>
1553
+ <show_in_website>1</show_in_website>
1554
+ <show_in_store>1</show_in_store>
1555
+ </active>
1556
+ <cctypes translate="label comment">
1557
+ <label>Card type</label>
1558
+ <config_path>payment/pbxep_financial/cctypes</config_path>
1559
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
1560
+ <frontend_type>checkboxes</frontend_type>
1561
+ <source_model>pbxep/admin_cards_financial</source_model>
1562
+ <sort_order>20</sort_order>
1563
+ <show_in_default>1</show_in_default>
1564
+ <show_in_website>1</show_in_website>
1565
+ <show_in_store>1</show_in_store>
1566
+ <depends>
1567
+ <active>1</active>
1568
+ </depends>
1569
+ </cctypes>
1570
+ <title translate="label comment">
1571
+ <label>Title</label>
1572
+ <config_path>payment/pbxep_financial/title</config_path>
1573
+ <frontend_type>text</frontend_type>
1574
+ <sort_order>30</sort_order>
1575
+ <show_in_default>1</show_in_default>
1576
+ <show_in_website>1</show_in_website>
1577
+ <show_in_store>1</show_in_store>
1578
+ <depends>
1579
+ <active>1</active>
1580
+ </depends>
1581
+ </title>
1582
+ <sort_order translate="label comment">
1583
+ <label>Sort Order</label>
1584
+ <config_path>payment/pbxep_financial/sort_order</config_path>
1585
+ <frontend_type>text</frontend_type>
1586
+ <sort_order>40</sort_order>
1587
+ <show_in_default>1</show_in_default>
1588
+ <show_in_website>1</show_in_website>
1589
+ <show_in_store>1</show_in_store>
1590
+ <frontend_class>validate-number</frontend_class>
1591
+ <depends>
1592
+ <active>1</active>
1593
+ </depends>
1594
+ </sort_order>
1595
+ <status translate="label comment">
1596
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1597
+ <label>Payment status</label>
1598
+ <sort_order>100</sort_order>
1599
+ <show_in_default>1</show_in_default>
1600
+ <show_in_website>1</show_in_website>
1601
+ <show_in_store>1</show_in_store>
1602
+ <depends>
1603
+ <active>1</active>
1604
+ </depends>
1605
+ </status>
1606
+ <status_authorized translate="label comment">
1607
+ <label>Once authorized</label>
1608
+ <config_path>payment/pbxep_financial/status/authorized</config_path>
1609
+ <frontend_type>select</frontend_type>
1610
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1611
+ <sort_order>110</sort_order>
1612
+ <show_in_default>1</show_in_default>
1613
+ <show_in_website>1</show_in_website>
1614
+ <show_in_store>0</show_in_store>
1615
+ <depends>
1616
+ <active>1</active>
1617
+ <action>manual</action>
1618
+ </depends>
1619
+ </status_authorized>
1620
+ <status_paid translate="label comment">
1621
+ <label>Once paid</label>
1622
+ <config_path>payment/pbxep_financial/status/paid</config_path>
1623
+ <frontend_type>select</frontend_type>
1624
+ <source_model>pbxep/admin_order_status_processing</source_model>
1625
+ <sort_order>110</sort_order>
1626
+ <show_in_default>1</show_in_default>
1627
+ <show_in_website>1</show_in_website>
1628
+ <show_in_store>0</show_in_store>
1629
+ <depends>
1630
+ <active>1</active>
1631
+ </depends>
1632
+ </status_paid>
1633
+ <status_auto_capture translate="label comment">
1634
+ <label>Automatic capture status</label>
1635
+ <config_path>payment/pbxep_financial/status/auto_capture</config_path>
1636
+ <frontend_type>select</frontend_type>
1637
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
1638
+ <sort_order>112</sort_order>
1639
+ <show_in_default>1</show_in_default>
1640
+ <show_in_website>1</show_in_website>
1641
+ <show_in_store>0</show_in_store>
1642
+ <depends>
1643
+ <active>1</active>
1644
+ <action>manual</action>
1645
+ </depends>
1646
+ </status_auto_capture>
1647
+ <conditions translate="label comment">
1648
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1649
+ <label>Conditions</label>
1650
+ <sort_order>200</sort_order>
1651
+ <show_in_default>1</show_in_default>
1652
+ <show_in_website>1</show_in_website>
1653
+ <show_in_store>1</show_in_store>
1654
+ <depends>
1655
+ <active>1</active>
1656
+ </depends>
1657
+ </conditions>
1658
+ <allowspecific translate="label comment">
1659
+ <label>Payment from Applicable Countries</label>
1660
+ <config_path>payment/pbxep_financial/allowspecific</config_path>
1661
+ <frontend_type>allowspecific</frontend_type>
1662
+ <sort_order>210</sort_order>
1663
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1664
+ <show_in_default>1</show_in_default>
1665
+ <show_in_website>1</show_in_website>
1666
+ <show_in_store>1</show_in_store>
1667
+ <depends>
1668
+ <active>1</active>
1669
+ </depends>
1670
+ </allowspecific>
1671
+ <specificcountry translate="label comment">
1672
+ <label>Payment from Specific Countries</label>
1673
+ <config_path>payment/pbxep_financial/specificcountry</config_path>
1674
+ <frontend_type>multiselect</frontend_type>
1675
+ <sort_order>220</sort_order>
1676
+ <source_model>adminhtml/system_config_source_country</source_model>
1677
+ <show_in_default>1</show_in_default>
1678
+ <show_in_website>1</show_in_website>
1679
+ <show_in_store>1</show_in_store>
1680
+ <depends>
1681
+ <allowspecific>1</allowspecific>
1682
+ <active>1</active>
1683
+ </depends>
1684
+ </specificcountry>
1685
+ <min_order_total translate="label comment">
1686
+ <label>Minimum Order Total</label>
1687
+ <config_path>payment/pbxep_financial/min_order_total</config_path>
1688
+ <frontend_type>text</frontend_type>
1689
+ <sort_order>230</sort_order>
1690
+ <show_in_default>1</show_in_default>
1691
+ <show_in_website>1</show_in_website>
1692
+ <show_in_store>1</show_in_store>
1693
+ <depends>
1694
+ <active>1</active>
1695
+ </depends>
1696
+ </min_order_total>
1697
+ <max_order_total translate="label comment">
1698
+ <label>Maximum Order Total</label>
1699
+ <config_path>payment/pbxep_financial/max_order_total</config_path>
1700
+ <frontend_type>text</frontend_type>
1701
+ <sort_order>240</sort_order>
1702
+ <show_in_default>1</show_in_default>
1703
+ <show_in_website>1</show_in_website>
1704
+ <show_in_store>1</show_in_store>
1705
+ <depends>
1706
+ <active>1</active>
1707
+ </depends>
1708
+ </max_order_total>
1709
+ </fields>
1710
+ </pbxep_financial>
1711
+ <pbxep_bcmc translate="label comment">
1712
+ <label>Pay by Bancontact Mister Cash</label>
1713
+ <expanded>0</expanded>
1714
+ <frontend_type>text</frontend_type>
1715
+ <sort_order>70</sort_order>
1716
+ <show_in_default>1</show_in_default>
1717
+ <show_in_website>1</show_in_website>
1718
+ <show_in_store>1</show_in_store>
1719
+ <fields>
1720
+ <active translate="label comment">
1721
+ <label>Enable</label>
1722
+ <frontend_type>select</frontend_type>
1723
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1724
+ <config_path>payment/pbxep_bcmc/active</config_path>
1725
+ <sort_order>10</sort_order>
1726
+ <show_in_default>1</show_in_default>
1727
+ <show_in_website>1</show_in_website>
1728
+ <show_in_store>1</show_in_store>
1729
+ </active>
1730
+ <title translate="label comment">
1731
+ <label>Title</label>
1732
+ <config_path>payment/pbxep_bcmc/title</config_path>
1733
+ <frontend_type>text</frontend_type>
1734
+ <sort_order>30</sort_order>
1735
+ <show_in_default>1</show_in_default>
1736
+ <show_in_website>1</show_in_website>
1737
+ <show_in_store>1</show_in_store>
1738
+ <depends>
1739
+ <active>1</active>
1740
+ </depends>
1741
+ </title>
1742
+ <sort_order translate="label comment">
1743
+ <label>Sort Order</label>
1744
+ <config_path>payment/pbxep_bcmc/sort_order</config_path>
1745
+ <frontend_type>text</frontend_type>
1746
+ <sort_order>40</sort_order>
1747
+ <show_in_default>1</show_in_default>
1748
+ <show_in_website>1</show_in_website>
1749
+ <show_in_store>1</show_in_store>
1750
+ <frontend_class>validate-number</frontend_class>
1751
+ <depends>
1752
+ <active>1</active>
1753
+ </depends>
1754
+ </sort_order>
1755
+ <status translate="label comment">
1756
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1757
+ <label>Payment status</label>
1758
+ <sort_order>100</sort_order>
1759
+ <show_in_default>1</show_in_default>
1760
+ <show_in_website>1</show_in_website>
1761
+ <show_in_store>1</show_in_store>
1762
+ <depends>
1763
+ <active>1</active>
1764
+ </depends>
1765
+ </status>
1766
+ <status_authorized translate="label comment">
1767
+ <label>Once authorized</label>
1768
+ <config_path>payment/pbxep_bcmc/status/authorized</config_path>
1769
+ <frontend_type>select</frontend_type>
1770
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1771
+ <sort_order>110</sort_order>
1772
+ <show_in_default>1</show_in_default>
1773
+ <show_in_website>1</show_in_website>
1774
+ <show_in_store>0</show_in_store>
1775
+ <depends>
1776
+ <active>1</active>
1777
+ <action>manual</action>
1778
+ </depends>
1779
+ </status_authorized>
1780
+ <status_paid translate="label comment">
1781
+ <label>Once paid</label>
1782
+ <config_path>payment/pbxep_bcmc/status/paid</config_path>
1783
+ <frontend_type>select</frontend_type>
1784
+ <source_model>pbxep/admin_order_status_processing</source_model>
1785
+ <sort_order>110</sort_order>
1786
+ <show_in_default>1</show_in_default>
1787
+ <show_in_website>1</show_in_website>
1788
+ <show_in_store>0</show_in_store>
1789
+ <depends>
1790
+ <active>1</active>
1791
+ </depends>
1792
+ </status_paid>
1793
+ <status_auto_capture translate="label comment">
1794
+ <label>Automatic capture status</label>
1795
+ <config_path>payment/pbxep_bcmc/status/auto_capture</config_path>
1796
+ <frontend_type>select</frontend_type>
1797
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
1798
+ <sort_order>112</sort_order>
1799
+ <show_in_default>1</show_in_default>
1800
+ <show_in_website>1</show_in_website>
1801
+ <show_in_store>0</show_in_store>
1802
+ <depends>
1803
+ <active>1</active>
1804
+ <action>manual</action>
1805
+ </depends>
1806
+ </status_auto_capture>
1807
+ <conditions translate="label comment">
1808
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1809
+ <label>Conditions</label>
1810
+ <sort_order>200</sort_order>
1811
+ <show_in_default>1</show_in_default>
1812
+ <show_in_website>1</show_in_website>
1813
+ <show_in_store>1</show_in_store>
1814
+ <depends>
1815
+ <active>1</active>
1816
+ </depends>
1817
+ </conditions>
1818
+ <allowspecific translate="label comment">
1819
+ <label>Payment from Applicable Countries</label>
1820
+ <config_path>payment/pbxep_bcmc/allowspecific</config_path>
1821
+ <frontend_type>allowspecific</frontend_type>
1822
+ <sort_order>210</sort_order>
1823
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1824
+ <show_in_default>1</show_in_default>
1825
+ <show_in_website>1</show_in_website>
1826
+ <show_in_store>1</show_in_store>
1827
+ <depends>
1828
+ <active>1</active>
1829
+ </depends>
1830
+ </allowspecific>
1831
+ <specificcountry translate="label comment">
1832
+ <label>Payment from Specific Countries</label>
1833
+ <config_path>payment/pbxep_bcmc/specificcountry</config_path>
1834
+ <frontend_type>multiselect</frontend_type>
1835
+ <sort_order>220</sort_order>
1836
+ <source_model>adminhtml/system_config_source_country</source_model>
1837
+ <show_in_default>1</show_in_default>
1838
+ <show_in_website>1</show_in_website>
1839
+ <show_in_store>1</show_in_store>
1840
+ <depends>
1841
+ <allowspecific>1</allowspecific>
1842
+ <active>1</active>
1843
+ </depends>
1844
+ </specificcountry>
1845
+ <min_order_total translate="label comment">
1846
+ <label>Minimum Order Total</label>
1847
+ <config_path>payment/pbxep_bcmc/min_order_total</config_path>
1848
+ <frontend_type>text</frontend_type>
1849
+ <sort_order>230</sort_order>
1850
+ <show_in_default>1</show_in_default>
1851
+ <show_in_website>1</show_in_website>
1852
+ <show_in_store>1</show_in_store>
1853
+ <depends>
1854
+ <active>1</active>
1855
+ </depends>
1856
+ </min_order_total>
1857
+ <max_order_total translate="label comment">
1858
+ <label>Maximum Order Total</label>
1859
+ <config_path>payment/pbxep_bcmc/max_order_total</config_path>
1860
+ <frontend_type>text</frontend_type>
1861
+ <sort_order>240</sort_order>
1862
+ <show_in_default>1</show_in_default>
1863
+ <show_in_website>1</show_in_website>
1864
+ <show_in_store>1</show_in_store>
1865
+ <depends>
1866
+ <active>1</active>
1867
+ </depends>
1868
+ </max_order_total>
1869
+ <tds translate="label comment">
1870
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1871
+ <label>3-D Secure</label>
1872
+ <sort_order>300</sort_order>
1873
+ <show_in_default>1</show_in_default>
1874
+ <show_in_website>1</show_in_website>
1875
+ <show_in_store>1</show_in_store>
1876
+ <depends>
1877
+ <active>1</active>
1878
+ </depends>
1879
+ </tds>
1880
+ <tds_info translate="label comment">
1881
+ <label><![CDATA[3-D Secure is mandatory for this payment method.]]></label>
1882
+ <frontend_model>pbxep/admin_info</frontend_model>
1883
+ <sort_order>305</sort_order>
1884
+ <show_in_default>1</show_in_default>
1885
+ <show_in_website>1</show_in_website>
1886
+ <show_in_store>1</show_in_store>
1887
+ <depends>
1888
+ <active>1</active>
1889
+ </depends>
1890
+ </tds_info>
1891
+ </fields>
1892
+ </pbxep_bcmc>
1893
+ <pbxep_maestro translate="label comment">
1894
+ <label>Pay by Maestro</label>
1895
+ <expanded>0</expanded>
1896
+ <frontend_type>text</frontend_type>
1897
+ <sort_order>80</sort_order>
1898
+ <show_in_default>1</show_in_default>
1899
+ <show_in_website>1</show_in_website>
1900
+ <show_in_store>1</show_in_store>
1901
+ <fields>
1902
+ <active translate="label comment">
1903
+ <label>Enable</label>
1904
+ <frontend_type>select</frontend_type>
1905
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1906
+ <config_path>payment/pbxep_maestro/active</config_path>
1907
+ <sort_order>10</sort_order>
1908
+ <show_in_default>1</show_in_default>
1909
+ <show_in_website>1</show_in_website>
1910
+ <show_in_store>1</show_in_store>
1911
+ </active>
1912
+ <title translate="label comment">
1913
+ <label>Title</label>
1914
+ <config_path>payment/pbxep_maestro/title</config_path>
1915
+ <frontend_type>text</frontend_type>
1916
+ <sort_order>30</sort_order>
1917
+ <show_in_default>1</show_in_default>
1918
+ <show_in_website>1</show_in_website>
1919
+ <show_in_store>1</show_in_store>
1920
+ <depends>
1921
+ <active>1</active>
1922
+ </depends>
1923
+ </title>
1924
+ <sort_order translate="label comment">
1925
+ <label>Sort Order</label>
1926
+ <config_path>payment/pbxep_maestro/sort_order</config_path>
1927
+ <frontend_type>text</frontend_type>
1928
+ <sort_order>40</sort_order>
1929
+ <show_in_default>1</show_in_default>
1930
+ <show_in_website>1</show_in_website>
1931
+ <show_in_store>1</show_in_store>
1932
+ <frontend_class>validate-number</frontend_class>
1933
+ <depends>
1934
+ <active>1</active>
1935
+ </depends>
1936
+ </sort_order>
1937
+ <action translate="label comment">
1938
+ <label>Debit type</label>
1939
+ <frontend_model>pbxep/admin_field_select</frontend_model>
1940
+ <frontend_type>select</frontend_type>
1941
+ <source_model>pbxep/admin_payment_action</source_model>
1942
+ <config_path>payment/pbxep_maestro/action</config_path>
1943
+ <sort_order>50</sort_order>
1944
+ <show_in_default>1</show_in_default>
1945
+ <show_in_website>1</show_in_website>
1946
+ <show_in_store>1</show_in_store>
1947
+ <depends>
1948
+ <active>1</active>
1949
+ </depends>
1950
+ </action>
1951
+ <delay translate="label comment">
1952
+ <label>Delay</label>
1953
+ <config_path>payment/pbxep_maestro/delay</config_path>
1954
+ <frontend_type>select</frontend_type>
1955
+ <source_model>pbxep/admin_payment_delays</source_model>
1956
+ <sort_order>60</sort_order>
1957
+ <show_in_default>1</show_in_default>
1958
+ <show_in_website>1</show_in_website>
1959
+ <show_in_store>1</show_in_store>
1960
+ <depends>
1961
+ <action>deferred</action>
1962
+ <active>1</active>
1963
+ </depends>
1964
+ </delay>
1965
+ <status translate="label comment">
1966
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1967
+ <label>Payment status</label>
1968
+ <sort_order>100</sort_order>
1969
+ <show_in_default>1</show_in_default>
1970
+ <show_in_website>1</show_in_website>
1971
+ <show_in_store>1</show_in_store>
1972
+ <depends>
1973
+ <active>1</active>
1974
+ </depends>
1975
+ </status>
1976
+ <status_authorized translate="label comment">
1977
+ <label>Once authorized</label>
1978
+ <config_path>payment/pbxep_maestro/status/authorized</config_path>
1979
+ <frontend_type>select</frontend_type>
1980
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
1981
+ <sort_order>110</sort_order>
1982
+ <show_in_default>1</show_in_default>
1983
+ <show_in_website>1</show_in_website>
1984
+ <show_in_store>0</show_in_store>
1985
+ <depends>
1986
+ <active>1</active>
1987
+ <action>manual</action>
1988
+ </depends>
1989
+ </status_authorized>
1990
+ <status_paid translate="label comment">
1991
+ <label>Once paid</label>
1992
+ <config_path>payment/pbxep_maestro/status/paid</config_path>
1993
+ <frontend_type>select</frontend_type>
1994
+ <source_model>pbxep/admin_order_status_processing</source_model>
1995
+ <sort_order>110</sort_order>
1996
+ <show_in_default>1</show_in_default>
1997
+ <show_in_website>1</show_in_website>
1998
+ <show_in_store>0</show_in_store>
1999
+ <depends>
2000
+ <active>1</active>
2001
+ </depends>
2002
+ </status_paid>
2003
+ <status_auto_capture translate="label comment">
2004
+ <label>Automatic capture status</label>
2005
+ <config_path>payment/pbxep_maestro/status/auto_capture</config_path>
2006
+ <frontend_type>select</frontend_type>
2007
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
2008
+ <sort_order>112</sort_order>
2009
+ <show_in_default>1</show_in_default>
2010
+ <show_in_website>1</show_in_website>
2011
+ <show_in_store>0</show_in_store>
2012
+ <depends>
2013
+ <active>1</active>
2014
+ <action>manual</action>
2015
+ </depends>
2016
+ </status_auto_capture>
2017
+ <conditions translate="label comment">
2018
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2019
+ <label>Conditions</label>
2020
+ <sort_order>200</sort_order>
2021
+ <show_in_default>1</show_in_default>
2022
+ <show_in_website>1</show_in_website>
2023
+ <show_in_store>1</show_in_store>
2024
+ <depends>
2025
+ <active>1</active>
2026
+ </depends>
2027
+ </conditions>
2028
+ <allowspecific translate="label comment">
2029
+ <label>Payment from Applicable Countries</label>
2030
+ <config_path>payment/pbxep_maestro/allowspecific</config_path>
2031
+ <frontend_type>allowspecific</frontend_type>
2032
+ <sort_order>210</sort_order>
2033
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2034
+ <show_in_default>1</show_in_default>
2035
+ <show_in_website>1</show_in_website>
2036
+ <show_in_store>1</show_in_store>
2037
+ <depends>
2038
+ <active>1</active>
2039
+ </depends>
2040
+ </allowspecific>
2041
+ <specificcountry translate="label comment">
2042
+ <label>Payment from Specific Countries</label>
2043
+ <config_path>payment/pbxep_maestro/specificcountry</config_path>
2044
+ <frontend_type>multiselect</frontend_type>
2045
+ <sort_order>220</sort_order>
2046
+ <source_model>adminhtml/system_config_source_country</source_model>
2047
+ <show_in_default>1</show_in_default>
2048
+ <show_in_website>1</show_in_website>
2049
+ <show_in_store>1</show_in_store>
2050
+ <depends>
2051
+ <allowspecific>1</allowspecific>
2052
+ <active>1</active>
2053
+ </depends>
2054
+ </specificcountry>
2055
+ <min_order_total translate="label comment">
2056
+ <label>Minimum Order Total</label>
2057
+ <config_path>payment/pbxep_maestro/min_order_total</config_path>
2058
+ <frontend_type>text</frontend_type>
2059
+ <sort_order>230</sort_order>
2060
+ <show_in_default>1</show_in_default>
2061
+ <show_in_website>1</show_in_website>
2062
+ <show_in_store>1</show_in_store>
2063
+ <depends>
2064
+ <active>1</active>
2065
+ </depends>
2066
+ </min_order_total>
2067
+ <max_order_total translate="label comment">
2068
+ <label>Maximum Order Total</label>
2069
+ <config_path>payment/pbxep_maestro/max_order_total</config_path>
2070
+ <frontend_type>text</frontend_type>
2071
+ <sort_order>240</sort_order>
2072
+ <show_in_default>1</show_in_default>
2073
+ <show_in_website>1</show_in_website>
2074
+ <show_in_store>1</show_in_store>
2075
+ <depends>
2076
+ <active>1</active>
2077
+ </depends>
2078
+ </max_order_total>
2079
+ <tds translate="label comment">
2080
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2081
+ <label>3-D Secure</label>
2082
+ <sort_order>300</sort_order>
2083
+ <show_in_default>1</show_in_default>
2084
+ <show_in_website>1</show_in_website>
2085
+ <show_in_store>1</show_in_store>
2086
+ <depends>
2087
+ <active>1</active>
2088
+ </depends>
2089
+ </tds>
2090
+ <tds_info translate="label comment">
2091
+ <label><![CDATA[3-D Secure is mandatory for this payment method.]]></label>
2092
+ <frontend_model>pbxep/admin_info</frontend_model>
2093
+ <sort_order>305</sort_order>
2094
+ <show_in_default>1</show_in_default>
2095
+ <show_in_website>1</show_in_website>
2096
+ <show_in_store>1</show_in_store>
2097
+ <depends>
2098
+ <active>1</active>
2099
+ </depends>
2100
+ </tds_info>
2101
+ </fields>
2102
+ </pbxep_maestro>
2103
+ <pbxep_paybuttons translate="label comment">
2104
+ <label>Pay by Paybutton</label>
2105
+ <expanded>0</expanded>
2106
+ <frontend_type>text</frontend_type>
2107
+ <sort_order>90</sort_order>
2108
+ <show_in_default>1</show_in_default>
2109
+ <show_in_website>1</show_in_website>
2110
+ <show_in_store>1</show_in_store>
2111
+ <fields>
2112
+ <active translate="label comment">
2113
+ <label>Enable</label>
2114
+ <frontend_type>select</frontend_type>
2115
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2116
+ <config_path>payment/pbxep_paybuttons/active</config_path>
2117
+ <sort_order>10</sort_order>
2118
+ <show_in_default>1</show_in_default>
2119
+ <show_in_website>1</show_in_website>
2120
+ <show_in_store>1</show_in_store>
2121
+ </active>
2122
+ <cctypes translate="label comment">
2123
+ <label>Card type</label>
2124
+ <config_path>payment/pbxep_paybuttons/cctypes</config_path>
2125
+ <frontend_model>pbxep/admin_field_checkboxes</frontend_model>
2126
+ <frontend_type>checkboxes</frontend_type>
2127
+ <source_model>pbxep/admin_cards_paybuttons</source_model>
2128
+ <sort_order>20</sort_order>
2129
+ <show_in_default>1</show_in_default>
2130
+ <show_in_website>1</show_in_website>
2131
+ <show_in_store>1</show_in_store>
2132
+ <depends>
2133
+ <active>1</active>
2134
+ </depends>
2135
+ </cctypes>
2136
+ <title translate="label comment">
2137
+ <label>Title</label>
2138
+ <config_path>payment/pbxep_paybuttons/title</config_path>
2139
+ <frontend_type>text</frontend_type>
2140
+ <sort_order>30</sort_order>
2141
+ <show_in_default>1</show_in_default>
2142
+ <show_in_website>1</show_in_website>
2143
+ <show_in_store>1</show_in_store>
2144
+ <depends>
2145
+ <active>1</active>
2146
+ </depends>
2147
+ </title>
2148
+ <sort_order translate="label comment">
2149
+ <label>Sort Order</label>
2150
+ <config_path>payment/pbxep_paybuttons/sort_order</config_path>
2151
+ <frontend_type>text</frontend_type>
2152
+ <sort_order>40</sort_order>
2153
+ <show_in_default>1</show_in_default>
2154
+ <show_in_website>1</show_in_website>
2155
+ <show_in_store>1</show_in_store>
2156
+ <frontend_class>validate-number</frontend_class>
2157
+ <depends>
2158
+ <active>1</active>
2159
+ </depends>
2160
+ </sort_order>
2161
+ <status translate="label comment">
2162
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2163
+ <label>Payment status</label>
2164
+ <sort_order>100</sort_order>
2165
+ <show_in_default>1</show_in_default>
2166
+ <show_in_website>1</show_in_website>
2167
+ <show_in_store>1</show_in_store>
2168
+ <depends>
2169
+ <active>1</active>
2170
+ </depends>
2171
+ </status>
2172
+ <status_authorized translate="label comment">
2173
+ <label>Once authorized</label>
2174
+ <config_path>payment/pbxep_paybuttons/status/authorized</config_path>
2175
+ <frontend_type>select</frontend_type>
2176
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2177
+ <sort_order>110</sort_order>
2178
+ <show_in_default>1</show_in_default>
2179
+ <show_in_website>1</show_in_website>
2180
+ <show_in_store>0</show_in_store>
2181
+ <depends>
2182
+ <active>1</active>
2183
+ <action>manual</action>
2184
+ </depends>
2185
+ </status_authorized>
2186
+ <status_paid translate="label comment">
2187
+ <label>Once paid</label>
2188
+ <config_path>payment/pbxep_paybuttons/status/paid</config_path>
2189
+ <frontend_type>select</frontend_type>
2190
+ <source_model>pbxep/admin_order_status_processing</source_model>
2191
+ <sort_order>110</sort_order>
2192
+ <show_in_default>1</show_in_default>
2193
+ <show_in_website>1</show_in_website>
2194
+ <show_in_store>0</show_in_store>
2195
+ <depends>
2196
+ <active>1</active>
2197
+ </depends>
2198
+ </status_paid>
2199
+ <status_auto_capture translate="label comment">
2200
+ <label>Automatic capture status</label>
2201
+ <config_path>payment/pbxep_paybuttons/status/auto_capture</config_path>
2202
+ <frontend_type>select</frontend_type>
2203
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
2204
+ <sort_order>112</sort_order>
2205
+ <show_in_default>1</show_in_default>
2206
+ <show_in_website>1</show_in_website>
2207
+ <show_in_store>0</show_in_store>
2208
+ <depends>
2209
+ <active>1</active>
2210
+ <action>manual</action>
2211
+ </depends>
2212
+ </status_auto_capture>
2213
+ <conditions translate="label comment">
2214
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2215
+ <label>Conditions</label>
2216
+ <sort_order>200</sort_order>
2217
+ <show_in_default>1</show_in_default>
2218
+ <show_in_website>1</show_in_website>
2219
+ <show_in_store>1</show_in_store>
2220
+ <depends>
2221
+ <active>1</active>
2222
+ </depends>
2223
+ </conditions>
2224
+ <allowspecific translate="label comment">
2225
+ <label>Payment from Applicable Countries</label>
2226
+ <config_path>payment/pbxep_paybuttons/allowspecific</config_path>
2227
+ <frontend_type>allowspecific</frontend_type>
2228
+ <sort_order>210</sort_order>
2229
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2230
+ <show_in_default>1</show_in_default>
2231
+ <show_in_website>1</show_in_website>
2232
+ <show_in_store>1</show_in_store>
2233
+ <depends>
2234
+ <active>1</active>
2235
+ </depends>
2236
+ </allowspecific>
2237
+ <specificcountry translate="label comment">
2238
+ <label>Payment from Specific Countries</label>
2239
+ <config_path>payment/pbxep_paybuttons/specificcountry</config_path>
2240
+ <frontend_type>multiselect</frontend_type>
2241
+ <sort_order>220</sort_order>
2242
+ <source_model>adminhtml/system_config_source_country</source_model>
2243
+ <show_in_default>1</show_in_default>
2244
+ <show_in_website>1</show_in_website>
2245
+ <show_in_store>1</show_in_store>
2246
+ <depends>
2247
+ <allowspecific>1</allowspecific>
2248
+ <active>1</active>
2249
+ </depends>
2250
+ </specificcountry>
2251
+ <min_order_total translate="label comment">
2252
+ <label>Minimum Order Total</label>
2253
+ <config_path>payment/pbxep_paybuttons/min_order_total</config_path>
2254
+ <frontend_type>text</frontend_type>
2255
+ <sort_order>230</sort_order>
2256
+ <show_in_default>1</show_in_default>
2257
+ <show_in_website>1</show_in_website>
2258
+ <show_in_store>1</show_in_store>
2259
+ <depends>
2260
+ <active>1</active>
2261
+ </depends>
2262
+ </min_order_total>
2263
+ <max_order_total translate="label comment">
2264
+ <label>Maximum Order Total</label>
2265
+ <config_path>payment/pbxep_paybuttons/max_order_total</config_path>
2266
+ <frontend_type>text</frontend_type>
2267
+ <sort_order>240</sort_order>
2268
+ <show_in_default>1</show_in_default>
2269
+ <show_in_website>1</show_in_website>
2270
+ <show_in_store>1</show_in_store>
2271
+ <depends>
2272
+ <active>1</active>
2273
+ </depends>
2274
+ </max_order_total>
2275
+ </fields>
2276
+ </pbxep_paybuttons>
2277
+ </groups>
2278
+ </pbxep_payments>
2279
+ <pbxep_kwixo translate="label comment" module="pbxep">
2280
+ <label>Kwixo</label>
2281
+ <tab>pbxep</tab>
2282
+ <frontend_type>text</frontend_type>
2283
+ <sort_order>354</sort_order>
2284
+ <show_in_default>1</show_in_default>
2285
+ <show_in_website>1</show_in_website>
2286
+ <show_in_store>1</show_in_store>
2287
+ <groups>
2288
+ <fianet translate="label comment">
2289
+ <label>Informations FIA-NET</label>
2290
+ <expanded>1</expanded>
2291
+ <frontend_type>text</frontend_type>
2292
+ <sort_order>20</sort_order>
2293
+ <show_in_default>1</show_in_default>
2294
+ <show_in_website>1</show_in_website>
2295
+ <show_in_store>1</show_in_store>
2296
+ <fields>
2297
+ <default_category translate="label comment">
2298
+ <label>Catégorie par défaut</label>
2299
+ <config_path>pbxep/kwixo/default_category</config_path>
2300
+ <frontend_type>select</frontend_type>
2301
+ <source_model>pbxep/admin_fianet_categories</source_model>
2302
+ <sort_order>10</sort_order>
2303
+ <show_in_default>1</show_in_default>
2304
+ <show_in_website>1</show_in_website>
2305
+ <show_in_store>1</show_in_store>
2306
+ </default_category>
2307
+ <shipping translate="label comment">
2308
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2309
+ <label>Informations sur les moyens de livraison</label>
2310
+ <sort_order>100</sort_order>
2311
+ <show_in_default>1</show_in_default>
2312
+ <show_in_website>1</show_in_website>
2313
+ <show_in_store>1</show_in_store>
2314
+ </shipping>
2315
+ <shipping_info translate="label comment">
2316
+ <config_path>pbxep/kwixo/shipping</config_path>
2317
+ <frontend_model>pbxep/admin_kwixo_shipping</frontend_model>
2318
+ <frontend_type>text</frontend_type>
2319
+ <backend_model>adminhtml/system_config_backend_serialized</backend_model>
2320
+ <source_model>pbxep/admin_fianet_categories</source_model>
2321
+ <sort_order>110</sort_order>
2322
+ <show_in_default>1</show_in_default>
2323
+ <show_in_website>1</show_in_website>
2324
+ <show_in_store>1</show_in_store>
2325
+ </shipping_info>
2326
+ </fields>
2327
+ </fianet>
2328
+ <kwixo_standard translate="label comment">
2329
+ <label>Paiement par Kwixo Standard</label>
2330
+ <expanded>1</expanded>
2331
+ <frontend_type>text</frontend_type>
2332
+ <sort_order>20</sort_order>
2333
+ <show_in_default>1</show_in_default>
2334
+ <show_in_website>1</show_in_website>
2335
+ <show_in_store>1</show_in_store>
2336
+ <fields>
2337
+ <active translate="label comment">
2338
+ <label>Enable</label>
2339
+ <frontend_type>select</frontend_type>
2340
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2341
+ <config_path>payment/pbxep_kwixo_standard/active</config_path>
2342
+ <sort_order>10</sort_order>
2343
+ <show_in_default>1</show_in_default>
2344
+ <show_in_website>1</show_in_website>
2345
+ <show_in_store>1</show_in_store>
2346
+ </active>
2347
+ <title translate="label comment">
2348
+ <label>Title</label>
2349
+ <config_path>payment/pbxep_kwixo_standard/title</config_path>
2350
+ <frontend_type>text</frontend_type>
2351
+ <sort_order>20</sort_order>
2352
+ <show_in_default>1</show_in_default>
2353
+ <show_in_website>1</show_in_website>
2354
+ <show_in_store>1</show_in_store>
2355
+ <depends>
2356
+ <active>1</active>
2357
+ </depends>
2358
+ </title>
2359
+ <sort_order translate="label comment">
2360
+ <label>Sort Order</label>
2361
+ <config_path>payment/pbxep_kwixo_standard/sort_order</config_path>
2362
+ <frontend_type>text</frontend_type>
2363
+ <sort_order>30</sort_order>
2364
+ <show_in_default>1</show_in_default>
2365
+ <show_in_website>1</show_in_website>
2366
+ <show_in_store>1</show_in_store>
2367
+ <frontend_class>validate-number</frontend_class>
2368
+ <depends>
2369
+ <active>1</active>
2370
+ </depends>
2371
+ </sort_order>
2372
+ <status translate="label comment">
2373
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2374
+ <label>Payment status</label>
2375
+ <sort_order>100</sort_order>
2376
+ <show_in_default>1</show_in_default>
2377
+ <show_in_website>1</show_in_website>
2378
+ <show_in_store>1</show_in_store>
2379
+ <depends>
2380
+ <active>1</active>
2381
+ </depends>
2382
+ </status>
2383
+ <status_authorized translate="label comment">
2384
+ <label>Once authorized</label>
2385
+ <config_path>payment/pbxep_kwixo_standard/status/authorized</config_path>
2386
+ <frontend_type>select</frontend_type>
2387
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2388
+ <validate>required-entry</validate>
2389
+ <sort_order>110</sort_order>
2390
+ <show_in_default>1</show_in_default>
2391
+ <show_in_website>1</show_in_website>
2392
+ <show_in_store>0</show_in_store>
2393
+ <depends>
2394
+ <active>1</active>
2395
+ <action>manual</action>
2396
+ </depends>
2397
+ </status_authorized>
2398
+ <status_paid translate="label comment">
2399
+ <label>Once paid</label>
2400
+ <config_path>payment/pbxep_kwixo_standard/status/paid</config_path>
2401
+ <frontend_type>select</frontend_type>
2402
+ <source_model>pbxep/admin_order_status_processing</source_model>
2403
+ <validate>required-entry</validate>
2404
+ <sort_order>110</sort_order>
2405
+ <show_in_default>1</show_in_default>
2406
+ <show_in_website>1</show_in_website>
2407
+ <show_in_store>0</show_in_store>
2408
+ <depends>
2409
+ <active>1</active>
2410
+ </depends>
2411
+ </status_paid>
2412
+ <status_auto_capture translate="label comment">
2413
+ <label>Automatic capture status</label>
2414
+ <config_path>payment/pbxep_kwixo_standard/status/auto_capture</config_path>
2415
+ <frontend_type>select</frontend_type>
2416
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
2417
+ <sort_order>112</sort_order>
2418
+ <show_in_default>1</show_in_default>
2419
+ <show_in_website>1</show_in_website>
2420
+ <show_in_store>0</show_in_store>
2421
+ <depends>
2422
+ <active>1</active>
2423
+ <action>manual</action>
2424
+ </depends>
2425
+ </status_auto_capture>
2426
+ <conditions translate="label comment">
2427
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2428
+ <label>Conditions</label>
2429
+ <sort_order>200</sort_order>
2430
+ <show_in_default>1</show_in_default>
2431
+ <show_in_website>1</show_in_website>
2432
+ <show_in_store>1</show_in_store>
2433
+ <depends>
2434
+ <active>1</active>
2435
+ </depends>
2436
+ </conditions>
2437
+ <allowspecific translate="label comment">
2438
+ <label>Payment from Applicable Countries</label>
2439
+ <config_path>payment/pbxep_kwixo_standard/allowspecific</config_path>
2440
+ <frontend_type>allowspecific</frontend_type>
2441
+ <sort_order>210</sort_order>
2442
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2443
+ <show_in_default>1</show_in_default>
2444
+ <show_in_website>1</show_in_website>
2445
+ <show_in_store>1</show_in_store>
2446
+ <depends>
2447
+ <active>1</active>
2448
+ </depends>
2449
+ </allowspecific>
2450
+ <specificcountry translate="label comment">
2451
+ <label>Payment from Specific Countries</label>
2452
+ <config_path>payment/pbxep_kwixo_standard/specificcountry</config_path>
2453
+ <frontend_type>multiselect</frontend_type>
2454
+ <sort_order>220</sort_order>
2455
+ <source_model>adminhtml/system_config_source_country</source_model>
2456
+ <show_in_default>1</show_in_default>
2457
+ <show_in_website>1</show_in_website>
2458
+ <show_in_store>1</show_in_store>
2459
+ <depends>
2460
+ <allowspecific>1</allowspecific>
2461
+ <active>1</active>
2462
+ </depends>
2463
+ </specificcountry>
2464
+ <min_order_total translate="label comment">
2465
+ <label>Minimum Order Total</label>
2466
+ <config_path>payment/pbxep_kwixo_standard/min_order_total</config_path>
2467
+ <frontend_type>text</frontend_type>
2468
+ <sort_order>230</sort_order>
2469
+ <show_in_default>1</show_in_default>
2470
+ <show_in_website>1</show_in_website>
2471
+ <show_in_store>1</show_in_store>
2472
+ <depends>
2473
+ <active>1</active>
2474
+ </depends>
2475
+ </min_order_total>
2476
+ <max_order_total translate="label comment">
2477
+ <label>Maximum Order Total</label>
2478
+ <config_path>payment/pbxep_kwixo_standard/max_order_total</config_path>
2479
+ <frontend_type>text</frontend_type>
2480
+ <sort_order>240</sort_order>
2481
+ <show_in_default>1</show_in_default>
2482
+ <show_in_website>1</show_in_website>
2483
+ <show_in_store>1</show_in_store>
2484
+ <depends>
2485
+ <active>1</active>
2486
+ </depends>
2487
+ </max_order_total>
2488
+ </fields>
2489
+ </kwixo_standard>
2490
+ <kwixo_credit translate="label comment">
2491
+ <label>Paiement par Kwixo Credit</label>
2492
+ <expanded>1</expanded>
2493
+ <frontend_type>text</frontend_type>
2494
+ <sort_order>30</sort_order>
2495
+ <show_in_default>1</show_in_default>
2496
+ <show_in_website>1</show_in_website>
2497
+ <show_in_store>1</show_in_store>
2498
+ <fields>
2499
+ <active translate="label comment">
2500
+ <label>Enable</label>
2501
+ <frontend_type>select</frontend_type>
2502
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2503
+ <config_path>payment/pbxep_kwixo_credit/active</config_path>
2504
+ <sort_order>10</sort_order>
2505
+ <show_in_default>1</show_in_default>
2506
+ <show_in_website>1</show_in_website>
2507
+ <show_in_store>1</show_in_store>
2508
+ </active>
2509
+ <title translate="label comment">
2510
+ <label>Title</label>
2511
+ <config_path>payment/pbxep_kwixo_credit/title</config_path>
2512
+ <frontend_type>text</frontend_type>
2513
+ <sort_order>20</sort_order>
2514
+ <show_in_default>1</show_in_default>
2515
+ <show_in_website>1</show_in_website>
2516
+ <show_in_store>1</show_in_store>
2517
+ <depends>
2518
+ <active>1</active>
2519
+ </depends>
2520
+ </title>
2521
+ <sort_order translate="label comment">
2522
+ <label>Sort Order</label>
2523
+ <config_path>payment/pbxep_kwixo_credit/sort_order</config_path>
2524
+ <frontend_type>text</frontend_type>
2525
+ <sort_order>30</sort_order>
2526
+ <show_in_default>1</show_in_default>
2527
+ <show_in_website>1</show_in_website>
2528
+ <show_in_store>1</show_in_store>
2529
+ <frontend_class>validate-number</frontend_class>
2530
+ <depends>
2531
+ <active>1</active>
2532
+ </depends>
2533
+ </sort_order>
2534
+ <status translate="label comment">
2535
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2536
+ <label>Payment status</label>
2537
+ <sort_order>100</sort_order>
2538
+ <show_in_default>1</show_in_default>
2539
+ <show_in_website>1</show_in_website>
2540
+ <show_in_store>1</show_in_store>
2541
+ <depends>
2542
+ <active>1</active>
2543
+ </depends>
2544
+ </status>
2545
+ <status_authorized translate="label comment">
2546
+ <label>Once authorized</label>
2547
+ <config_path>payment/pbxep_kwixo_credit/status/authorized</config_path>
2548
+ <frontend_type>select</frontend_type>
2549
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2550
+ <validate>required-entry</validate>
2551
+ <sort_order>110</sort_order>
2552
+ <show_in_default>1</show_in_default>
2553
+ <show_in_website>1</show_in_website>
2554
+ <show_in_store>0</show_in_store>
2555
+ <depends>
2556
+ <active>1</active>
2557
+ <action>manual</action>
2558
+ </depends>
2559
+ </status_authorized>
2560
+ <status_paid translate="label comment">
2561
+ <label>Once paid</label>
2562
+ <config_path>payment/pbxep_kwixo_credit/status/paid</config_path>
2563
+ <frontend_type>select</frontend_type>
2564
+ <source_model>pbxep/admin_order_status_processing</source_model>
2565
+ <validate>required-entry</validate>
2566
+ <sort_order>110</sort_order>
2567
+ <show_in_default>1</show_in_default>
2568
+ <show_in_website>1</show_in_website>
2569
+ <show_in_store>0</show_in_store>
2570
+ <depends>
2571
+ <active>1</active>
2572
+ </depends>
2573
+ </status_paid>
2574
+ <status_auto_capture translate="label comment">
2575
+ <label>Automatic capture status</label>
2576
+ <config_path>payment/pbxep_kwixo_credit/status/auto_capture</config_path>
2577
+ <frontend_type>select</frontend_type>
2578
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
2579
+ <sort_order>112</sort_order>
2580
+ <show_in_default>1</show_in_default>
2581
+ <show_in_website>1</show_in_website>
2582
+ <show_in_store>0</show_in_store>
2583
+ <depends>
2584
+ <active>1</active>
2585
+ <action>manual</action>
2586
+ </depends>
2587
+ </status_auto_capture>
2588
+ <conditions translate="label comment">
2589
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2590
+ <label>Conditions</label>
2591
+ <sort_order>200</sort_order>
2592
+ <show_in_default>1</show_in_default>
2593
+ <show_in_website>1</show_in_website>
2594
+ <show_in_store>1</show_in_store>
2595
+ <depends>
2596
+ <active>1</active>
2597
+ </depends>
2598
+ </conditions>
2599
+ <allowspecific translate="label comment">
2600
+ <label>Payment from Applicable Countries</label>
2601
+ <config_path>payment/pbxep_kwixo_credit/allowspecific</config_path>
2602
+ <frontend_type>allowspecific</frontend_type>
2603
+ <sort_order>210</sort_order>
2604
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2605
+ <show_in_default>1</show_in_default>
2606
+ <show_in_website>1</show_in_website>
2607
+ <show_in_store>1</show_in_store>
2608
+ <depends>
2609
+ <active>1</active>
2610
+ </depends>
2611
+ </allowspecific>
2612
+ <specificcountry translate="label comment">
2613
+ <label>Payment from Specific Countries</label>
2614
+ <config_path>payment/pbxep_kwixo_credit/specificcountry</config_path>
2615
+ <frontend_type>multiselect</frontend_type>
2616
+ <sort_order>220</sort_order>
2617
+ <source_model>adminhtml/system_config_source_country</source_model>
2618
+ <show_in_default>1</show_in_default>
2619
+ <show_in_website>1</show_in_website>
2620
+ <show_in_store>1</show_in_store>
2621
+ <depends>
2622
+ <allowspecific>1</allowspecific>
2623
+ <active>1</active>
2624
+ </depends>
2625
+ </specificcountry>
2626
+ <min_order_total translate="label comment">
2627
+ <label>Minimum Order Total</label>
2628
+ <config_path>payment/pbxep_kwixo_credit/min_order_total</config_path>
2629
+ <frontend_type>text</frontend_type>
2630
+ <sort_order>230</sort_order>
2631
+ <show_in_default>1</show_in_default>
2632
+ <show_in_website>1</show_in_website>
2633
+ <show_in_store>1</show_in_store>
2634
+ <depends>
2635
+ <active>1</active>
2636
+ </depends>
2637
+ </min_order_total>
2638
+ <max_order_total translate="label comment">
2639
+ <label>Maximum Order Total</label>
2640
+ <config_path>payment/pbxep_kwixo_credit/max_order_total</config_path>
2641
+ <frontend_type>text</frontend_type>
2642
+ <sort_order>240</sort_order>
2643
+ <show_in_default>1</show_in_default>
2644
+ <show_in_website>1</show_in_website>
2645
+ <show_in_store>1</show_in_store>
2646
+ <depends>
2647
+ <active>1</active>
2648
+ </depends>
2649
+ </max_order_total>
2650
+ </fields>
2651
+ </kwixo_credit>
2652
+ <kwixo_onexrnp translate="label comment">
2653
+ <label>Paiement par Kwixo 1xrnp</label>
2654
+ <expanded>1</expanded>
2655
+ <frontend_type>text</frontend_type>
2656
+ <sort_order>40</sort_order>
2657
+ <show_in_default>1</show_in_default>
2658
+ <show_in_website>1</show_in_website>
2659
+ <show_in_store>1</show_in_store>
2660
+ <fields>
2661
+ <active translate="label comment">
2662
+ <label>Enable</label>
2663
+ <frontend_type>select</frontend_type>
2664
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2665
+ <config_path>payment/pbxep_kwixo_onexrnp/active</config_path>
2666
+ <sort_order>10</sort_order>
2667
+ <show_in_default>1</show_in_default>
2668
+ <show_in_website>1</show_in_website>
2669
+ <show_in_store>1</show_in_store>
2670
+ </active>
2671
+ <title translate="label comment">
2672
+ <label>Title</label>
2673
+ <config_path>payment/pbxep_kwixo_onexrnp/title</config_path>
2674
+ <frontend_type>text</frontend_type>
2675
+ <sort_order>20</sort_order>
2676
+ <show_in_default>1</show_in_default>
2677
+ <show_in_website>1</show_in_website>
2678
+ <show_in_store>1</show_in_store>
2679
+ <depends>
2680
+ <active>1</active>
2681
+ </depends>
2682
+ </title>
2683
+ <sort_order translate="label comment">
2684
+ <label>Sort Order</label>
2685
+ <config_path>payment/pbxep_kwixo_onexrnp/sort_order</config_path>
2686
+ <frontend_type>text</frontend_type>
2687
+ <sort_order>30</sort_order>
2688
+ <show_in_default>1</show_in_default>
2689
+ <show_in_website>1</show_in_website>
2690
+ <show_in_store>1</show_in_store>
2691
+ <frontend_class>validate-number</frontend_class>
2692
+ <depends>
2693
+ <active>1</active>
2694
+ </depends>
2695
+ </sort_order>
2696
+ <status translate="label comment">
2697
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2698
+ <label>Payment status</label>
2699
+ <sort_order>100</sort_order>
2700
+ <show_in_default>1</show_in_default>
2701
+ <show_in_website>1</show_in_website>
2702
+ <show_in_store>1</show_in_store>
2703
+ <depends>
2704
+ <active>1</active>
2705
+ </depends>
2706
+ </status>
2707
+ <status_authorized translate="label comment">
2708
+ <label>Once authorized</label>
2709
+ <config_path>payment/pbxep_kwixo_onexrnp/status/authorized</config_path>
2710
+ <frontend_type>select</frontend_type>
2711
+ <source_model>pbxep/admin_order_status_pendingpayment</source_model>
2712
+ <validate>required-entry</validate>
2713
+ <sort_order>110</sort_order>
2714
+ <show_in_default>1</show_in_default>
2715
+ <show_in_website>1</show_in_website>
2716
+ <show_in_store>0</show_in_store>
2717
+ <depends>
2718
+ <active>1</active>
2719
+ <action>manual</action>
2720
+ </depends>
2721
+ </status_authorized>
2722
+ <status_paid translate="label comment">
2723
+ <label>Once paid</label>
2724
+ <config_path>payment/pbxep_kwixo_onexrnp/status/paid</config_path>
2725
+ <frontend_type>select</frontend_type>
2726
+ <source_model>pbxep/admin_order_status_processing</source_model>
2727
+ <validate>required-entry</validate>
2728
+ <sort_order>110</sort_order>
2729
+ <show_in_default>1</show_in_default>
2730
+ <show_in_website>1</show_in_website>
2731
+ <show_in_store>0</show_in_store>
2732
+ <depends>
2733
+ <active>1</active>
2734
+ </depends>
2735
+ </status_paid>
2736
+ <status_auto_capture translate="label comment">
2737
+ <label>Automatic capture status</label>
2738
+ <config_path>payment/pbxep_kwixo_onexrnp/status/auto_capture</config_path>
2739
+ <frontend_type>select</frontend_type>
2740
+ <source_model>pbxep/admin_order_status_autocapture</source_model>
2741
+ <sort_order>112</sort_order>
2742
+ <show_in_default>1</show_in_default>
2743
+ <show_in_website>1</show_in_website>
2744
+ <show_in_store>0</show_in_store>
2745
+ <depends>
2746
+ <active>1</active>
2747
+ <action>manual</action>
2748
+ </depends>
2749
+ </status_auto_capture>
2750
+ <conditions translate="label comment">
2751
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2752
+ <label>Conditions</label>
2753
+ <sort_order>200</sort_order>
2754
+ <show_in_default>1</show_in_default>
2755
+ <show_in_website>1</show_in_website>
2756
+ <show_in_store>1</show_in_store>
2757
+ <depends>
2758
+ <active>1</active>
2759
+ </depends>
2760
+ </conditions>
2761
+ <allowspecific translate="label comment">
2762
+ <label>Payment from Applicable Countries</label>
2763
+ <config_path>payment/pbxep_kwixo_onexrnp/allowspecific</config_path>
2764
+ <frontend_type>allowspecific</frontend_type>
2765
+ <sort_order>210</sort_order>
2766
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2767
+ <show_in_default>1</show_in_default>
2768
+ <show_in_website>1</show_in_website>
2769
+ <show_in_store>1</show_in_store>
2770
+ <depends>
2771
+ <active>1</active>
2772
+ </depends>
2773
+ </allowspecific>
2774
+ <specificcountry translate="label comment">
2775
+ <label>Payment from Specific Countries</label>
2776
+ <config_path>payment/pbxep_kwixo_onexrnp/specificcountry</config_path>
2777
+ <frontend_type>multiselect</frontend_type>
2778
+ <sort_order>220</sort_order>
2779
+ <source_model>adminhtml/system_config_source_country</source_model>
2780
+ <show_in_default>1</show_in_default>
2781
+ <show_in_website>1</show_in_website>
2782
+ <show_in_store>1</show_in_store>
2783
+ <depends>
2784
+ <allowspecific>1</allowspecific>
2785
+ <active>1</active>
2786
+ </depends>
2787
+ </specificcountry>
2788
+ <min_order_total translate="label comment">
2789
+ <label>Minimum Order Total</label>
2790
+ <config_path>payment/pbxep_kwixo_onexrnp/min_order_total</config_path>
2791
+ <frontend_type>text</frontend_type>
2792
+ <sort_order>230</sort_order>
2793
+ <show_in_default>1</show_in_default>
2794
+ <show_in_website>1</show_in_website>
2795
+ <show_in_store>1</show_in_store>
2796
+ <depends>
2797
+ <active>1</active>
2798
+ </depends>
2799
+ </min_order_total>
2800
+ <max_order_total translate="label comment">
2801
+ <label>Maximum Order Total</label>
2802
+ <config_path>payment/pbxep_kwixo_onexrnp/max_order_total</config_path>
2803
+ <frontend_type>text</frontend_type>
2804
+ <sort_order>240</sort_order>
2805
+ <show_in_default>1</show_in_default>
2806
+ <show_in_website>1</show_in_website>
2807
+ <show_in_store>1</show_in_store>
2808
+ <depends>
2809
+ <active>1</active>
2810
+ </depends>
2811
+ </max_order_total>
2812
+ </fields>
2813
+ </kwixo_onexrnp>
2814
+ </groups>
2815
+ </pbxep_kwixo>
2816
+ </sections>
2817
+ </config>
app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-install-0.1.0.php CHANGED
@@ -38,6 +38,9 @@ $defs = array(
38
  'pbxep_third_payment' => array(
39
  'type' => 'text',
40
  ),
 
 
 
41
  );
42
 
43
  $entity = 'order_payment';
@@ -46,5 +49,37 @@ foreach ($defs as $name => $def) {
46
  $installer->addAttribute('order_payment', $name, $def);
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  // Finalization
50
  $installer->endSetup();
38
  'pbxep_third_payment' => array(
39
  'type' => 'text',
40
  ),
41
+ 'pbxep_fourth_payment' => array(
42
+ 'type' => 'text',
43
+ ),
44
  );
45
 
46
  $entity = 'order_payment';
49
  $installer->addAttribute('order_payment', $name, $def);
50
  }
51
 
52
+ // Required tables
53
+ $statusStateTable = $installer->getTable('sales/order_status_state');
54
+
55
+ // Insert statuses
56
+ $installer->getConnection()->insertArray(
57
+ $statusTable,
58
+ array(
59
+ 'status',
60
+ 'label'
61
+ ),
62
+ array(
63
+ array('status' => 'pbxep_partiallypaid', 'label' => 'Paid Partially'),
64
+ )
65
+ );
66
+
67
+ // Insert states and mapping of statuses to states
68
+ $installer->getConnection()->insertArray(
69
+ $statusStateTable,
70
+ array(
71
+ 'status',
72
+ 'state',
73
+ 'is_default'
74
+ ),
75
+ array(
76
+ array(
77
+ 'status' => 'pbxep_partiallypaid',
78
+ 'state' => 'processing',
79
+ 'is_default' => 1
80
+ ),
81
+ )
82
+ );
83
+
84
  // Finalization
85
  $installer->endSetup();
app/code/community/Paybox/Epayment/sql/pbxep_setup/mysql4-install-2.0.5d.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $installer = $this;
14
+ $installer->startSetup();
15
+
16
+ // Required tables
17
+ $statusTable = $installer->getTable('sales/order_status');
18
+ $statusStateTable = $installer->getTable('sales/order_status_state');
19
+
20
+ // Insert statuses
21
+ if(!$installer->getConnection()->insertArray(
22
+ $statusTable,
23
+ array(
24
+ 'status',
25
+ 'label'
26
+ ),
27
+ array(
28
+ array('status' => 'pbxep_partiallypaid', 'label' => 'Paid Partially'),
29
+ )
30
+ )){
31
+ $this->logDebug('E-Transactions status install failed');
32
+ }
33
+
34
+ // Insert states and mapping of statuses to states
35
+ if(!$installer->getConnection()->insertArray(
36
+ $statusStateTable,
37
+ array(
38
+ 'status',
39
+ 'state',
40
+ 'is_default'
41
+ ),
42
+ array(
43
+ array(
44
+ 'status' => 'pbxep_partiallypaid',
45
+ 'state' => 'processing',
46
+ 'is_default' => 1
47
+ ),
48
+ )
49
+ )){
50
+ $this->logDebug('E-Transactions StatusState install failed');
51
+ }
52
+
53
+ // Finalization
54
+ $installer->endSetup();
app/design/adminhtml/default/default/template/pbxep/info/default.phtml CHANGED
@@ -59,10 +59,10 @@ $threeTime = $this->getThreeTimeLabels();
59
  <td><?php echo $this->__('Second debit'); ?></td>
60
  <td><?php echo $this->escapeHtml($threeTime['second']); ?></td>
61
  </tr>
62
- <tr>
63
  <td><?php echo $this->__('Third debit'); ?></td>
64
  <td><?php echo $this->escapeHtml($threeTime['third']); ?></td>
65
- </tr>
66
  <?php endif; ?>
67
  <?php if (isset($data['country'])): ?>
68
  <tr>
59
  <td><?php echo $this->__('Second debit'); ?></td>
60
  <td><?php echo $this->escapeHtml($threeTime['second']); ?></td>
61
  </tr>
62
+ <!-- <tr>
63
  <td><?php echo $this->__('Third debit'); ?></td>
64
  <td><?php echo $this->escapeHtml($threeTime['third']); ?></td>
65
+ </tr>-->
66
  <?php endif; ?>
67
  <?php if (isset($data['country'])): ?>
68
  <tr>
app/design/frontend/base/default/template/pbxep/info/default.phtml CHANGED
@@ -63,12 +63,12 @@ $threeTime = $this->getThreeTimeLabels();
63
  <tr>
64
  <td><?php echo $this->escapeHtml($threeTime['second']); ?></td>
65
  </tr>
66
- <tr>
67
  <th><?php echo $this->__('Third debit'); ?></th>
68
  </tr>
69
  <tr>
70
  <td><?php echo $this->escapeHtml($threeTime['third']); ?></td>
71
- </tr>
72
  <?php endif; ?>
73
  <?php if (isset($data['country'])): ?>
74
  <tr>
63
  <tr>
64
  <td><?php echo $this->escapeHtml($threeTime['second']); ?></td>
65
  </tr>
66
+ <!-- <tr>
67
  <th><?php echo $this->__('Third debit'); ?></th>
68
  </tr>
69
  <tr>
70
  <td><?php echo $this->escapeHtml($threeTime['third']); ?></td>
71
+ </tr>-->
72
  <?php endif; ?>
73
  <?php if (isset($data['country'])): ?>
74
  <tr>
app/locale/fr_FR/Paybox_Epayment.csv CHANGED
@@ -2,7 +2,14 @@
2
  "No","Non"
3
  "Title","Titre"
4
  "Sort Order","Ordre de tri"
5
-
 
 
 
 
 
 
 
6
  "<span style=""color:red"">Do not use the ""test"" environment on production site. Payments will <strong>not</strong> be satisfied.</span>","<span style=""color:red"">Ne pas utiliser l'environnement ""test"" sur le site de production. Les paiements ne se feront <strong>pas</strong>."
7
  "Merchant information","Information sur le commer&ccedil;ant"
8
  "Pending Payment","Paiement en attente"
@@ -49,6 +56,7 @@
49
  "First debit","Premier débit"
50
  "Second debit","Deuxième débit"
51
  "Third debit","Troisième débit"
 
52
  "Card country","Pays de la carte"
53
  "Card numbers","Numéros de la carte"
54
  "Validity date","Date de validité"
@@ -95,7 +103,14 @@
95
  "Payment methods","Moyens de paiement"
96
  "Rank number","Numéro de rang"
97
  "Site number","Numéro de site"
 
 
98
  "Pay by Card Three Times","Paiement en trois fois par carte bancaire"
 
 
 
 
 
99
  "Pay by Bancontact Mister Cash","Paiement par Bancontact/Mistercash"
100
  "Pay by Buyster","Paiement par Buyster"
101
  "Pay by Saving or Prepaid Ticket","Paiement par cagnotte ou ticket prépayé"
@@ -147,6 +162,7 @@
147
  "Payment was authorized and captured by Paybox.","Le paiement a été autorisé et captur&eacute; par Paybox."
148
  "Second payment was captured by Paybox.","Le deuxième paiement a été capturé par Paybox."
149
  "Third payment was captured by Paybox.","Le troisième paiement a été capturé par Paybox."
 
150
  "No transaction found.","Aucune transaction trouvé."
151
  "Payment never authorized.","Le paiement n'a pas été autorisé."
152
  "Unexpected condition.","Une erreur imprévue s'est produite."
2
  "No","Non"
3
  "Title","Titre"
4
  "Sort Order","Ordre de tri"
5
+ "NbTimes","Nombre d'échéances"
6
+ "NbDays","Périodicité"
7
+ "Periodicity Settings","Réglages de la périodicité"
8
+ "First Payment was authorized and captured by Paybox.", "Premier paiement autorisé et capturé par Paybox"
9
+ "Enter a number for days, or 'x month, 'x week'.","Saisissez le nombre de jours, ou 'x month' , 'x week' ou même une date si vous êtes sur un paiement en 2 fois. yyyy-MM-dd"
10
+ "Two","Deux"
11
+ "Three","Trois"
12
+ "Four","Quatre"
13
  "<span style=""color:red"">Do not use the ""test"" environment on production site. Payments will <strong>not</strong> be satisfied.</span>","<span style=""color:red"">Ne pas utiliser l'environnement ""test"" sur le site de production. Les paiements ne se feront <strong>pas</strong>."
14
  "Merchant information","Information sur le commer&ccedil;ant"
15
  "Pending Payment","Paiement en attente"
56
  "First debit","Premier débit"
57
  "Second debit","Deuxième débit"
58
  "Third debit","Troisième débit"
59
+ "Fourth debit","Quatrième débit"
60
  "Card country","Pays de la carte"
61
  "Card numbers","Numéros de la carte"
62
  "Validity date","Date de validité"
103
  "Payment methods","Moyens de paiement"
104
  "Rank number","Numéro de rang"
105
  "Site number","Numéro de site"
106
+ "Pay by Card in N Times","Paiement en N fois par carte bancaire"
107
+ "Pay by Card Two Times","Paiement en deux fois par carte bancaire"
108
  "Pay by Card Three Times","Paiement en trois fois par carte bancaire"
109
+ "Pay by Card Four Times","Paiement en quatre fois par carte bancaire"
110
+ "Pay by Private Card in N Times","Paiement en N fois par carte privative"
111
+ "Pay by Private Card Two Times","Paiement en deux fois par carte privative"
112
+ "Pay by Private Card Three Times","Paiement en trois fois par carte privative"
113
+ "Pay by Private Card Four Times","Paiement en quatre fois par carte privative"
114
  "Pay by Bancontact Mister Cash","Paiement par Bancontact/Mistercash"
115
  "Pay by Buyster","Paiement par Buyster"
116
  "Pay by Saving or Prepaid Ticket","Paiement par cagnotte ou ticket prépayé"
162
  "Payment was authorized and captured by Paybox.","Le paiement a été autorisé et captur&eacute; par Paybox."
163
  "Second payment was captured by Paybox.","Le deuxième paiement a été capturé par Paybox."
164
  "Third payment was captured by Paybox.","Le troisième paiement a été capturé par Paybox."
165
+ "Fourth payment was captured by Paybox.","Le quatrième paiement a été capturé par Paybox."
166
  "No transaction found.","Aucune transaction trouvé."
167
  "Payment never authorized.","Le paiement n'a pas été autorisé."
168
  "Unexpected condition.","Une erreur imprévue s'est produite."
package.xml CHANGED
@@ -1,7 +1,7 @@
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,11 +13,24 @@ Une fonction de remboursement partiel ou total d&#x2019;une commande.&#xD;
13
  Des outils anti-fraude &#xE0; la carte : 3D Secure, Filtres sur nationalit&#xE9;s Carte / IP, alerte paiements multiples.&#xD;
14
  La possibilit&#xE9; de prise de paiement par t&#xE9;l&#xE9;phone&#xD;
15
  Un acc&#xE8;s Back Office Paybox avec des fonctions de reporting : suivi transactions temps r&#xE9;el et export de journaux d&#x2019;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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Paybox_epayment</name>
4
+ <version>2.0.6</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 &#xE0; la carte : 3D Secure, Filtres sur nationalit&#xE9;s Carte / IP, alerte paiements multiples.&#xD;
14
  La possibilit&#xE9; de prise de paiement par t&#xE9;l&#xE9;phone&#xD;
15
  Un acc&#xE8;s Back Office Paybox avec des fonctions de reporting : suivi transactions temps r&#xE9;el et export de journaux d&#x2019;encaissement</description>
16
+ <notes>added amex three times payment&#xD;
17
+ &#xD;
18
+ added n times (2 to 4 terms) with fine tuning of the periodicity&#xD;
19
+ &#xD;
20
+ added the two parts payment funcitonality, with set date for second term.&#xD;
21
+ &#xD;
22
+ Minor changes&#xD;
23
+ Added 3d secure sttaus in the transaction details.&#xD;
24
+ &#xD;
25
+ corrected: signature validation with compiilation&#xD;
26
+ &#xD;
27
+ corrected: IPN ip filtering when behind proxy&#xD;
28
+ &#xD;
29
+ -Stable version-</notes>
30
  <authors><author><name>Paybox</name><user>paybox</user><email>magento@paybox.com</email></author></authors>
31
+ <date>2016-03-07</date>
32
+ <time>10:42:24</time>
33
+ <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="4748870f26c5a5c4495c20dd9e55c838"/><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"/><file name="Threetimeprivate.php" hash="14f8c9fe80cd0c148e20277111828808"/></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="Partiallypaid.php" hash="b8db1741ca5fb05a84d8b1816d2a79e7"/><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="Nbtimes.php" hash="afb6b69ad27fa51c1240d3961a778054"/><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="1636ae1c899e950d8ee694741518c0ea"/><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="9940767701b6907ae0d2cad6a9838b9b"/><dir name="Payment"><file name="Abstract.php" hash="ce70793e2d77924969b3a7d26b4aef39"/><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="030e94b8518ec6b64684e2a75c636305"/><file name="Threetimeprivate.php" hash="f8e2f859b22a7fbf2620809047654f05"/></dir><dir name="Resource"><file name="Setup.php" hash="4f160a72b36fa2004020503a69a7efe3"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="PbxepController.php" hash="6a204e500861bcb9e792e79f49ec88f9"/></dir><file name="PaymentController.php" hash="8a4ad19a53f9365a5037a69a95acbbc6"/></dir><dir name="data"><dir name="pbxep_setup"><file name="data-install-2.0.5d.php" hash="02a3f3bb3aefa52a029565fb5aeb6dda"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="479ca80d7b7b7e649e000b25c5b0f9ed"/><file name="config.xml" hash="672fc775548209422381f21a4afeb342"/><file name="pubkey.pem" hash="d534e7a4f811f41497b614d0e83979a4"/><file name="system.xml" hash="7a053b74f477609fe066a9cd991dd99d"/></dir><dir name="sql"><dir name="pbxep_setup"><file name="mysql4-install-0.1.0.php" hash="963a53e2d9772292691113ed305b33f4"/><file name="mysql4-install-2.0.5d.php" hash="7be0dce9e28188f1f252948e6d0b52dd"/><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="c9b53c518f24f56e96be402e5d8b4584"/></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="5b4cce6fbe301d06c54b2d95b8cbe0d2"/></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="ILLICADO.45.png" hash="2c5b3b93732d4a33ecf10a4e7aabe4a6"/><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-old.png" hash="3e3b08f1c078cbf1103ceb097a526a4f"/><file name="cb.45.png" hash="2a9ea36af858582ac1f902386052aebb"/><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="92b92f0703b9a684acd7b00a4f4f2f98"/></dir></target></contents>
34
  <compatible/>
35
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>openssl</name><min></min><max></max></extension></required></dependencies>
36
  </package>
skin/frontend/base/default/images/pbxep/ILLICADO.45.png ADDED
Binary file
skin/frontend/base/default/images/pbxep/cb.45-old.png ADDED
Binary file
skin/frontend/base/default/images/pbxep/cb.45.png CHANGED
Binary file