Mundipagg_Integracao - Version 2.9.1

Version Notes

Antifraud minimum value config renamed

Download this release

Release Info

Developer MundiPagg
Extension Mundipagg_Integracao
Version 2.9.1
Comparing to
See all releases


Code changes from version 2.8.0 to 2.9.1

app/code/community/Uecommerce/Mundipagg/Helper/Data.php CHANGED
@@ -27,482 +27,549 @@
27
  * @package Uecommerce_Mundipagg
28
  * @author Uecommerce Dev Team
29
  */
30
-
31
- class Uecommerce_Mundipagg_Helper_Data extends Mage_Core_Helper_Abstract
32
- {
33
- protected $config_juros;
34
-
35
- /**
36
- * Get extension version
37
- */
38
- public function getExtensionVersion()
39
- {
40
- return (string) Mage::getConfig()->getNode()->modules->Uecommerce_Mundipagg->version;
41
- }
42
-
43
- /**
44
- * Return issuer
45
- * @param varchar $cardType
46
- */
47
- public function issuer($cardType)
48
- {
49
- if ( $cardType == '') {
50
- return '';
51
- } else {
52
- $issuers = array(
53
- 'VI' => 'Visa',
54
- 'MC' => 'Mastercard',
55
- 'AE' => 'Amex',
56
- 'DI' => 'Diners',
57
- 'HI' => 'Hipercard',
58
- 'EL' => 'Elo',
59
- );
60
-
61
- foreach ($issuers as $key => $issuer) {
62
- if ($key == $cardType) {
63
- return $issuer;
64
- }
65
- }
66
- }
67
- }
68
-
69
- /**
70
- * Return cardType
71
- * @param string $issuer
72
- */
73
- public function getCardTypeByIssuer($issuer){
74
- if ( $issuer == '') {
75
- return '';
76
- } else {
77
- $issuers = array(
78
- 'VI' => 'Visa',
79
- 'MC' => 'Mastercard',
80
- 'AE' => 'Amex',
81
- 'DI' => 'Diners',
82
- 'HI' => 'Hipercard',
83
- 'EL' => 'Elo',
84
- );
85
-
86
- foreach ($issuers as $key => $cardType) {
87
- if ($cardType == $issuer) {
88
- return $key;
89
- }
90
- }
91
- }
92
- }
93
-
94
- /**
95
- * Get credit cards number
96
- */
97
- public function getCreditCardsNumber($payment_method)
98
- {
99
- $num = 1;
100
-
101
- switch ($payment_method) {
102
- case 'mundipagg_creditcardoneinstallment':
103
- $num = 0;
104
- break;
105
-
106
- case 'mundipagg_creditcard':
107
- $num = 1;
108
- break;
109
-
110
- case 'mundipagg_twocreditcards':
111
- $num = 2;
112
- break;
113
-
114
- case 'mundipagg_threecreditcards':
115
- $num = 3;
116
- break;
117
-
118
- case 'mundipagg_fourcreditcards':
119
- $num = 4;
120
- break;
121
-
122
- case 'mundipagg_fivecreditcards':
123
- $num = 5;
124
- break;
125
- }
126
-
127
- return $num;
128
- }
129
-
130
- /**
131
- * Return payment method
132
- */
133
- public function getPaymentMethod($num)
134
- {
135
- $method = '';
136
-
137
- switch ($num) {
138
- case '0':
139
- $method = 'mundipagg_creditcardoneinstallment';
140
- break;
141
- case '1':
142
- $method = 'mundipagg_creditcard';
143
- break;
144
- case '2':
145
- $method = 'mundipagg_twocreditcards';
146
- break;
147
- case '3':
148
- $method = 'mundipagg_threecreditcards';
149
- break;
150
- case '4':
151
- $method = 'mundipagg_fourcreditcards';
152
- break;
153
- case '5':
154
- $method = 'mundipagg_fivecreditcards';
155
- break;
156
- }
157
-
158
- return $method;
159
- }
160
-
161
- public function validateExpDate($expYear, $expMonth)
162
- {
163
- $date = Mage::app()->getLocale()->date();
164
- if (!$expYear || !$expMonth || ($date->compareYear($expYear) == 1)
165
- || ($date->compareYear($expYear) == 0 && ($date->compareMonth($expMonth) == 1))
166
- ) {
167
- return false;
168
- }
169
- return true;
170
- }
171
-
172
- /**
173
- * Validate credit card number
174
- *
175
- * @param string $cc_number
176
- * @return bool
177
- */
178
- public function validateCcNum($ccNumber)
179
- {
180
- $cardNumber = strrev($ccNumber);
181
- $numSum = 0;
182
-
183
- for ($i=0; $i<strlen($cardNumber); $i++) {
184
- $currentNum = substr($cardNumber, $i, 1);
185
-
186
- /**
187
- * Double every second digit
188
- */
189
- if ($i % 2 == 1) {
190
- $currentNum *= 2;
191
- }
192
-
193
- /**
194
- * Add digits of 2-digit numbers together
195
- */
196
- if ($currentNum > 9) {
197
- $firstNum = $currentNum % 10;
198
- $secondNum = ($currentNum - $firstNum) / 10;
199
- $currentNum = $firstNum + $secondNum;
200
- }
201
-
202
- $numSum += $currentNum;
203
- }
204
-
205
- /**
206
- * If the total has no remainder it's OK
207
- */
208
- return ($numSum % 10 == 0);
209
- }
210
-
211
- /**
212
- * Validate CPF
213
- */
214
- public function validateCPF($cpf)
215
- {
216
- // Verifiva se o número digitado contém todos os digitos
217
- $cpf = preg_replace('[\D]', '', $cpf);
218
-
219
- // Verifica se nenhuma das sequências abaixo foi digitada, caso seja, retorna falso
220
- if (strlen($cpf) != 11 ||
221
- $cpf == '00000000000' ||
222
- $cpf == '11111111111' ||
223
- $cpf == '22222222222' ||
224
- $cpf == '33333333333' ||
225
- $cpf == '44444444444' ||
226
- $cpf == '55555555555' ||
227
- $cpf == '66666666666' ||
228
- $cpf == '77777777777' ||
229
- $cpf == '88888888888' ||
230
- $cpf == '99999999999') {
231
- return false;
232
- } else { // Calcula os números para verificar se o CPF é verdadeiro
233
- for ($t = 9; $t < 11; $t++) {
234
- for ($d = 0, $c = 0; $c < $t; $c++) {
235
- $d += $cpf{$c} * (($t + 1) - $c);
236
- }
237
-
238
- $d = ((10 * $d) % 11) % 10;
239
-
240
- if ($cpf{$c} != $d) {
241
- return false;
242
- }
243
- }
244
-
245
- return true;
246
- }
247
- }
248
-
249
- /**
250
- * Validate CNPJ
251
- */
252
- public function validateCNPJ($value)
253
- {
254
- $cnpj = str_replace(array("-"," ","/","."), "", $value);
255
- $digitosIguais = 1;
256
-
257
- if (strlen($cnpj) < 14 && strlen($cnpj) < 15) {
258
- return false;
259
- }
260
- for ($i = 0; $i < strlen($cnpj) - 1; $i++) {
261
-
262
- if ($cnpj{$i} != $cnpj{$i + 1}) {
263
- $digitosIguais = 0;
264
- break;
265
- }
266
- }
267
-
268
- if (!$digitosIguais) {
269
- $tamanho = strlen($cnpj) - 2;
270
- $numeros = substr($cnpj, 0, $tamanho);
271
- $digitos = substr($cnpj, $tamanho);
272
- $soma = 0;
273
- $pos = $tamanho - 7;
274
- for ($i = $tamanho; $i >= 1; $i--) {
275
- $soma += $numeros{$tamanho - $i} * $pos--;
276
- if ($pos < 2) {
277
- $pos = 9;
278
- }
279
- }
280
- $resultado = ($soma % 11 < 2 ? 0 : 11 - $soma % 11);
281
- if ($resultado != $digitos{0}) {
282
- return false;
283
- }
284
- $tamanho = $tamanho + 1;
285
- $numeros = substr($cnpj, 0, $tamanho);
286
- $soma = 0;
287
- $pos = $tamanho - 7;
288
- for ($i = $tamanho; $i >= 1; $i--) {
289
- $soma += $numeros{$tamanho - $i} * $pos--;
290
- if ($pos < 2) {
291
- $pos = 9;
292
- }
293
- }
294
- $resultado = ($soma % 11 < 2 ? 0 : 11 - $soma % 11);
295
- if ($resultado != $digitos{1}) {
296
- return false;
297
- } else {
298
- return true;
299
- }
300
- } else {
301
- return false;
302
- }
303
- }
304
-
305
- /**
306
- * Apply telephone mask
307
- */
308
- public function applyTelephoneMask($string)
309
- {
310
- $string = preg_replace('[\D]', '', $string);
311
-
312
- $length = strlen($string);
313
-
314
- switch ($length) {
315
- case 10:
316
- $mask = '(##)########';
317
- break;
318
-
319
- case 11:
320
- $mask = '(##)#########';
321
- break;
322
-
323
- default:
324
- return '';
325
- }
326
-
327
- for($i=0;$i<strlen($string);$i++) {
328
- $mask[strpos($mask,"#")] = $string[$i];
329
- }
330
-
331
- return '55'.$mask;
332
- }
333
-
334
- /**
335
- * PhoneRequestCollection
336
- *
337
- * @param $order Mage_Sales_Model_Order
338
- * @return array
339
- */
340
- public function getPhoneRequestCollection(Mage_Sales_Model_Order $order)
341
- {
342
- $billingAddress = $order->getBillingAddress();
343
- $telephone = $billingAddress->getTelephone();
344
-
345
- $telephone = $this->applyTelephoneMask($telephone);
346
-
347
- if(!$telephone) {
348
- $telephone = '55(21)88888888';
349
- }
350
-
351
- $phoneTypeEnum = 'Residential';
352
- if($this->validateCNPJ($order->getCustomerTaxvat())) {
353
- $phoneTypeEnum = 'Comercial';
354
- }
355
-
356
- $dataReturn = array(
357
- array(
358
- 'AreaCode' => substr($telephone, 3, 2),
359
- 'CountryCode' => substr($telephone, 0, 2),
360
- 'Extension' => '',
361
- 'PhoneNumber' => substr($telephone, 6, strlen($telephone)),
362
- 'PhoneTypeEnum' => $phoneTypeEnum
363
- )
364
- );
365
-
366
- return $dataReturn;
367
- }
368
-
369
- /**
370
- * Retorna o valor de uma parcela
371
- * - valor total a ser parcelado
372
- * - taxa de juros
373
- * - numero de prestacoes
374
- *
375
- * Thanks to Fillipe Almeida Dutra
376
- */
377
- public function calcInstallmentValue($total, $interest, $periods)
378
- {
379
- /*
380
- * Formula do coeficiente:
381
- *
382
- * juros / ( 1 - 1 / (1 + i)^n )
383
- *
384
- */
385
-
386
- // calcula o coeficiente, seguindo a formula acima
387
- $coefficient = pow((1 + $interest), $periods);
388
- $coefficient = 1 / $coefficient;
389
- $coefficient = 1 - $coefficient;
390
- $coefficient = $interest / $coefficient;
391
-
392
- // retorna o valor da parcela
393
- return ($total * $coefficient);
394
- }
395
-
396
- public function getJurosParcela($total, $parcela)
397
- {
398
- $juros = $this->getJurosParcelaEscolhida($parcela);
399
-
400
- if ($juros) {
401
- return $total * $juros / $parcela;
402
- } else {
403
- return $total / $parcela;
404
- }
405
- }
406
-
407
- public function getTotalJuros($total, $parcela)
408
- {
409
- return $this->getJurosParcela($total, $parcela) * $parcela;
410
- }
411
-
412
- public function getConfigJuros($position)
413
- {
414
- $configJuros =$this->config_juros;
415
-
416
- if (empty($configJuros)) {
417
- $storeId = Mage::app()->getStore()->getStoreId();
418
-
419
- $value2 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_2', $storeId);
420
- $value3 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_3', $storeId);
421
- $value4 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_4', $storeId);
422
- $value5 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_5', $storeId);
423
- $value6 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_6', $storeId);
424
- $value7 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_7', $storeId);
425
- $value8 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_8', $storeId);
426
- $value9 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_9', $storeId);
427
- $value10 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_10', $storeId);
428
- $value11 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_11', $storeId);
429
- $value12 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_12', $storeId);
430
-
431
- $this->config_juros = array(
432
- $this->prepareCalc($value2?$value2:0),
433
- $this->prepareCalc($value3?$value3:0),
434
- $this->prepareCalc($value4?$value4:0),
435
- $this->prepareCalc($value5?$value5:0),
436
- $this->prepareCalc($value6?$value6:0),
437
- $this->prepareCalc($value7?$value7:0),
438
- $this->prepareCalc($value8?$value8:0),
439
- $this->prepareCalc($value9?$value9:0),
440
- $this->prepareCalc($value10?$value10:0),
441
- $this->prepareCalc($value11?$value11:0),
442
- $this->prepareCalc($value12?$value12:0)
443
- );
444
- }
445
-
446
- return $this->config_juros[$position];
447
- }
448
-
449
- public function prepareCalc($value)
450
- {
451
- return (float) $value;
452
- }
453
-
454
- public function getJurosParcelaEscolhida($parcela)
455
- {
456
- $juros = 0;
457
-
458
- if ($parcela == 2) {
459
- $juros = $this->getConfigJuros(0);
460
- }
461
-
462
- if ($parcela > 2 && $parcela <= 3) {
463
- $juros = $this->getConfigJuros(1);
464
- }
465
-
466
- if ($parcela > 3 && $parcela <= 4) {
467
- $juros = $this->getConfigJuros(2);
468
- }
469
-
470
- if ($parcela > 4 && $parcela <= 5) {
471
- $juros = $this->getConfigJuros(3);
472
- }
473
-
474
- if ($parcela > 5 && $parcela <= 6) {
475
- $juros = $this->getConfigJuros(4);
476
- }
477
-
478
- if ($parcela > 6 && $parcela <= 7) {
479
- $juros = $this->getConfigJuros(5);
480
- }
481
-
482
- if ($parcela > 7 && $parcela <= 8) {
483
- $juros = $this->getConfigJuros(6);
484
- }
485
-
486
- if ($parcela > 8 && $parcela <= 9) {
487
- $juros = $this->getConfigJuros(7);
488
- }
489
-
490
- if ($parcela > 9 && $parcela <= 10) {
491
- $juros = $this->getConfigJuros(8);
492
- }
493
-
494
- if ($parcela > 10 && $parcela <= 11) {
495
- $juros = $this->getConfigJuros(9);
496
- }
497
-
498
- if ($parcela > 11) {
499
- $juros = $this->getConfigJuros(10);
500
- }
501
-
502
- return $juros;
503
- }
504
-
505
-
506
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
 
508
  }
27
  * @package Uecommerce_Mundipagg
28
  * @author Uecommerce Dev Team
29
  */
30
+ class Uecommerce_Mundipagg_Helper_Data extends Mage_Core_Helper_Abstract {
31
+ protected $config_juros;
32
+
33
+ /**
34
+ * Get extension version
35
+ */
36
+ public function getExtensionVersion() {
37
+ return (string)Mage::getConfig()->getNode()->modules->Uecommerce_Mundipagg->version;
38
+ }
39
+
40
+ /**
41
+ * Return issuer
42
+ * @param varchar $cardType
43
+ */
44
+ public function issuer($cardType) {
45
+ if ($cardType == '') {
46
+ return '';
47
+ } else {
48
+ $issuers = array(
49
+ 'VI' => 'Visa',
50
+ 'MC' => 'Mastercard',
51
+ 'AE' => 'Amex',
52
+ 'DI' => 'Diners',
53
+ 'HI' => 'Hipercard',
54
+ 'EL' => 'Elo',
55
+ );
56
+
57
+ foreach ($issuers as $key => $issuer) {
58
+ if ($key == $cardType) {
59
+ return $issuer;
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ /**
66
+ * Return cardType
67
+ * @param string $issuer
68
+ */
69
+ public function getCardTypeByIssuer($issuer) {
70
+ if ($issuer == '') {
71
+ return '';
72
+ } else {
73
+ $issuers = array(
74
+ 'VI' => 'Visa',
75
+ 'MC' => 'Mastercard',
76
+ 'AE' => 'Amex',
77
+ 'DI' => 'Diners',
78
+ 'HI' => 'Hipercard',
79
+ 'EL' => 'Elo',
80
+ );
81
+
82
+ foreach ($issuers as $key => $cardType) {
83
+ if ($cardType == $issuer) {
84
+ return $key;
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ /**
91
+ * Get credit cards number
92
+ */
93
+ public function getCreditCardsNumber($payment_method) {
94
+ $num = 1;
95
+
96
+ switch ($payment_method) {
97
+ case 'mundipagg_creditcardoneinstallment':
98
+ $num = 0;
99
+ break;
100
+
101
+ case 'mundipagg_creditcard':
102
+ $num = 1;
103
+ break;
104
+
105
+ case 'mundipagg_twocreditcards':
106
+ $num = 2;
107
+ break;
108
+
109
+ case 'mundipagg_threecreditcards':
110
+ $num = 3;
111
+ break;
112
+
113
+ case 'mundipagg_fourcreditcards':
114
+ $num = 4;
115
+ break;
116
+
117
+ case 'mundipagg_fivecreditcards':
118
+ $num = 5;
119
+ break;
120
+ }
121
+
122
+ return $num;
123
+ }
124
+
125
+ /**
126
+ * Return payment method
127
+ */
128
+ public function getPaymentMethod($num) {
129
+ $method = '';
130
+
131
+ switch ($num) {
132
+ case '0':
133
+ $method = 'mundipagg_creditcardoneinstallment';
134
+ break;
135
+ case '1':
136
+ $method = 'mundipagg_creditcard';
137
+ break;
138
+ case '2':
139
+ $method = 'mundipagg_twocreditcards';
140
+ break;
141
+ case '3':
142
+ $method = 'mundipagg_threecreditcards';
143
+ break;
144
+ case '4':
145
+ $method = 'mundipagg_fourcreditcards';
146
+ break;
147
+ case '5':
148
+ $method = 'mundipagg_fivecreditcards';
149
+ break;
150
+ }
151
+
152
+ return $method;
153
+ }
154
+
155
+ public function validateExpDate($expYear, $expMonth) {
156
+ $date = Mage::app()->getLocale()->date();
157
+ if (!$expYear || !$expMonth || ($date->compareYear($expYear) == 1)
158
+ || ($date->compareYear($expYear) == 0 && ($date->compareMonth($expMonth) == 1))
159
+ ) {
160
+ return false;
161
+ }
162
+
163
+ return true;
164
+ }
165
+
166
+ /**
167
+ * Validate credit card number
168
+ *
169
+ * @param string $cc_number
170
+ * @return bool
171
+ */
172
+ public function validateCcNum($ccNumber) {
173
+ $cardNumber = strrev($ccNumber);
174
+ $numSum = 0;
175
+
176
+ for ($i = 0; $i < strlen($cardNumber); $i++) {
177
+ $currentNum = substr($cardNumber, $i, 1);
178
+
179
+ /**
180
+ * Double every second digit
181
+ */
182
+ if ($i % 2 == 1) {
183
+ $currentNum *= 2;
184
+ }
185
+
186
+ /**
187
+ * Add digits of 2-digit numbers together
188
+ */
189
+ if ($currentNum > 9) {
190
+ $firstNum = $currentNum % 10;
191
+ $secondNum = ($currentNum - $firstNum) / 10;
192
+ $currentNum = $firstNum + $secondNum;
193
+ }
194
+
195
+ $numSum += $currentNum;
196
+ }
197
+
198
+ /**
199
+ * If the total has no remainder it's OK
200
+ */
201
+ return ($numSum % 10 == 0);
202
+ }
203
+
204
+ /**
205
+ * Validate CPF
206
+ */
207
+ public function validateCPF($cpf) {
208
+ // Verifiva se o número digitado contém todos os digitos
209
+ $cpf = preg_replace('[\D]', '', $cpf);
210
+
211
+ // Verifica se nenhuma das sequências abaixo foi digitada, caso seja, retorna falso
212
+ if (strlen($cpf) != 11 ||
213
+ $cpf == '00000000000' ||
214
+ $cpf == '11111111111' ||
215
+ $cpf == '22222222222' ||
216
+ $cpf == '33333333333' ||
217
+ $cpf == '44444444444' ||
218
+ $cpf == '55555555555' ||
219
+ $cpf == '66666666666' ||
220
+ $cpf == '77777777777' ||
221
+ $cpf == '88888888888' ||
222
+ $cpf == '99999999999'
223
+ ) {
224
+ return false;
225
+ } else { // Calcula os números para verificar se o CPF é verdadeiro
226
+ for ($t = 9; $t < 11; $t++) {
227
+ for ($d = 0, $c = 0; $c < $t; $c++) {
228
+ $d += $cpf{$c} * (($t + 1) - $c);
229
+ }
230
+
231
+ $d = ((10 * $d) % 11) % 10;
232
+
233
+ if ($cpf{$c} != $d) {
234
+ return false;
235
+ }
236
+ }
237
+
238
+ return true;
239
+ }
240
+ }
241
+
242
+ /**
243
+ * Validate CNPJ
244
+ */
245
+ public function validateCNPJ($value) {
246
+ $cnpj = str_replace(array("-", " ", "/", "."), "", $value);
247
+ $digitosIguais = 1;
248
+
249
+ if (strlen($cnpj) < 14 && strlen($cnpj) < 15) {
250
+ return false;
251
+ }
252
+ for ($i = 0; $i < strlen($cnpj) - 1; $i++) {
253
+
254
+ if ($cnpj{$i} != $cnpj{$i + 1}) {
255
+ $digitosIguais = 0;
256
+ break;
257
+ }
258
+ }
259
+
260
+ if (!$digitosIguais) {
261
+ $tamanho = strlen($cnpj) - 2;
262
+ $numeros = substr($cnpj, 0, $tamanho);
263
+ $digitos = substr($cnpj, $tamanho);
264
+ $soma = 0;
265
+ $pos = $tamanho - 7;
266
+ for ($i = $tamanho; $i >= 1; $i--) {
267
+ $soma += $numeros{$tamanho - $i} * $pos--;
268
+ if ($pos < 2) {
269
+ $pos = 9;
270
+ }
271
+ }
272
+ $resultado = ($soma % 11 < 2 ? 0 : 11 - $soma % 11);
273
+ if ($resultado != $digitos{0}) {
274
+ return false;
275
+ }
276
+ $tamanho = $tamanho + 1;
277
+ $numeros = substr($cnpj, 0, $tamanho);
278
+ $soma = 0;
279
+ $pos = $tamanho - 7;
280
+ for ($i = $tamanho; $i >= 1; $i--) {
281
+ $soma += $numeros{$tamanho - $i} * $pos--;
282
+ if ($pos < 2) {
283
+ $pos = 9;
284
+ }
285
+ }
286
+ $resultado = ($soma % 11 < 2 ? 0 : 11 - $soma % 11);
287
+ if ($resultado != $digitos{1}) {
288
+ return false;
289
+ } else {
290
+ return true;
291
+ }
292
+ } else {
293
+ return false;
294
+ }
295
+ }
296
+
297
+ /**
298
+ * Apply telephone mask
299
+ */
300
+ public function applyTelephoneMask($string) {
301
+ $string = preg_replace('[\D]', '', $string);
302
+
303
+ $length = strlen($string);
304
+
305
+ switch ($length) {
306
+ case 10:
307
+ $mask = '(##)########';
308
+ break;
309
+
310
+ case 11:
311
+ $mask = '(##)#########';
312
+ break;
313
+
314
+ default:
315
+ return '';
316
+ }
317
+
318
+ for ($i = 0; $i < strlen($string); $i++) {
319
+ $mask[strpos($mask, "#")] = $string[$i];
320
+ }
321
+
322
+ return '55' . $mask;
323
+ }
324
+
325
+ /**
326
+ * PhoneRequestCollection
327
+ *
328
+ * @param $order Mage_Sales_Model_Order
329
+ * @return array
330
+ */
331
+ public function getPhoneRequestCollection(Mage_Sales_Model_Order $order) {
332
+ $billingAddress = $order->getBillingAddress();
333
+ $telephone = $billingAddress->getTelephone();
334
+
335
+ $telephone = $this->applyTelephoneMask($telephone);
336
+
337
+ if (!$telephone) {
338
+ $telephone = '55(21)88888888';
339
+ }
340
+
341
+ $phoneTypeEnum = 'Residential';
342
+ if ($this->validateCNPJ($order->getCustomerTaxvat())) {
343
+ $phoneTypeEnum = 'Comercial';
344
+ }
345
+
346
+ $dataReturn = array(
347
+ array(
348
+ 'AreaCode' => substr($telephone, 3, 2),
349
+ 'CountryCode' => substr($telephone, 0, 2),
350
+ 'Extension' => '',
351
+ 'PhoneNumber' => substr($telephone, 6, strlen($telephone)),
352
+ 'PhoneTypeEnum' => $phoneTypeEnum
353
+ )
354
+ );
355
+
356
+ return $dataReturn;
357
+ }
358
+
359
+ /**
360
+ * Retorna o valor de uma parcela
361
+ * - valor total a ser parcelado
362
+ * - taxa de juros
363
+ * - numero de prestacoes
364
+ *
365
+ * Thanks to Fillipe Almeida Dutra
366
+ */
367
+ public function calcInstallmentValue($total, $interest, $periods) {
368
+ /*
369
+ * Formula do coeficiente:
370
+ *
371
+ * juros / ( 1 - 1 / (1 + i)^n )
372
+ *
373
+ */
374
+
375
+ // calcula o coeficiente, seguindo a formula acima
376
+ $coefficient = pow((1 + $interest), $periods);
377
+ $coefficient = 1 / $coefficient;
378
+ $coefficient = 1 - $coefficient;
379
+ $coefficient = $interest / $coefficient;
380
+
381
+ // retorna o valor da parcela
382
+ return ($total * $coefficient);
383
+ }
384
+
385
+ public function getJurosParcela($total, $parcela) {
386
+ $juros = $this->getJurosParcelaEscolhida($parcela);
387
+
388
+ if ($juros) {
389
+ return $total * $juros / $parcela;
390
+ } else {
391
+ return $total / $parcela;
392
+ }
393
+ }
394
+
395
+ public function getTotalJuros($total, $parcela) {
396
+ return $this->getJurosParcela($total, $parcela) * $parcela;
397
+ }
398
+
399
+ public function getConfigJuros($position) {
400
+ $configJuros = $this->config_juros;
401
+
402
+ if (empty($configJuros)) {
403
+ $storeId = Mage::app()->getStore()->getStoreId();
404
+
405
+ $value2 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_2', $storeId);
406
+ $value3 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_3', $storeId);
407
+ $value4 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_4', $storeId);
408
+ $value5 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_5', $storeId);
409
+ $value6 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_6', $storeId);
410
+ $value7 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_7', $storeId);
411
+ $value8 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_8', $storeId);
412
+ $value9 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_9', $storeId);
413
+ $value10 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_10', $storeId);
414
+ $value11 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_11', $storeId);
415
+ $value12 = Mage::getStoreConfig('payment/mundipagg_standard/installment_interest_value_12', $storeId);
416
+
417
+ $this->config_juros = array(
418
+ $this->prepareCalc($value2 ? $value2 : 0),
419
+ $this->prepareCalc($value3 ? $value3 : 0),
420
+ $this->prepareCalc($value4 ? $value4 : 0),
421
+ $this->prepareCalc($value5 ? $value5 : 0),
422
+ $this->prepareCalc($value6 ? $value6 : 0),
423
+ $this->prepareCalc($value7 ? $value7 : 0),
424
+ $this->prepareCalc($value8 ? $value8 : 0),
425
+ $this->prepareCalc($value9 ? $value9 : 0),
426
+ $this->prepareCalc($value10 ? $value10 : 0),
427
+ $this->prepareCalc($value11 ? $value11 : 0),
428
+ $this->prepareCalc($value12 ? $value12 : 0)
429
+ );
430
+ }
431
+
432
+ return $this->config_juros[$position];
433
+ }
434
+
435
+ public function prepareCalc($value) {
436
+ return (float)$value;
437
+ }
438
+
439
+ public function getJurosParcelaEscolhida($parcela) {
440
+ $juros = 0;
441
+
442
+ if ($parcela == 2) {
443
+ $juros = $this->getConfigJuros(0);
444
+ }
445
+
446
+ if ($parcela > 2 && $parcela <= 3) {
447
+ $juros = $this->getConfigJuros(1);
448
+ }
449
+
450
+ if ($parcela > 3 && $parcela <= 4) {
451
+ $juros = $this->getConfigJuros(2);
452
+ }
453
+
454
+ if ($parcela > 4 && $parcela <= 5) {
455
+ $juros = $this->getConfigJuros(3);
456
+ }
457
+
458
+ if ($parcela > 5 && $parcela <= 6) {
459
+ $juros = $this->getConfigJuros(4);
460
+ }
461
+
462
+ if ($parcela > 6 && $parcela <= 7) {
463
+ $juros = $this->getConfigJuros(5);
464
+ }
465
+
466
+ if ($parcela > 7 && $parcela <= 8) {
467
+ $juros = $this->getConfigJuros(6);
468
+ }
469
+
470
+ if ($parcela > 8 && $parcela <= 9) {
471
+ $juros = $this->getConfigJuros(7);
472
+ }
473
+
474
+ if ($parcela > 9 && $parcela <= 10) {
475
+ $juros = $this->getConfigJuros(8);
476
+ }
477
+
478
+ if ($parcela > 10 && $parcela <= 11) {
479
+ $juros = $this->getConfigJuros(9);
480
+ }
481
+
482
+ if ($parcela > 11) {
483
+ $juros = $this->getConfigJuros(10);
484
+ }
485
+
486
+ return $juros;
487
+ }
488
+
489
+ public function isAntiFraudEnabled() {
490
+ $antifraud = Mage::getStoreConfig('payment/mundipagg_standard/antifraud');
491
+
492
+ return boolval($antifraud);
493
+ }
494
+
495
+ public function priceFormatter($amountInCents) {
496
+ $number = round($amountInCents, 2, PHP_ROUND_HALF_DOWN);
497
+ $number = number_format($number, 2, ',', '');
498
+ return $number;
499
+ }
500
+
501
+ public function formatPriceToCents($oldPrice) {
502
+ $newPrice = str_replace(",", ".", $oldPrice);
503
+ $newPrice *= 100;
504
+
505
+ return $newPrice;
506
+ }
507
+
508
+ public function priceInCentsToFloat($priceInCents) {
509
+ $priceFormatted = $this->priceFormatter($priceInCents / 100);
510
+ $newPrice = str_replace(",", ".", $priceFormatted);
511
+
512
+ return $newPrice;
513
+ }
514
+
515
+ /**
516
+ * Check if input value is a valid number
517
+ * @param $value
518
+ * @return bool
519
+ */
520
+ public function isValidNumber($value) {
521
+ $value = str_replace(',', '.', $value);
522
+ $arrVal = explode('.', $value);
523
+ $cents = $arrVal[1];
524
+
525
+ if (strlen($cents) > 2 || !is_numeric($value)){
526
+ return false;
527
+ }
528
+
529
+ return true;
530
+ }
531
+
532
+ /**
533
+ * Check if array index "isset", if true, return the array index data, else, return $defaultValue
534
+ *
535
+ * @param $index
536
+ * @param null $defaultValue
537
+ * @return mixed $index || $defaultValue
538
+ * @author Ruan Azevedo <razevedo@mundipagg.com>
539
+ */
540
+ public function issetOr(&$index, $defaultValue = null) {
541
+ if (isset($index)) {
542
+ return $index;
543
+ } else {
544
+ return $defaultValue;
545
+ }
546
+ }
547
+
548
+ public function getAntifraudName($antifraudNumber = null) {
549
+
550
+ if (is_null($antifraudNumber)) {
551
+ $antifraudNumber = intval(Mage::getStoreConfig('payment/mundipagg_standard/antifraud_provider'));
552
+ } else {
553
+ $antifraudNumber = intval($antifraudNumber);
554
+ }
555
+
556
+ $antifraudProvider = null;
557
+
558
+ switch ($antifraudNumber) {
559
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_CLEARSALE:
560
+ $antifraudProvider = 'clearsale';
561
+ break;
562
+
563
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL:
564
+ $antifraudProvider = 'fcontrol';
565
+ break;
566
+
567
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_STONE:
568
+ $antifraudProvider = 'stone';
569
+ break;
570
+ }
571
+
572
+ return $antifraudProvider;
573
+ }
574
 
575
  }
app/code/community/Uecommerce/Mundipagg/Helper/Log.php CHANGED
@@ -50,21 +50,30 @@ class Uecommerce_Mundipagg_Helper_Log extends Mage_Core_Helper_Abstract {
50
  }
51
 
52
  private function write($msg) {
 
 
 
 
 
 
53
  $file = "Mundipagg_Integracao_" . date('Y-m-d') . ".log";
54
  $method = $this->method;
 
55
 
56
  if (!empty($method)) {
57
  $logLabel = $this->logLabel;
58
 
59
  if (!empty($logLabel)) {
60
- $msg = "[{$this->method}] {$this->logLabel} | {$msg}";
61
 
62
  } else {
63
- $msg = "[{$this->method}] {$msg}";
64
  }
 
 
65
  }
66
 
67
- Mage::log($msg, $this->level, $file);
68
  }
69
 
70
  }
50
  }
51
 
52
  private function write($msg) {
53
+ $debugIsEnabled = intval(Mage::getStoreConfig('payment/mundipagg_standard/debug'));
54
+
55
+ if ($debugIsEnabled === false)
56
+ return;
57
+
58
+ $version = Mage::helper('mundipagg')->getExtensionVersion();
59
  $file = "Mundipagg_Integracao_" . date('Y-m-d') . ".log";
60
  $method = $this->method;
61
+ $newMsg = "v{$version} ";
62
 
63
  if (!empty($method)) {
64
  $logLabel = $this->logLabel;
65
 
66
  if (!empty($logLabel)) {
67
+ $newMsg .= "[{$this->method}] {$this->logLabel} | {$msg}";
68
 
69
  } else {
70
+ $newMsg .= "[{$this->method}] {$msg}";
71
  }
72
+ } else {
73
+ $newMsg .= $msg;
74
  }
75
 
76
+ Mage::log($newMsg, $this->level, $file);
77
  }
78
 
79
  }
app/code/community/Uecommerce/Mundipagg/Model/Adminvalidators/Antifraud/Minval.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Uecommerce_Mundipagg_Model_Adminvalidators_Antifraud_Minval extends Mage_Core_Model_Config_Data {
4
+
5
+ public function save() {
6
+ $helper = Mage::helper('mundipagg');
7
+ $value = $this->getValue();
8
+
9
+ if (empty($value)) {
10
+ $this->setValue('0.00');
11
+
12
+ return parent::save();
13
+ }
14
+
15
+ $valueInCents = $helper->formatPriceToCents($value);
16
+ $groups = $this->getGroups();
17
+ $antifraudProvider = $helper->issetOr($groups['mundipagg_standard']['fields']['antifraud_provider']['value']);
18
+ $afProviderName = $helper->getAntifraudName($antifraudProvider);
19
+ $afProviderNameCaptilized = strtoupper($afProviderName);
20
+
21
+ if ($helper->isValidNumber($value) === false) {
22
+ $errMsg = $helper->__("Order minimum value '%s' for antifraud %s isn't in the valid format", $value, $afProviderNameCaptilized);
23
+ Mage::throwException($errMsg);
24
+ }
25
+
26
+ if ($valueInCents < 0) {
27
+ $errMsg = $helper->__("Order minimum value for antifraud %s can't be negative", $afProviderNameCaptilized);
28
+ Mage::throwException($errMsg);
29
+ }
30
+
31
+ $floatValue = $helper->priceInCentsToFloat($valueInCents);
32
+ $this->setValue($floatValue);
33
+
34
+ return parent::save();
35
+ }
36
+
37
+ }
app/code/community/Uecommerce/Mundipagg/Model/Api.php CHANGED
@@ -210,6 +210,36 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
210
  }
211
  }
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  // Data
214
  $_response = $this->sendRequest($_request, $url, $_logRequest);
215
  $xml = $_response['xmlData'];
210
  }
211
  }
212
 
213
+ // check anti fraud minimum value
214
+ if ($helper->isAntiFraudEnabled()) {
215
+ $antifraudProviderConfig = intval(Mage::getStoreConfig('payment/mundipagg_standard/antifraud_provider'));
216
+ $antifraudProvider = null;
217
+
218
+ switch ($antifraudProviderConfig) {
219
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_CLEARSALE:
220
+ $antifraudProvider = 'clearsale';
221
+ break;
222
+
223
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL:
224
+ $antifraudProvider = 'fcontrol';
225
+ break;
226
+
227
+ case Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_STONE:
228
+ $antifraudProvider = 'stone';
229
+ break;
230
+ }
231
+
232
+ $minValueConfig = Mage::getStoreConfig("payment/mundipagg_standard/antifraud_minimum_{$antifraudProvider}");
233
+ $minValueConfig = $helper->formatPriceToCents($minValueConfig);
234
+
235
+ if ($amountInCentsVar >= $minValueConfig) {
236
+ $_request['Options']['IsAntiFraudEnabled'] = true;
237
+ } else {
238
+ $_request['Options']['IsAntiFraudEnabled'] = false;
239
+ }
240
+
241
+ }
242
+
243
  // Data
244
  $_response = $this->sendRequest($_request, $url, $_logRequest);
245
  $xml = $_response['xmlData'];
app/code/community/Uecommerce/Mundipagg/Model/Source/Environment.php CHANGED
@@ -27,15 +27,12 @@
27
  * @package Uecommerce_Mundipagg
28
  * @author Uecommerce Dev Team
29
  */
30
-
31
- class Uecommerce_Mundipagg_Model_Source_Environment
32
- {
33
- public function toOptionArray()
34
- {
35
- return
36
- array(
37
- 'development' => Mage::helper('mundipagg')->__('Development'),
38
- 'production' => Mage::helper('mundipagg')->__('Production'),
39
- );
40
- }
41
  }
27
  * @package Uecommerce_Mundipagg
28
  * @author Uecommerce Dev Team
29
  */
30
+ class Uecommerce_Mundipagg_Model_Source_Environment {
31
+ public function toOptionArray() {
32
+ return
33
+ array(
34
+ 'development' => 'Sandbox',
35
+ 'production' => Mage::helper('mundipagg')->__('Production'),
36
+ );
37
+ }
 
 
 
38
  }
app/code/community/Uecommerce/Mundipagg/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
- <version>2.8.0</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
@@ -268,6 +268,9 @@
268
  <delivery_deadline>5</delivery_deadline>
269
  <shipping_company>Correios</shipping_company>
270
  <environment_fcontrol>1</environment_fcontrol>
 
 
 
271
  </mundipagg_standard>
272
  <mundipagg_creditcardoneinstallment>
273
  <model>mundipagg/creditcardoneinstallment</model>
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
+ <version>2.9.1</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
268
  <delivery_deadline>5</delivery_deadline>
269
  <shipping_company>Correios</shipping_company>
270
  <environment_fcontrol>1</environment_fcontrol>
271
+ <antifraud_minimum_clearsale>0.00</antifraud_minimum_clearsale>
272
+ <antifraud_minimum_fcontrol>0.00</antifraud_minimum_fcontrol>
273
+ <antifraud_minimum_stone>0.00</antifraud_minimum_stone>
274
  </mundipagg_standard>
275
  <mundipagg_creditcardoneinstallment>
276
  <model>mundipagg/creditcardoneinstallment</model>
app/code/community/Uecommerce/Mundipagg/etc/system.xml CHANGED
@@ -10,14 +10,23 @@
10
  <show_in_website>1</show_in_website>
11
  <show_in_store>1</show_in_store>
12
  <comment>
13
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
14
-
15
  <fields>
 
 
 
 
 
 
 
 
 
16
  <version translate="label">
17
  <label>Version</label>
18
  <frontend_type>select</frontend_type>
19
  <frontend_model>Uecommerce_Mundipagg_Block_Adminhtml_Version</frontend_model>
20
- <sort_order>0</sort_order>
21
  <show_in_default>1</show_in_default>
22
  <show_in_website>1</show_in_website>
23
  <show_in_store>1</show_in_store>
@@ -27,70 +36,82 @@
27
  <label>Environment</label>
28
  <frontend_type>select</frontend_type>
29
  <source_model>Uecommerce_Mundipagg_Model_Source_Environment</source_model>
30
- <sort_order>1</sort_order>
31
- <show_in_default>1</show_in_default>
32
- <show_in_website>1</show_in_website>
33
- <show_in_store>1</show_in_store>
34
- <comment>
35
- <![CDATA[<b>Development</b> = ambiente de teste<br/><b>Production</b> = ambiente de produção]]></comment>
36
- </environment>
37
-
38
- <debug translate="label">
39
- <label>Debug</label>
40
- <frontend_type>select</frontend_type>
41
- <source_model>adminhtml/system_config_source_yesno</source_model>
42
- <backend_model>Uecommerce_Mundipagg_Model_Adminvalidators_Debug</backend_model>
43
  <sort_order>2</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
  <comment>
48
- <![CDATA[O Debug permite gravar o retorno da MundiPagg nos logs do Magento. Habilitar esta opção irá habilitar os logs do Magento (System -> Configuration -> Advanced -> Developer -> Log Settings -> Yes)]]></comment>
49
- </debug>
50
 
51
  <apiUrlStaging translate="label">
52
- <label>Api URL Staging</label>
53
  <frontend_type>text</frontend_type>
54
  <sort_order>3</sort_order>
55
  <backend_model>mundipagg/urlvalidation</backend_model>
 
 
 
56
  <show_in_default>1</show_in_default>
57
  <show_in_website>1</show_in_website>
58
  <show_in_store>1</show_in_store>
59
  </apiUrlStaging>
60
 
61
  <merchantKeyStaging translate="label">
62
- <label>merchantKey Staging</label>
63
  <frontend_type>text</frontend_type>
64
  <sort_order>4</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
  </merchantKeyStaging>
69
 
70
  <apiUrlProduction translate="label">
71
- <label>Api URL Production</label>
72
  <frontend_type>text</frontend_type>
73
- <sort_order>5</sort_order>
74
  <backend_model>mundipagg/urlvalidation</backend_model>
 
 
 
75
  <show_in_default>1</show_in_default>
76
  <show_in_website>1</show_in_website>
77
  <show_in_store>1</show_in_store>
78
  </apiUrlProduction>
79
 
80
  <merchantKeyProduction translate="label">
81
- <label>merchantKey Production</label>
82
  <frontend_type>text</frontend_type>
83
- <sort_order>6</sort_order>
 
 
 
84
  <show_in_default>1</show_in_default>
85
  <show_in_website>1</show_in_website>
86
  <show_in_store>1</show_in_store>
87
  </merchantKeyProduction>
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  <payment_action translate="label">
90
  <label>Payment Action</label>
91
  <frontend_type>select</frontend_type>
92
  <source_model>Uecommerce_Mundipagg_Model_Source_PaymentAction</source_model>
93
- <sort_order>7</sort_order>
94
  <show_in_default>1</show_in_default>
95
  <show_in_website>1</show_in_website>
96
  <show_in_store>1</show_in_store>
@@ -98,8 +119,17 @@
98
  <![CDATA[<b>AuthOnly</b> = Autorizar<br/><b>AuthAndCapture</b> = Autorizar e capturar]]></comment>
99
  </payment_action>
100
 
 
 
 
 
 
 
 
 
 
101
  <antifraud translate="label">
102
- <label>Enviar para anti-fraude?</label>
103
  <frontend_type>select</frontend_type>
104
  <source_model>adminhtml/system_config_source_yesno</source_model>
105
  <sort_order>8</sort_order>
@@ -109,7 +139,7 @@
109
  </antifraud>
110
 
111
  <antifraud_provider translate="label">
112
- <label>Fornecedor Anti-fraude</label>
113
  <frontend_type>select</frontend_type>
114
  <source_model>Uecommerce_Mundipagg_Model_Source_Antifraud</source_model>
115
  <backend_model>mundipagg/providervalidation</backend_model>
@@ -123,14 +153,59 @@
123
  <show_in_store>1</show_in_store>
124
  </antifraud_provider>
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  <fingerprint translate="label">
127
- <label>Use fingerprint</label>
128
  <frontend_type>select</frontend_type>
129
  <source_model>adminhtml/system_config_source_yesno</source_model>
130
  <depends>
131
  <antifraud>1</antifraud>
132
  </depends>
133
- <sort_order>10</sort_order>
134
  <show_in_default>1</show_in_default>
135
  <show_in_website>1</show_in_website>
136
  <show_in_store>1</show_in_store>
@@ -145,7 +220,7 @@
145
  <antifraud_provider>2</antifraud_provider>
146
  <fingerprint>1</fingerprint>
147
  </depends>
148
- <sort_order>11</sort_order>
149
  <show_in_default>1</show_in_default>
150
  <show_in_website>1</show_in_website>
151
  <show_in_store>1</show_in_store>
@@ -154,7 +229,7 @@
154
  <fcontrol_key_sandbox translate="label">
155
  <label>FControl sandbox key</label>
156
  <frontend_type>text</frontend_type>
157
- <sort_order>12</sort_order>
158
  <depends>
159
  <antifraud>1</antifraud>
160
  <antifraud_provider>2</antifraud_provider>
@@ -170,7 +245,7 @@
170
  <fcontrol_key_production translate="label">
171
  <label>FControl production key</label>
172
  <frontend_type>text</frontend_type>
173
- <sort_order>12</sort_order>
174
  <depends>
175
  <antifraud>1</antifraud>
176
  <antifraud_provider>2</antifraud_provider>
@@ -185,7 +260,7 @@
185
  <clearsale_entitycode translate="label">
186
  <label>EntityCode</label>
187
  <frontend_type>text</frontend_type>
188
- <sort_order>11</sort_order>
189
  <depends>
190
  <antifraud>1</antifraud>
191
  <antifraud_provider>1</antifraud_provider>
@@ -197,40 +272,40 @@
197
  <comment>Chave informada pela Clearsale</comment>
198
  </clearsale_entitycode>
199
 
200
- <clearsale_app translate="label">
201
- <label>AppKey</label>
202
  <frontend_type>text</frontend_type>
203
  <sort_order>12</sort_order>
204
  <depends>
205
  <antifraud>1</antifraud>
206
- <antifraud_provider>1</antifraud_provider>
207
  <fingerprint>1</fingerprint>
208
  </depends>
209
  <show_in_default>1</show_in_default>
210
  <show_in_website>1</show_in_website>
211
  <show_in_store>1</show_in_store>
212
- <comment>codigo informado pela Clearsale</comment>
213
- </clearsale_app>
214
 
215
- <stone_entitycode translate="label">
216
- <label>EntityCode</label>
217
  <frontend_type>text</frontend_type>
218
- <sort_order>11</sort_order>
219
  <depends>
220
  <antifraud>1</antifraud>
221
- <antifraud_provider>3</antifraud_provider>
222
  <fingerprint>1</fingerprint>
223
  </depends>
224
  <show_in_default>1</show_in_default>
225
  <show_in_website>1</show_in_website>
226
  <show_in_store>1</show_in_store>
227
- <comment>Chave informada pela Stone</comment>
228
- </stone_entitycode>
229
 
230
  <stone_app translate="label">
231
  <label>AppKey</label>
232
  <frontend_type>text</frontend_type>
233
- <sort_order>12</sort_order>
234
  <depends>
235
  <antifraud>1</antifraud>
236
  <antifraud_provider>3</antifraud_provider>
@@ -242,31 +317,42 @@
242
  <comment>codigo informado pela Stone</comment>
243
  </stone_app>
244
 
 
 
 
 
 
 
 
 
 
245
  <cc_types translate="label">
246
  <label>Credit Card Issuers</label>
247
  <frontend_type>multiselect</frontend_type>
248
  <source_model>Uecommerce_Mundipagg_Model_Source_Cctypes</source_model>
249
- <sort_order>13</sort_order>
250
  <show_in_default>1</show_in_default>
251
  <show_in_website>1</show_in_website>
252
  <show_in_store>1</show_in_store>
253
  <comment><![CDATA[Escolha as bandeiras que você aceita na sua loja]]></comment>
254
  </cc_types>
255
 
256
- <heading_installments translate="label">
257
- <label>Installments and Interest</label>
258
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
259
- <sort_order>14</sort_order>
 
260
  <show_in_default>1</show_in_default>
261
  <show_in_website>1</show_in_website>
262
- <show_in_store>0</show_in_store>
263
- </heading_installments>
 
264
 
265
  <enable_installments translate="label">
266
- <label>Ativar parcelamento?</label>
267
  <frontend_type>select</frontend_type>
268
  <source_model>adminhtml/system_config_source_yesno</source_model>
269
- <sort_order>15</sort_order>
270
  <show_in_default>1</show_in_default>
271
  <show_in_website>1</show_in_website>
272
  <show_in_store>1</show_in_store>
@@ -276,7 +362,10 @@
276
  <label>Exibir total com juros ao lado das parcelas?</label>
277
  <frontend_type>select</frontend_type>
278
  <source_model>adminhtml/system_config_source_yesno</source_model>
279
- <sort_order>16</sort_order>
 
 
 
280
  <show_in_default>1</show_in_default>
281
  <show_in_website>1</show_in_website>
282
  <show_in_store>1</show_in_store>
@@ -286,77 +375,63 @@
286
  <label>Qual parcelamento exibir na página do produto?</label>
287
  <frontend_type>select</frontend_type>
288
  <source_model>Uecommerce_Mundipagg_Model_Source_CctypeProductInstallments</source_model>
289
- <sort_order>17</sort_order>
 
 
 
290
  <show_in_default>1</show_in_default>
291
  <show_in_website>1</show_in_website>
292
  <show_in_store>1</show_in_store>
293
  </product_pages_installment_default>
294
 
295
- <setoldsettings translate="label comment tooltip">
296
- <label>Set old settings</label>
297
- <sort_order>18</sort_order>
298
- <frontend_type>button</frontend_type>
299
- <frontend_model>mundipagg/adminhtml_system_config_form_button</frontend_model>
300
- <show_in_default>1</show_in_default>
301
- <show_in_website>1</show_in_website>
302
- <show_in_store>1</show_in_store>
303
- <comment>If you just update the module and its old version is below 2.0.0, you can click
304
- this button to generate the installments as were set in the old version of the module.
305
- </comment>
306
- <tooltip>If you have already set manually, CAUTION! This function will reset all
307
- installments.
308
- </tooltip>
309
- </setoldsettings>
310
-
311
  <installments translate="label">
312
  <label>Installments default</label>
313
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
314
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
315
- <sort_order>19</sort_order>
 
 
 
316
  <show_in_default>1</show_in_default>
317
  <show_in_website>1</show_in_website>
318
  <show_in_store>1</show_in_store>
319
-
320
  </installments>
321
 
322
  <installments_VI translate="label">
323
  <label>Installments for Visa</label>
324
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
325
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
326
- <sort_order>20</sort_order>
327
  <show_in_default>1</show_in_default>
328
  <show_in_website>1</show_in_website>
329
  <show_in_store>1</show_in_store>
330
-
331
  </installments_VI>
332
 
333
  <installments_MC translate="label">
334
  <label>Installments for Mastercard</label>
335
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
336
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
337
- <sort_order>21</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
-
342
  </installments_MC>
343
 
344
  <installments_AE translate="label">
345
  <label>Installments for Amex</label>
346
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
347
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
348
- <sort_order>22</sort_order>
349
  <show_in_default>1</show_in_default>
350
  <show_in_website>1</show_in_website>
351
  <show_in_store>1</show_in_store>
352
-
353
  </installments_AE>
354
 
355
  <installments_DI translate="label">
356
  <label>Installments for Diners</label>
357
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
358
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
359
- <sort_order>23</sort_order>
360
  <show_in_default>1</show_in_default>
361
  <show_in_website>1</show_in_website>
362
  <show_in_store>1</show_in_store>
@@ -368,7 +443,7 @@
368
  <label>Installments for Elo</label>
369
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
370
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
371
- <sort_order>24</sort_order>
372
  <show_in_default>1</show_in_default>
373
  <show_in_website>1</show_in_website>
374
  <show_in_store>1</show_in_store>
@@ -379,7 +454,7 @@
379
  <label>Installments for Hipercard</label>
380
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
381
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
382
- <sort_order>25</sort_order>
383
  <show_in_default>1</show_in_default>
384
  <show_in_website>1</show_in_website>
385
  <show_in_store>1</show_in_store>
@@ -388,7 +463,7 @@
388
  <offline_retry_heading translate="label">
389
  <label>Offline Retry</label>
390
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
391
- <sort_order>26</sort_order>
392
  <show_in_default>1</show_in_default>
393
  <show_in_website>1</show_in_website>
394
  <show_in_store>0</show_in_store>
@@ -398,7 +473,7 @@
398
  <label>Enabled</label>
399
  <frontend_type>select</frontend_type>
400
  <source_model>adminhtml/system_config_source_yesno</source_model>
401
- <sort_order>27</sort_order>
402
  <show_in_default>1</show_in_default>
403
  <show_in_website>1</show_in_website>
404
  <show_in_store>0</show_in_store>
@@ -407,7 +482,7 @@
407
  <delayed_retry_max_time translate="label">
408
  <label>Max time to retry in minutes</label>
409
  <frontend_type>text</frontend_type>
410
- <sort_order>28</sort_order>
411
  <depends>
412
  <offline_retry_enabled>1</offline_retry_enabled>
413
  </depends>
@@ -420,7 +495,7 @@
420
  <heading_extras translate="label">
421
  <label>Extras</label>
422
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
423
- <sort_order>29</sort_order>
424
  <show_in_default>1</show_in_default>
425
  <show_in_website>1</show_in_website>
426
  <show_in_store>0</show_in_store>
@@ -446,16 +521,6 @@
446
  <comment><![CDATA[Quantidade de dias em média para entrega de seus produtos.]]></comment>
447
  </delivery_deadline>
448
 
449
- <save_cardonfile translate="label">
450
- <label>Enable feature (use the card for future purchases)</label>
451
- <frontend_type>select</frontend_type>
452
- <source_model>adminhtml/system_config_source_yesno</source_model>
453
- <sort_order>33</sort_order>
454
- <show_in_default>1</show_in_default>
455
- <show_in_website>1</show_in_website>
456
- <show_in_store>1</show_in_store>
457
- </save_cardonfile>
458
-
459
  <cielo_sku translate="label">
460
  <label>SKU produto de teste de R$1,00 da Cielo</label>
461
  <frontend_type>text</frontend_type>
@@ -466,92 +531,9 @@
466
  <comment>
467
  <![CDATA[SKU do produto de teste da Cielo para forçar o pagamento pela Cielo durante a homologação]]></comment>
468
  </cielo_sku>
469
-
470
  </fields>
471
-
472
  </mundipagg_standard>
473
 
474
- <mundipagg_creditcardoneinstallment type="group" translate="label">
475
- <label><![CDATA[MundiPagg - Cartão de Crédito à vista]]></label>
476
- <sort_order>430</sort_order>
477
- <show_in_default>1</show_in_default>
478
- <show_in_website>1</show_in_website>
479
- <show_in_store>1</show_in_store>
480
- <comment>
481
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
482
- <fields>
483
- <active translate="label">
484
- <label>Enabled</label>
485
- <frontend_type>select</frontend_type>
486
- <source_model>adminhtml/system_config_source_yesno</source_model>
487
- <sort_order>1</sort_order>
488
- <show_in_default>1</show_in_default>
489
- <show_in_website>1</show_in_website>
490
- <show_in_store>1</show_in_store>
491
- </active>
492
-
493
- <title translate="label">
494
- <label>Title</label>
495
- <frontend_type>text</frontend_type>
496
- <sort_order>2</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
- <comment>
501
- <![CDATA[Texto que irá aparecer no seu checkout para descrever a forma de pagamento.]]></comment>
502
- </title>
503
-
504
- <allowspecific translate="label">
505
- <label>Payment from Applicable Countries</label>
506
- <frontend_type>allowspecific</frontend_type>
507
- <sort_order>60</sort_order>
508
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
- </allowspecific>
513
-
514
- <specificcountry translate="label">
515
- <label>Payment from Specific Countries</label>
516
- <frontend_type>multiselect</frontend_type>
517
- <sort_order>61</sort_order>
518
- <source_model>adminhtml/system_config_source_country</source_model>
519
- <show_in_default>1</show_in_default>
520
- <show_in_website>1</show_in_website>
521
- <show_in_store>1</show_in_store>
522
- </specificcountry>
523
-
524
- <min_order_total translate="label">
525
- <label>Min Order Total</label>
526
- <frontend_type>text</frontend_type>
527
- <sort_order>70</sort_order>
528
- <show_in_default>1</show_in_default>
529
- <show_in_website>1</show_in_website>
530
- <show_in_store>1</show_in_store>
531
- <frontend_class>validate-number</frontend_class>
532
- </min_order_total>
533
-
534
- <max_order_total translate="label">
535
- <label>Max Order Total</label>
536
- <frontend_type>text</frontend_type>
537
- <sort_order>80</sort_order>
538
- <show_in_default>1</show_in_default>
539
- <show_in_website>1</show_in_website>
540
- <show_in_store>1</show_in_store>
541
- <frontend_class>validate-number</frontend_class>
542
- </max_order_total>
543
-
544
- <sort_order translate="label">
545
- <label>Sort Order</label>
546
- <frontend_type>text</frontend_type>
547
- <sort_order>100</sort_order>
548
- <show_in_default>1</show_in_default>
549
- <show_in_website>1</show_in_website>
550
- <show_in_store>1</show_in_store>
551
- <frontend_class>validate-number</frontend_class>
552
- </sort_order>
553
- </fields>
554
- </mundipagg_creditcardoneinstallment>
555
  <mundipagg_creditcard type="group" translate="label">
556
  <label><![CDATA[MundiPagg - Cartão de Crédito]]></label>
557
  <sort_order>430</sort_order>
@@ -559,7 +541,7 @@
559
  <show_in_website>1</show_in_website>
560
  <show_in_store>1</show_in_store>
561
  <comment>
562
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
563
  <fields>
564
  <active translate="label">
565
  <label>Enabled</label>
@@ -640,7 +622,7 @@
640
  <show_in_website>1</show_in_website>
641
  <show_in_store>1</show_in_store>
642
  <comment>
643
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
644
  <fields>
645
  <active translate="label">
646
  <label>Enabled</label>
@@ -721,7 +703,7 @@
721
  <show_in_website>1</show_in_website>
722
  <show_in_store>1</show_in_store>
723
  <comment>
724
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
725
  <fields>
726
  <active translate="label">
727
  <label>Enabled</label>
@@ -802,7 +784,7 @@
802
  <show_in_website>1</show_in_website>
803
  <show_in_store>1</show_in_store>
804
  <comment>
805
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
806
  <fields>
807
  <active translate="label">
808
  <label>Enabled</label>
@@ -883,7 +865,7 @@
883
  <show_in_website>1</show_in_website>
884
  <show_in_store>1</show_in_store>
885
  <comment>
886
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
887
  <fields>
888
  <active translate="label">
889
  <label>Enabled</label>
@@ -964,7 +946,7 @@
964
  <show_in_website>1</show_in_website>
965
  <show_in_store>1</show_in_store>
966
  <comment>
967
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
968
  <fields>
969
  <active translate="label">
970
  <label>Enabled</label>
@@ -1047,7 +1029,7 @@
1047
  <show_in_website>1</show_in_website>
1048
  <show_in_store>1</show_in_store>
1049
  <comment>
1050
- <![CDATA[<a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png"/></a></span>]]></comment>
1051
  <fields>
1052
  <active translate="label">
1053
  <label>Enabled</label>
10
  <show_in_website>1</show_in_website>
11
  <show_in_store>1</show_in_store>
12
  <comment>
13
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
14
+
15
  <fields>
16
+ <heading_basic_config translate="label">
17
+ <label>Module Basic Configuration</label>
18
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
19
+ <sort_order>0</sort_order>
20
+ <show_in_default>1</show_in_default>
21
+ <show_in_website>1</show_in_website>
22
+ <show_in_store>0</show_in_store>
23
+ </heading_basic_config>
24
+
25
  <version translate="label">
26
  <label>Version</label>
27
  <frontend_type>select</frontend_type>
28
  <frontend_model>Uecommerce_Mundipagg_Block_Adminhtml_Version</frontend_model>
29
+ <sort_order>1</sort_order>
30
  <show_in_default>1</show_in_default>
31
  <show_in_website>1</show_in_website>
32
  <show_in_store>1</show_in_store>
36
  <label>Environment</label>
37
  <frontend_type>select</frontend_type>
38
  <source_model>Uecommerce_Mundipagg_Model_Source_Environment</source_model>
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  <sort_order>2</sort_order>
40
  <show_in_default>1</show_in_default>
41
  <show_in_website>1</show_in_website>
42
  <show_in_store>1</show_in_store>
43
  <comment>
44
+ <![CDATA[<b>Sandbox</b> = ambiente de teste<br/><b>Production</b> = ambiente de produção]]></comment>
45
+ </environment>
46
 
47
  <apiUrlStaging translate="label">
48
+ <label>API URL Sandbox</label>
49
  <frontend_type>text</frontend_type>
50
  <sort_order>3</sort_order>
51
  <backend_model>mundipagg/urlvalidation</backend_model>
52
+ <depends>
53
+ <environment>development</environment>
54
+ </depends>
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
  </apiUrlStaging>
59
 
60
  <merchantKeyStaging translate="label">
61
+ <label>MerchantKey Sandbox</label>
62
  <frontend_type>text</frontend_type>
63
  <sort_order>4</sort_order>
64
+ <depends>
65
+ <environment>development</environment>
66
+ </depends>
67
  <show_in_default>1</show_in_default>
68
  <show_in_website>1</show_in_website>
69
  <show_in_store>1</show_in_store>
70
  </merchantKeyStaging>
71
 
72
  <apiUrlProduction translate="label">
73
+ <label>API URL Production</label>
74
  <frontend_type>text</frontend_type>
75
+ <sort_order>3</sort_order>
76
  <backend_model>mundipagg/urlvalidation</backend_model>
77
+ <depends>
78
+ <environment>production</environment>
79
+ </depends>
80
  <show_in_default>1</show_in_default>
81
  <show_in_website>1</show_in_website>
82
  <show_in_store>1</show_in_store>
83
  </apiUrlProduction>
84
 
85
  <merchantKeyProduction translate="label">
86
+ <label>MerchantKey Production</label>
87
  <frontend_type>text</frontend_type>
88
+ <sort_order>4</sort_order>
89
+ <depends>
90
+ <environment>production</environment>
91
+ </depends>
92
  <show_in_default>1</show_in_default>
93
  <show_in_website>1</show_in_website>
94
  <show_in_store>1</show_in_store>
95
  </merchantKeyProduction>
96
 
97
+ <debug translate="label">
98
+ <label>Logs</label>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
101
+ <backend_model>Uecommerce_Mundipagg_Model_Adminvalidators_Debug</backend_model>
102
+ <sort_order>5</sort_order>
103
+ <show_in_default>1</show_in_default>
104
+ <show_in_website>1</show_in_website>
105
+ <show_in_store>1</show_in_store>
106
+ <comment>
107
+ <![CDATA[Grava o retorno da MundiPagg nos logs do Magento. Habilitar esta opção irá habilitar os logs do Magento (System -> Configuration -> Advanced -> Developer -> Log Settings -> Yes)]]></comment>
108
+ </debug>
109
+
110
  <payment_action translate="label">
111
  <label>Payment Action</label>
112
  <frontend_type>select</frontend_type>
113
  <source_model>Uecommerce_Mundipagg_Model_Source_PaymentAction</source_model>
114
+ <sort_order>6</sort_order>
115
  <show_in_default>1</show_in_default>
116
  <show_in_website>1</show_in_website>
117
  <show_in_store>1</show_in_store>
119
  <![CDATA[<b>AuthOnly</b> = Autorizar<br/><b>AuthAndCapture</b> = Autorizar e capturar]]></comment>
120
  </payment_action>
121
 
122
+ <heading_anti_fraud translate="label">
123
+ <label>Anti fraud</label>
124
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
125
+ <sort_order>7</sort_order>
126
+ <show_in_default>1</show_in_default>
127
+ <show_in_website>1</show_in_website>
128
+ <show_in_store>0</show_in_store>
129
+ </heading_anti_fraud>
130
+
131
  <antifraud translate="label">
132
+ <label>Enabled</label>
133
  <frontend_type>select</frontend_type>
134
  <source_model>adminhtml/system_config_source_yesno</source_model>
135
  <sort_order>8</sort_order>
139
  </antifraud>
140
 
141
  <antifraud_provider translate="label">
142
+ <label>Anti Fraud Provider</label>
143
  <frontend_type>select</frontend_type>
144
  <source_model>Uecommerce_Mundipagg_Model_Source_Antifraud</source_model>
145
  <backend_model>mundipagg/providervalidation</backend_model>
153
  <show_in_store>1</show_in_store>
154
  </antifraud_provider>
155
 
156
+ <antifraud_minimum_clearsale>
157
+ <label>Order Minimum Value</label>
158
+ <frontend_type>text</frontend_type>
159
+ <backend_model>Uecommerce_Mundipagg_Model_Adminvalidators_Antifraud_Minval</backend_model>
160
+ <depends>
161
+ <antifraud>1</antifraud>
162
+ <antifraud_provider>1</antifraud_provider>
163
+ </depends>
164
+ <sort_order>10</sort_order>
165
+ <show_in_default>1</show_in_default>
166
+ <show_in_website>1</show_in_website>
167
+ <show_in_store>1</show_in_store>
168
+ <comment>Valid formats: 0.00 - 0,00</comment>
169
+ </antifraud_minimum_clearsale>
170
+
171
+ <antifraud_minimum_fcontrol>
172
+ <label>Order Minimum Value</label>
173
+ <frontend_type>text</frontend_type>
174
+ <backend_model>Uecommerce_Mundipagg_Model_Adminvalidators_Antifraud_Minval</backend_model>
175
+ <depends>
176
+ <antifraud>1</antifraud>
177
+ <antifraud_provider>2</antifraud_provider>
178
+ </depends>
179
+ <sort_order>10</sort_order>
180
+ <show_in_default>1</show_in_default>
181
+ <show_in_website>1</show_in_website>
182
+ <show_in_store>1</show_in_store>
183
+ <comment>Valid formats: 0.00 - 0,00</comment>
184
+ </antifraud_minimum_fcontrol>
185
+
186
+ <antifraud_minimum_stone>
187
+ <label>Order Minimum Value</label>
188
+ <frontend_type>text</frontend_type>
189
+ <backend_model>Uecommerce_Mundipagg_Model_Adminvalidators_Antifraud_Minval</backend_model>
190
+ <depends>
191
+ <antifraud>1</antifraud>
192
+ <antifraud_provider>3</antifraud_provider>
193
+ </depends>
194
+ <sort_order>10</sort_order>
195
+ <show_in_default>1</show_in_default>
196
+ <show_in_website>1</show_in_website>
197
+ <show_in_store>1</show_in_store>
198
+ <comment>Valid formats: 0.00 - 0,00</comment>
199
+ </antifraud_minimum_stone>
200
+
201
  <fingerprint translate="label">
202
+ <label>Fingerprint</label>
203
  <frontend_type>select</frontend_type>
204
  <source_model>adminhtml/system_config_source_yesno</source_model>
205
  <depends>
206
  <antifraud>1</antifraud>
207
  </depends>
208
+ <sort_order>11</sort_order>
209
  <show_in_default>1</show_in_default>
210
  <show_in_website>1</show_in_website>
211
  <show_in_store>1</show_in_store>
220
  <antifraud_provider>2</antifraud_provider>
221
  <fingerprint>1</fingerprint>
222
  </depends>
223
+ <sort_order>12</sort_order>
224
  <show_in_default>1</show_in_default>
225
  <show_in_website>1</show_in_website>
226
  <show_in_store>1</show_in_store>
229
  <fcontrol_key_sandbox translate="label">
230
  <label>FControl sandbox key</label>
231
  <frontend_type>text</frontend_type>
232
+ <sort_order>13</sort_order>
233
  <depends>
234
  <antifraud>1</antifraud>
235
  <antifraud_provider>2</antifraud_provider>
245
  <fcontrol_key_production translate="label">
246
  <label>FControl production key</label>
247
  <frontend_type>text</frontend_type>
248
+ <sort_order>13</sort_order>
249
  <depends>
250
  <antifraud>1</antifraud>
251
  <antifraud_provider>2</antifraud_provider>
260
  <clearsale_entitycode translate="label">
261
  <label>EntityCode</label>
262
  <frontend_type>text</frontend_type>
263
+ <sort_order>12</sort_order>
264
  <depends>
265
  <antifraud>1</antifraud>
266
  <antifraud_provider>1</antifraud_provider>
272
  <comment>Chave informada pela Clearsale</comment>
273
  </clearsale_entitycode>
274
 
275
+ <stone_entitycode translate="label">
276
+ <label>EntityCode</label>
277
  <frontend_type>text</frontend_type>
278
  <sort_order>12</sort_order>
279
  <depends>
280
  <antifraud>1</antifraud>
281
+ <antifraud_provider>3</antifraud_provider>
282
  <fingerprint>1</fingerprint>
283
  </depends>
284
  <show_in_default>1</show_in_default>
285
  <show_in_website>1</show_in_website>
286
  <show_in_store>1</show_in_store>
287
+ <comment>Chave informada pela Stone</comment>
288
+ </stone_entitycode>
289
 
290
+ <clearsale_app translate="label">
291
+ <label>AppKey</label>
292
  <frontend_type>text</frontend_type>
293
+ <sort_order>13</sort_order>
294
  <depends>
295
  <antifraud>1</antifraud>
296
+ <antifraud_provider>1</antifraud_provider>
297
  <fingerprint>1</fingerprint>
298
  </depends>
299
  <show_in_default>1</show_in_default>
300
  <show_in_website>1</show_in_website>
301
  <show_in_store>1</show_in_store>
302
+ <comment>codigo informado pela Clearsale</comment>
303
+ </clearsale_app>
304
 
305
  <stone_app translate="label">
306
  <label>AppKey</label>
307
  <frontend_type>text</frontend_type>
308
+ <sort_order>13</sort_order>
309
  <depends>
310
  <antifraud>1</antifraud>
311
  <antifraud_provider>3</antifraud_provider>
317
  <comment>codigo informado pela Stone</comment>
318
  </stone_app>
319
 
320
+ <heading_installments translate="label">
321
+ <label>Credit Card Basic Configuration</label>
322
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
323
+ <sort_order>14</sort_order>
324
+ <show_in_default>1</show_in_default>
325
+ <show_in_website>1</show_in_website>
326
+ <show_in_store>0</show_in_store>
327
+ </heading_installments>
328
+
329
  <cc_types translate="label">
330
  <label>Credit Card Issuers</label>
331
  <frontend_type>multiselect</frontend_type>
332
  <source_model>Uecommerce_Mundipagg_Model_Source_Cctypes</source_model>
333
+ <sort_order>15</sort_order>
334
  <show_in_default>1</show_in_default>
335
  <show_in_website>1</show_in_website>
336
  <show_in_store>1</show_in_store>
337
  <comment><![CDATA[Escolha as bandeiras que você aceita na sua loja]]></comment>
338
  </cc_types>
339
 
340
+ <save_cardonfile translate="label">
341
+ <label>Instant Buy</label>
342
+ <frontend_type>select</frontend_type>
343
+ <source_model>adminhtml/system_config_source_yesno</source_model>
344
+ <sort_order>16</sort_order>
345
  <show_in_default>1</show_in_default>
346
  <show_in_website>1</show_in_website>
347
+ <show_in_store>1</show_in_store>
348
+ <comment><![CDATA[Enable customer to save his cards for future purchases.Creditcard numbers are saved in Mundipagg, the store only save a token to the customer card.]]></comment>
349
+ </save_cardonfile>
350
 
351
  <enable_installments translate="label">
352
+ <label>Installment</label>
353
  <frontend_type>select</frontend_type>
354
  <source_model>adminhtml/system_config_source_yesno</source_model>
355
+ <sort_order>17</sort_order>
356
  <show_in_default>1</show_in_default>
357
  <show_in_website>1</show_in_website>
358
  <show_in_store>1</show_in_store>
362
  <label>Exibir total com juros ao lado das parcelas?</label>
363
  <frontend_type>select</frontend_type>
364
  <source_model>adminhtml/system_config_source_yesno</source_model>
365
+ <sort_order>18</sort_order>
366
+ <depends>
367
+ <enable_installments>1</enable_installments>
368
+ </depends>
369
  <show_in_default>1</show_in_default>
370
  <show_in_website>1</show_in_website>
371
  <show_in_store>1</show_in_store>
375
  <label>Qual parcelamento exibir na página do produto?</label>
376
  <frontend_type>select</frontend_type>
377
  <source_model>Uecommerce_Mundipagg_Model_Source_CctypeProductInstallments</source_model>
378
+ <sort_order>19</sort_order>
379
+ <depends>
380
+ <enable_installments>1</enable_installments>
381
+ </depends>
382
  <show_in_default>1</show_in_default>
383
  <show_in_website>1</show_in_website>
384
  <show_in_store>1</show_in_store>
385
  </product_pages_installment_default>
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  <installments translate="label">
388
  <label>Installments default</label>
389
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
390
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
391
+ <sort_order>20</sort_order>
392
+ <depends>
393
+ <enable_installments>1</enable_installments>
394
+ </depends>
395
  <show_in_default>1</show_in_default>
396
  <show_in_website>1</show_in_website>
397
  <show_in_store>1</show_in_store>
 
398
  </installments>
399
 
400
  <installments_VI translate="label">
401
  <label>Installments for Visa</label>
402
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
403
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
404
+ <sort_order>21</sort_order>
405
  <show_in_default>1</show_in_default>
406
  <show_in_website>1</show_in_website>
407
  <show_in_store>1</show_in_store>
 
408
  </installments_VI>
409
 
410
  <installments_MC translate="label">
411
  <label>Installments for Mastercard</label>
412
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
413
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
414
+ <sort_order>22</sort_order>
415
  <show_in_default>1</show_in_default>
416
  <show_in_website>1</show_in_website>
417
  <show_in_store>1</show_in_store>
 
418
  </installments_MC>
419
 
420
  <installments_AE translate="label">
421
  <label>Installments for Amex</label>
422
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
423
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
424
+ <sort_order>23</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
  </installments_AE>
429
 
430
  <installments_DI translate="label">
431
  <label>Installments for Diners</label>
432
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
433
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
434
+ <sort_order>24</sort_order>
435
  <show_in_default>1</show_in_default>
436
  <show_in_website>1</show_in_website>
437
  <show_in_store>1</show_in_store>
443
  <label>Installments for Elo</label>
444
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
445
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
446
+ <sort_order>25</sort_order>
447
  <show_in_default>1</show_in_default>
448
  <show_in_website>1</show_in_website>
449
  <show_in_store>1</show_in_store>
454
  <label>Installments for Hipercard</label>
455
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
456
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
457
+ <sort_order>26</sort_order>
458
  <show_in_default>1</show_in_default>
459
  <show_in_website>1</show_in_website>
460
  <show_in_store>1</show_in_store>
463
  <offline_retry_heading translate="label">
464
  <label>Offline Retry</label>
465
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
466
+ <sort_order>27</sort_order>
467
  <show_in_default>1</show_in_default>
468
  <show_in_website>1</show_in_website>
469
  <show_in_store>0</show_in_store>
473
  <label>Enabled</label>
474
  <frontend_type>select</frontend_type>
475
  <source_model>adminhtml/system_config_source_yesno</source_model>
476
+ <sort_order>28</sort_order>
477
  <show_in_default>1</show_in_default>
478
  <show_in_website>1</show_in_website>
479
  <show_in_store>0</show_in_store>
482
  <delayed_retry_max_time translate="label">
483
  <label>Max time to retry in minutes</label>
484
  <frontend_type>text</frontend_type>
485
+ <sort_order>29</sort_order>
486
  <depends>
487
  <offline_retry_enabled>1</offline_retry_enabled>
488
  </depends>
495
  <heading_extras translate="label">
496
  <label>Extras</label>
497
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
498
+ <sort_order>30</sort_order>
499
  <show_in_default>1</show_in_default>
500
  <show_in_website>1</show_in_website>
501
  <show_in_store>0</show_in_store>
521
  <comment><![CDATA[Quantidade de dias em média para entrega de seus produtos.]]></comment>
522
  </delivery_deadline>
523
 
 
 
 
 
 
 
 
 
 
 
524
  <cielo_sku translate="label">
525
  <label>SKU produto de teste de R$1,00 da Cielo</label>
526
  <frontend_type>text</frontend_type>
531
  <comment>
532
  <![CDATA[SKU do produto de teste da Cielo para forçar o pagamento pela Cielo durante a homologação]]></comment>
533
  </cielo_sku>
 
534
  </fields>
 
535
  </mundipagg_standard>
536
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
537
  <mundipagg_creditcard type="group" translate="label">
538
  <label><![CDATA[MundiPagg - Cartão de Crédito]]></label>
539
  <sort_order>430</sort_order>
541
  <show_in_website>1</show_in_website>
542
  <show_in_store>1</show_in_store>
543
  <comment>
544
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
545
  <fields>
546
  <active translate="label">
547
  <label>Enabled</label>
622
  <show_in_website>1</show_in_website>
623
  <show_in_store>1</show_in_store>
624
  <comment>
625
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
626
  <fields>
627
  <active translate="label">
628
  <label>Enabled</label>
703
  <show_in_website>1</show_in_website>
704
  <show_in_store>1</show_in_store>
705
  <comment>
706
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
707
  <fields>
708
  <active translate="label">
709
  <label>Enabled</label>
784
  <show_in_website>1</show_in_website>
785
  <show_in_store>1</show_in_store>
786
  <comment>
787
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
788
  <fields>
789
  <active translate="label">
790
  <label>Enabled</label>
865
  <show_in_website>1</show_in_website>
866
  <show_in_store>1</show_in_store>
867
  <comment>
868
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
869
  <fields>
870
  <active translate="label">
871
  <label>Enabled</label>
946
  <show_in_website>1</show_in_website>
947
  <show_in_store>1</show_in_store>
948
  <comment>
949
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
950
  <fields>
951
  <active translate="label">
952
  <label>Enabled</label>
1029
  <show_in_website>1</show_in_website>
1030
  <show_in_store>1</show_in_store>
1031
  <comment>
1032
+ <![CDATA[<br><a href="http://www.mundipagg.com.br" target="_blank"><img title="MundiPagg" alt="MundiPagg" src="/skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png"/></a><br><br><br>]]></comment>
1033
  <fields>
1034
  <active translate="label">
1035
  <label>Enabled</label>
app/locale/pt_BR/Uecommerce_Mundipagg.csv CHANGED
@@ -6,7 +6,7 @@
6
  "merchantKey Staging","merchantKey Staging"
7
  "Api URL Production","Api URL Produção"
8
  "merchantKey Production","merchantKey Produção"
9
- "Payment Action","Tipo"
10
  "Payment Methods","Métodos de pagamento"
11
  "Return message AuthOnly","Mensagem de retorno de AuthOnly"
12
  "Return message AuthAndCaptureWithDelay","Mensagem de retorno de AuthAndCaptureWithDelay"
@@ -172,7 +172,6 @@
172
  "Installments for Elo","Parcelamentos para Elo"
173
  "Installments for Hipercard","Parcelamentos para Hipercard"
174
  "The flag is automatically selected after entering the credit card number below.","A bandeira será selecionada automaticamente após digitar o Número do Cartão de Crédito abaixo."
175
- "Enable feature (use the card for future purchases)","Habilitar funcionalidade (usar o cartão em futuras compras)"
176
  "The taxvat is invalid","O CPF ou CNPJ informado é inválido"
177
  "Check the values to pass on each card","Confira os valores a passar em cada cartão"
178
  "Expiration date of the incorrect card","Data de expiração do Cartão incorreta"
@@ -200,4 +199,17 @@
200
  "Fingerprint environment","Ambiente fingerprint"
201
  "Unable to save product configuration","Não foi possível salvar a configuração do produto"
202
  "Internal error","Erro interno"
203
- "With Error","Com erro"
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "merchantKey Staging","merchantKey Staging"
7
  "Api URL Production","Api URL Produção"
8
  "merchantKey Production","merchantKey Produção"
9
+ "Payment Action","Tipo de operação"
10
  "Payment Methods","Métodos de pagamento"
11
  "Return message AuthOnly","Mensagem de retorno de AuthOnly"
12
  "Return message AuthAndCaptureWithDelay","Mensagem de retorno de AuthAndCaptureWithDelay"
172
  "Installments for Elo","Parcelamentos para Elo"
173
  "Installments for Hipercard","Parcelamentos para Hipercard"
174
  "The flag is automatically selected after entering the credit card number below.","A bandeira será selecionada automaticamente após digitar o Número do Cartão de Crédito abaixo."
 
175
  "The taxvat is invalid","O CPF ou CNPJ informado é inválido"
176
  "Check the values to pass on each card","Confira os valores a passar em cada cartão"
177
  "Expiration date of the incorrect card","Data de expiração do Cartão incorreta"
199
  "Fingerprint environment","Ambiente fingerprint"
200
  "Unable to save product configuration","Não foi possível salvar a configuração do produto"
201
  "Internal error","Erro interno"
202
+ "With Error","Com erro"
203
+ "Anti fraud","Antifraude"
204
+ "Yes","Sim"
205
+ "No","Não"
206
+ "Module Basic Configuration","Configuração Básica do Módulo"
207
+ "Credit Card Basic Configuration","Configuração Básica - Cartão de Crédito"
208
+ "Installment","Parcelamento"
209
+ "Enable customer to save his cards for future purchases.Creditcard numbers are saved in Mundipagg, the store only save a token to the customer card.","Possibilita o cliente salvar seus cartões para compras futuras. Os números de cartão são salvos na Mundipagg, a loja armazena apenas um token do cartão."
210
+ "Version","Versão"
211
+ "Anti Fraud Provider","Fornecedor Anti-fraude"
212
+ "Order Minimum Value","Valor Mínimo do Pedido"
213
+ "Order minimum value for antifraud %s can't be negative","Valor mínimo do pedido para o antifraude %s não pode ser negativo"
214
+ "Valid formats: 0.00 - 0,00","Formatos válidos: 0,00 - 0.00"
215
+ "Order minimum value '%s' for antifraud %s isn't in the valid format","Valor mínimo do carrinho '%s' informado para o antifraude %s não está no formato válido"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
- <version>2.8.0</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
@@ -12,13 +12,11 @@ Mundipagg payment gateway integration.</summary>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
- <notes>Support for With Error credit card transaction status.&#xD;
16
- &#xD;
17
- Now all fields from response JSON are recorded in the transactions and in the order payment model.</notes>
18
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
19
- <date>2016-09-29</date>
20
- <time>19:23:38</time>
21
- <contents><target name="magecommunity"><dir name="Uecommerce"><dir name="Mundipagg"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Installments.php" hash="ec8343e197cb194d978400bbdf64d446"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="2140a7836eaa57e03727433ccddf93d6"/></dir><dir name="Invoice"><file name="Totals.php" hash="ee304d9034ae0763e5db464f933b8c27"/><file name="View.php" hash="b0e3c170cd0184a5dfbe4fa7a486b471"/></dir><file name="Totals.php" hash="71b20a4c0022c14a5f7f8d008aabe1da"/></dir><dir name="Transactions"><dir name="Detail"><file name="Grid.php" hash="d67911c431587e4327eec95540cf548a"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="aa40a974b89c92ea9652c42e093d16f9"/></dir></dir></dir><file name="Version.php" hash="e3a89823e48e7a526a3afe8ce8c0d0ee"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="c903e413c47e3dea87ec09d609543a27"/></dir></dir></dir><file name="Info.php" hash="c5743b8887caffc12ee2b502d7256101"/><file name="Parcelamento.php" hash="bbfad3557dd7c29e2a21a213cf915e0c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="be3e89b0e2f008fcc0293286d44df7da"/></dir><dir name="Invoice"><file name="Totals.php" hash="a39c41f45ef44b72d15cfd12fea4e9c6"/></dir><file name="Totals.php" hash="6f56aa360f48c715b30afd4e5cd4ddfa"/></dir></dir><dir name="Standard"><file name="Boleto.php" hash="4471015b8a82311f84e52e774460bf38"/><file name="Cancel.php" hash="095eaf31c6567fad440279aeb2994caa"/><file name="Debit.php" hash="c707d9572b6079457b9265cc09c920c6"/><file name="Fcancel.php" hash="4bc5b0fb68fb7fd11159788eafe958af"/><file name="Form.php" hash="0f7f97654c5e819ac178e5d888fae6ee"/><file name="Partial.php" hash="fb5877a8f6c56ac1d6fc48eb864d8e60"/><file name="Redirect.php" hash="70f576c8d64c25e3ce627f6c36b2ff41"/><file name="Success.php" hash="b1b0bef88ed350d703da0e314ffad565"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="91d5069c18069fcb2a0a436fb768a194"/></dir><dir name="Helper"><file name="Data.php" hash="f76872ecd60d5e936af834b3d22c5983"/><file name="Installments.php" hash="d95d76587b1af78b0925bbbaf9fc9765"/><file name="Log.php" hash="929ce5f1f4bb4d34b6a4ef7deed210a6"/><file name="Util.php" hash="e5c9d9329da5b00b476c352990e413c7"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/></dir><file name="Api.php" hash="11f59a6e4edf289ebaf0a03a3f0bf2c7"/><file name="Boleto.php" hash="a7da1d58eb0fccb53eae51ba97d93dc5"/><file name="Cardonfile.php" hash="98395928a16313f8b4127e4e210cf953"/><file name="Creditcard.php" hash="007a43e7530ea5471b6a9aaa5405ce21"/><file name="Creditcardoneinstallment.php" hash="2e4222fd04dbc4f5ee116d4d7f4eae04"/><dir name="Customer"><file name="Session.php" hash="7f15498648de23cf4feb5143071ec260"/></dir><file name="Customers.php" hash="a779e96a969b83d1b38df351eb4670d0"/><file name="Debit.php" hash="8a3387bf74b1f03b9614fbdb64ab9dd5"/><dir name="Enum"><file name="BoletoTransactionStatusEnum.php" hash="3fed0a36bb76497b85c50016af34d47a"/><file name="CreditCardTransactionStatusEnum.php" hash="4546716f63e6df57061b222002157ccd"/><file name="OrderStatusEnum.php" hash="fd42020aab9d5507b5e0c26957cd1abb"/><file name="TransactionTypeEnum.php" hash="52fc4049a9f2b120ad3ed99e296268f9"/></dir><file name="Fivecreditcards.php" hash="6975e6170345bb3f20fde79ae40b81fe"/><file name="Fourcreditcards.php" hash="2da3d901173c19e53a96adb197b1533a"/><file name="Observer.php" hash="2295c195391a3d68fd8fd7c7c2dba032"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="b1ab4478ab967cb6fb04b380e609cf4d"/></dir><file name="Providervalidation.php" hash="4906944bae20e3f683d6e5c4ba5304e3"/><dir name="Quote"><dir name="Address"><file name="Interest.php" hash="93aa0189a8556597697dbb239dbf3be7"/></dir></dir><file name="Recurrency.php" hash="10744874b30361f54d18c4f7affee99f"/><dir name="Resource"><dir name="Cardonfile"><file name="Collection.php" hash="7b7d13bc6d7be8e5e1c5f945d59117f6"/></dir><file name="Cardonfile.php" hash="47d0107a9b1c3415aaf8784298361e84"/><dir name="Customers"><file name="Collection.php" hash="6caadd817abbcda527ba6d102585f2ff"/></dir><file name="Customers.php" hash="f50289a4c8362ddf7a79e4aa7c8a6387"/><dir name="Offlineretry"><file name="Collection.php" hash="80f0689c66a30110e68c2fdafb3014a8"/></dir><file name="Offlineretry.php" hash="08c804fd3b001f4f3ac19ebbcfca59fb"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="099a28ea462481333437a6479276e8b0"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="7864991042d0ec3fd5920d9047127b14"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="291b8b602ef7cd16607769646cdd21e4"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="d1e10eb258d4dc0fd43ff64d6e636385"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="etc"><file name="config.xml" hash="7267e7ce652947acb337fcbaab4d0170"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="0bd74868247a26a9b613dc987d6c4d27"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/><file name="mysql4-upgrade-2.7.4-2.8.0.php" hash="c53fbd135b7735b7bbe90e5c4c11e5b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="8d4357846320760a16aaaf4e1bca673d"/></dir><dir name="template"><dir name="mundipagg"><file name="boleto.phtml" hash="11cc5b254644727d6bdded8a834965c7"/><file name="form.phtml" hash="566e1838cab471ce41a1f74156e3b3bf"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="bd5b27bef9e968794b50aa2543cd3d6a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="0dc6cc39164b57626ccf7a429bbbf3d7"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="8fe2da3913bd18a20f35235533080ab8"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="fingerprint-fcontrol.js" hash="33409e94c34847788fabbb3a5b038fd0"/><file name="fingerprint-sandbox.js" hash="5a55fed60e1501b2317ba445c656e46c"/><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/><file name="script-fingerprint-fcontrol-prod.js" hash="702fd8905520a868b71ab1156297c969"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="eb3981217ba9fdf3ccd4bd3960c30874"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
+ <version>2.9.1</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
+ <notes>Antifraud minimum value config renamed</notes>
 
 
16
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
17
+ <date>2016-10-24</date>
18
+ <time>16:57:08</time>
19
+ <contents><target name="magecommunity"><dir name="Uecommerce"><dir name="Mundipagg"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Installments.php" hash="ec8343e197cb194d978400bbdf64d446"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="2140a7836eaa57e03727433ccddf93d6"/></dir><dir name="Invoice"><file name="Totals.php" hash="ee304d9034ae0763e5db464f933b8c27"/><file name="View.php" hash="b0e3c170cd0184a5dfbe4fa7a486b471"/></dir><file name="Totals.php" hash="71b20a4c0022c14a5f7f8d008aabe1da"/></dir><dir name="Transactions"><dir name="Detail"><file name="Grid.php" hash="d67911c431587e4327eec95540cf548a"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="aa40a974b89c92ea9652c42e093d16f9"/></dir></dir></dir><file name="Version.php" hash="e3a89823e48e7a526a3afe8ce8c0d0ee"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="c903e413c47e3dea87ec09d609543a27"/></dir></dir></dir><file name="Info.php" hash="c5743b8887caffc12ee2b502d7256101"/><file name="Parcelamento.php" hash="bbfad3557dd7c29e2a21a213cf915e0c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="be3e89b0e2f008fcc0293286d44df7da"/></dir><dir name="Invoice"><file name="Totals.php" hash="a39c41f45ef44b72d15cfd12fea4e9c6"/></dir><file name="Totals.php" hash="6f56aa360f48c715b30afd4e5cd4ddfa"/></dir></dir><dir name="Standard"><file name="Boleto.php" hash="4471015b8a82311f84e52e774460bf38"/><file name="Cancel.php" hash="095eaf31c6567fad440279aeb2994caa"/><file name="Debit.php" hash="c707d9572b6079457b9265cc09c920c6"/><file name="Fcancel.php" hash="4bc5b0fb68fb7fd11159788eafe958af"/><file name="Form.php" hash="0f7f97654c5e819ac178e5d888fae6ee"/><file name="Partial.php" hash="fb5877a8f6c56ac1d6fc48eb864d8e60"/><file name="Redirect.php" hash="70f576c8d64c25e3ce627f6c36b2ff41"/><file name="Success.php" hash="b1b0bef88ed350d703da0e314ffad565"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="91d5069c18069fcb2a0a436fb768a194"/></dir><dir name="Helper"><file name="Data.php" hash="e3aa0259de7e23ccd15023a73de630b0"/><file name="Installments.php" hash="d95d76587b1af78b0925bbbaf9fc9765"/><file name="Log.php" hash="3417e640be10aac6c3936a56364eb692"/><file name="Util.php" hash="e5c9d9329da5b00b476c352990e413c7"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><dir name="Antifraud"><file name="Minval.php" hash="40a49fef644e180b50c896e9dab34c76"/></dir><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/></dir><file name="Api.php" hash="86b8193a8b6b4f37977b0a52b42de36b"/><file name="Boleto.php" hash="a7da1d58eb0fccb53eae51ba97d93dc5"/><file name="Cardonfile.php" hash="98395928a16313f8b4127e4e210cf953"/><file name="Creditcard.php" hash="007a43e7530ea5471b6a9aaa5405ce21"/><file name="Creditcardoneinstallment.php" hash="2e4222fd04dbc4f5ee116d4d7f4eae04"/><dir name="Customer"><file name="Session.php" hash="7f15498648de23cf4feb5143071ec260"/></dir><file name="Customers.php" hash="a779e96a969b83d1b38df351eb4670d0"/><file name="Debit.php" hash="8a3387bf74b1f03b9614fbdb64ab9dd5"/><dir name="Enum"><file name="BoletoTransactionStatusEnum.php" hash="3fed0a36bb76497b85c50016af34d47a"/><file name="CreditCardTransactionStatusEnum.php" hash="4546716f63e6df57061b222002157ccd"/><file name="OrderStatusEnum.php" hash="fd42020aab9d5507b5e0c26957cd1abb"/><file name="TransactionTypeEnum.php" hash="52fc4049a9f2b120ad3ed99e296268f9"/></dir><file name="Fivecreditcards.php" hash="6975e6170345bb3f20fde79ae40b81fe"/><file name="Fourcreditcards.php" hash="2da3d901173c19e53a96adb197b1533a"/><file name="Observer.php" hash="2295c195391a3d68fd8fd7c7c2dba032"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="b1ab4478ab967cb6fb04b380e609cf4d"/></dir><file name="Providervalidation.php" hash="4906944bae20e3f683d6e5c4ba5304e3"/><dir name="Quote"><dir name="Address"><file name="Interest.php" hash="93aa0189a8556597697dbb239dbf3be7"/></dir></dir><file name="Recurrency.php" hash="10744874b30361f54d18c4f7affee99f"/><dir name="Resource"><dir name="Cardonfile"><file name="Collection.php" hash="7b7d13bc6d7be8e5e1c5f945d59117f6"/></dir><file name="Cardonfile.php" hash="47d0107a9b1c3415aaf8784298361e84"/><dir name="Customers"><file name="Collection.php" hash="6caadd817abbcda527ba6d102585f2ff"/></dir><file name="Customers.php" hash="f50289a4c8362ddf7a79e4aa7c8a6387"/><dir name="Offlineretry"><file name="Collection.php" hash="80f0689c66a30110e68c2fdafb3014a8"/></dir><file name="Offlineretry.php" hash="08c804fd3b001f4f3ac19ebbcfca59fb"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="f22bf02692c02d3f8859601ccf9cf90c"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="7864991042d0ec3fd5920d9047127b14"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="291b8b602ef7cd16607769646cdd21e4"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="d1e10eb258d4dc0fd43ff64d6e636385"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="etc"><file name="config.xml" hash="2e57b980952d143e3d6871cf4381c8aa"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="792d57b9363f91332bb6388994d132dc"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/><file name="mysql4-upgrade-2.7.4-2.8.0.php" hash="c53fbd135b7735b7bbe90e5c4c11e5b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="8d4357846320760a16aaaf4e1bca673d"/></dir><dir name="template"><dir name="mundipagg"><file name="boleto.phtml" hash="11cc5b254644727d6bdded8a834965c7"/><file name="form.phtml" hash="566e1838cab471ce41a1f74156e3b3bf"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="bd5b27bef9e968794b50aa2543cd3d6a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="0dc6cc39164b57626ccf7a429bbbf3d7"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="8fe2da3913bd18a20f35235533080ab8"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="fingerprint-fcontrol.js" hash="33409e94c34847788fabbb3a5b038fd0"/><file name="fingerprint-sandbox.js" hash="5a55fed60e1501b2317ba445c656e46c"/><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/><file name="script-fingerprint-fcontrol-prod.js" hash="702fd8905520a868b71ab1156297c969"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="mundi-magento-admin-banner.png" hash="70ed79656a42a2b4c0291d0a6285fb6d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="262089c81308d618c1da89db0ca1a4ce"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
22
  </package>
skin/adminhtml/default/default/images/mundipagg/mundi-magento-admin-banner.png ADDED
Binary file