Version Notes
Notification post fix
Download this release
Release Info
Developer | MundiPagg |
Extension | Mundipagg_Integracao |
Version | 2.6.5 |
Comparing to | |
See all releases |
Code changes from version 2.6.4 to 2.6.5
- app/code/community/Uecommerce/Mundipagg/Model/Api.php +183 -170
- app/code/community/Uecommerce/Mundipagg/controllers/TesteController.php +23 -1
- app/code/community/Uecommerce/Mundipagg/etc/config.xml +1 -1
- app/design/frontend/base/default/template/mundipagg/antifraud/fcontrol.phtml +1 -1
- package.xml +4 -4
app/code/community/Uecommerce/Mundipagg/Model/Api.php
CHANGED
@@ -1234,6 +1234,27 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1234 |
return "KO | {$returnMessage}";
|
1235 |
}
|
1236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1237 |
$returnMessageLabel = "Order #{$order->getIncrementId()}";
|
1238 |
|
1239 |
if (isset($data['OrderStatus'])) {
|
@@ -1246,12 +1267,11 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1246 |
$returnMessage = "OK | {$returnMessageLabel} | Order already canceled.";
|
1247 |
|
1248 |
$helperLog->info($returnMessage);
|
1249 |
-
|
1250 |
return $returnMessage;
|
1251 |
}
|
1252 |
|
1253 |
try {
|
1254 |
-
$this->tryCancelOrder($order, "
|
1255 |
$returnMessage = "OK | {$returnMessageLabel} | Canceled successfully";
|
1256 |
$helperLog->info($returnMessage);
|
1257 |
|
@@ -1264,24 +1284,6 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1264 |
}
|
1265 |
}
|
1266 |
|
1267 |
-
if (!empty($data['BoletoTransaction'])) {
|
1268 |
-
$status = $data['BoletoTransaction']['BoletoTransactionStatus'];
|
1269 |
-
$transactionKey = $data['BoletoTransaction']['TransactionKey'];
|
1270 |
-
$capturedAmountInCents = $data['BoletoTransaction']['AmountPaidInCents'];
|
1271 |
-
}
|
1272 |
-
|
1273 |
-
if (!empty($data['CreditCardTransaction'])) {
|
1274 |
-
$status = $data['CreditCardTransaction']['CreditCardTransactionStatus'];
|
1275 |
-
$transactionKey = $data['CreditCardTransaction']['TransactionKey'];
|
1276 |
-
$capturedAmountInCents = $data['CreditCardTransaction']['CapturedAmountInCents'];
|
1277 |
-
}
|
1278 |
-
|
1279 |
-
if (!empty($data['OnlineDebitTransaction'])) {
|
1280 |
-
$status = $data['OnlineDebitTransaction']['OnlineDebitTransactionStatus'];
|
1281 |
-
$transactionKey = $data['OnlineDebitTransaction']['TransactionKey'];
|
1282 |
-
$capturedAmountInCents = $data['OnlineDebitTransaction']['AmountPaidInCents'];
|
1283 |
-
}
|
1284 |
-
|
1285 |
// We check if transactionKey exists in database
|
1286 |
$t = 0;
|
1287 |
|
@@ -1299,218 +1301,229 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1299 |
}
|
1300 |
}
|
1301 |
|
1302 |
-
|
1303 |
-
|
1304 |
-
/**
|
1305 |
-
* @var $recurrence Uecommerce_Mundiapgg_Model_Recurrency
|
1306 |
-
*/
|
1307 |
-
$recurrence = Mage::getModel('mundipagg/recurrency');
|
1308 |
-
$recurrence->checkRecurrencesByOrder($order);
|
1309 |
-
|
1310 |
-
$status = strtolower($status);
|
1311 |
-
|
1312 |
-
switch ($status) {
|
1313 |
-
case 'captured':
|
1314 |
-
case 'paid':
|
1315 |
-
case 'overpaid':
|
1316 |
-
if ($order->canUnhold()) {
|
1317 |
-
$order->unhold();
|
1318 |
-
$helperLog->info("{$returnMessageLabel} | unholded.");
|
1319 |
-
}
|
1320 |
-
|
1321 |
-
if (!$order->canInvoice()) {
|
1322 |
-
$returnMessage = "OK | {$returnMessageLabel} | Can't create invoice. Transaction status '{$status}' processed.";
|
1323 |
|
1324 |
-
|
|
|
|
|
1325 |
|
1326 |
-
|
1327 |
-
|
1328 |
|
1329 |
-
|
1330 |
-
|
1331 |
|
1332 |
-
|
1333 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1334 |
|
1335 |
-
|
1336 |
-
|
1337 |
-
$baseTotalPaid += $capturedAmountInCents * 0.01;
|
1338 |
|
1339 |
-
|
1340 |
-
} else {
|
1341 |
-
$baseTotalPaid = $capturedAmountInCents * 0.01;
|
1342 |
|
1343 |
-
|
1344 |
-
|
1345 |
|
1346 |
-
|
1347 |
-
|
1348 |
-
$result = $this->createInvoice($order, $data, $baseTotalPaid, $status);
|
1349 |
|
1350 |
-
|
|
|
1351 |
|
1352 |
-
|
1353 |
-
|
|
|
1354 |
|
1355 |
-
|
|
|
|
|
1356 |
|
1357 |
-
|
1358 |
-
}
|
1359 |
}
|
1360 |
|
1361 |
-
//
|
1362 |
-
if ($order->
|
1363 |
-
$result = $this->createInvoice($order, $data, $
|
1364 |
|
1365 |
return $result;
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
$returnMessage = "Order {$order->getIncrementId()} | Unable to create invoice for this order.";
|
1369 |
|
1370 |
-
|
1371 |
-
|
1372 |
-
return "KO | {$returnMessage}";
|
1373 |
|
1374 |
-
|
1375 |
|
1376 |
-
|
1377 |
-
if ($order->canUnhold()) {
|
1378 |
-
$helperLog->info("{$returnMessageLabel} | unholded.");
|
1379 |
-
$order->unhold();
|
1380 |
}
|
|
|
1381 |
|
1382 |
-
|
1383 |
-
|
1384 |
-
$
|
1385 |
-
$order->setTotalPaid($capturedAmountInCents * 0.01);
|
1386 |
-
$order->save();
|
1387 |
|
1388 |
-
|
|
|
1389 |
|
1390 |
-
|
1391 |
|
1392 |
-
|
1393 |
|
1394 |
-
|
1395 |
|
1396 |
-
|
1397 |
-
$returnMessage = "OK | {$returnMessageLabel} | Transaction status '{$status}' received.";
|
1398 |
|
1399 |
-
|
|
|
|
|
|
|
|
|
1400 |
|
1401 |
-
|
|
|
|
|
|
|
|
|
1402 |
|
1403 |
-
|
1404 |
|
1405 |
-
|
1406 |
-
case 'refunded':
|
1407 |
-
case 'voided':
|
1408 |
-
if ($order->canUnhold()) {
|
1409 |
-
$helperLog->info("{$returnMessageLabel} unholded.");
|
1410 |
-
$order->unhold();
|
1411 |
-
}
|
1412 |
|
1413 |
-
|
1414 |
-
$invoices = array();
|
1415 |
-
$canceledInvoices = array();
|
1416 |
|
1417 |
-
|
1418 |
-
// We check if invoice can be refunded
|
1419 |
-
if ($invoice->canRefund()) {
|
1420 |
-
$invoices[] = $invoice;
|
1421 |
-
}
|
1422 |
|
1423 |
-
|
1424 |
-
|
1425 |
-
$canceledInvoices[] = $invoice;
|
1426 |
-
}
|
1427 |
-
}
|
1428 |
|
1429 |
-
|
1430 |
-
if (!empty($invoices)) {
|
1431 |
-
$service = Mage::getModel('sales/service_order', $order);
|
1432 |
|
1433 |
-
|
1434 |
-
$invoice->setState(Mage_Sales_Model_Order_Invoice::STATE_CANCELED);
|
1435 |
-
$invoice->save();
|
1436 |
|
1437 |
-
|
1438 |
-
$creditmemo->setOfflineRequested(true);
|
1439 |
-
$creditmemo->register()->save();
|
1440 |
-
}
|
1441 |
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
|
|
|
|
|
|
1446 |
|
1447 |
-
|
1448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1449 |
}
|
1450 |
|
1451 |
-
//
|
1452 |
-
if (
|
1453 |
-
$
|
|
|
|
|
1454 |
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
$creditmemo->register()->save();
|
1459 |
-
}
|
1460 |
|
1461 |
-
|
1462 |
-
$
|
1463 |
-
$
|
1464 |
-
$order->save();
|
1465 |
|
1466 |
-
|
1467 |
-
$
|
|
|
1468 |
}
|
1469 |
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
|
1483 |
-
|
|
|
|
|
|
|
|
|
1484 |
|
1485 |
-
|
1486 |
-
|
|
|
|
|
1487 |
|
1488 |
-
|
|
|
|
|
1489 |
|
1490 |
-
|
1491 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1492 |
|
1493 |
-
|
|
|
|
|
1494 |
|
1495 |
-
|
1496 |
-
default:
|
1497 |
-
$returnMessage = "Order #{$order->getIncrementId()} | unexpected order status.";
|
1498 |
|
1499 |
-
|
1500 |
-
$
|
1501 |
|
1502 |
$helperLog->info($returnMessage);
|
1503 |
|
1504 |
return "KO | {$returnMessage}";
|
1505 |
-
|
1506 |
-
} else {
|
1507 |
-
$returnMessage = "TransactionKey {$transactionKey} not found on database.";
|
1508 |
|
1509 |
-
|
1510 |
|
1511 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1512 |
}
|
1513 |
|
|
|
1514 |
} catch (Exception $e) {
|
1515 |
$returnMessage = "Internal server error | {$e->getCode()} - ErrMsg: {$e->getMessage()}";
|
1516 |
|
1234 |
return "KO | {$returnMessage}";
|
1235 |
}
|
1236 |
|
1237 |
+
if (!empty($data['BoletoTransaction'])) {
|
1238 |
+
$status = $data['BoletoTransaction']['BoletoTransactionStatus'];
|
1239 |
+
$transactionKey = $data['BoletoTransaction']['TransactionKey'];
|
1240 |
+
$capturedAmountInCents = $data['BoletoTransaction']['AmountPaidInCents'];
|
1241 |
+
$transactionData = $data['BoletoTransaction'];
|
1242 |
+
}
|
1243 |
+
|
1244 |
+
if (!empty($data['CreditCardTransaction'])) {
|
1245 |
+
$status = $data['CreditCardTransaction']['CreditCardTransactionStatus'];
|
1246 |
+
$transactionKey = $data['CreditCardTransaction']['TransactionKey'];
|
1247 |
+
$capturedAmountInCents = $data['CreditCardTransaction']['CapturedAmountInCents'];
|
1248 |
+
$transactionData = $data['CreditCardTransaction'];
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
if (!empty($data['OnlineDebitTransaction'])) {
|
1252 |
+
$status = $data['OnlineDebitTransaction']['OnlineDebitTransactionStatus'];
|
1253 |
+
$transactionKey = $data['OnlineDebitTransaction']['TransactionKey'];
|
1254 |
+
$capturedAmountInCents = $data['OnlineDebitTransaction']['AmountPaidInCents'];
|
1255 |
+
$transactionData = $data['OnlineDebitTransaction'];
|
1256 |
+
}
|
1257 |
+
|
1258 |
$returnMessageLabel = "Order #{$order->getIncrementId()}";
|
1259 |
|
1260 |
if (isset($data['OrderStatus'])) {
|
1267 |
$returnMessage = "OK | {$returnMessageLabel} | Order already canceled.";
|
1268 |
|
1269 |
$helperLog->info($returnMessage);
|
|
|
1270 |
return $returnMessage;
|
1271 |
}
|
1272 |
|
1273 |
try {
|
1274 |
+
$this->tryCancelOrder($order, "Transaction update received: {$status}");
|
1275 |
$returnMessage = "OK | {$returnMessageLabel} | Canceled successfully";
|
1276 |
$helperLog->info($returnMessage);
|
1277 |
|
1284 |
}
|
1285 |
}
|
1286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1287 |
// We check if transactionKey exists in database
|
1288 |
$t = 0;
|
1289 |
|
1301 |
}
|
1302 |
}
|
1303 |
|
1304 |
+
if ($t <= 0) {
|
1305 |
+
$helperLog->info("Order #{$orderReference} | TransactionKey {$transactionKey} not found on database for this order. Adding...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1306 |
|
1307 |
+
$payment = $order->getPayment();
|
1308 |
+
$transactionId = $transactionKey;
|
1309 |
+
$transactionType = Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH;
|
1310 |
|
1311 |
+
$this->_addTransaction($payment, $transactionId, $transactionType, $transactionData);
|
1312 |
+
}
|
1313 |
|
1314 |
+
$order->addStatusHistoryComment("Transaction update received: {$status}", false);
|
1315 |
+
$order->save();
|
1316 |
|
1317 |
+
// transactionKey has been found so we can proceed
|
1318 |
+
/**
|
1319 |
+
* @var $recurrence Uecommerce_Mundiapgg_Model_Recurrency
|
1320 |
+
*/
|
1321 |
+
$recurrence = Mage::getModel('mundipagg/recurrency');
|
1322 |
+
$recurrence->checkRecurrencesByOrder($order);
|
1323 |
+
|
1324 |
+
$lowerStatus = strtolower($status);
|
1325 |
+
|
1326 |
+
switch ($lowerStatus) {
|
1327 |
+
case 'captured':
|
1328 |
+
case 'paid':
|
1329 |
+
case 'overpaid':
|
1330 |
+
if ($order->canUnhold()) {
|
1331 |
+
$order->unhold();
|
1332 |
+
$helperLog->info("{$returnMessageLabel} | unholded.");
|
1333 |
+
}
|
1334 |
|
1335 |
+
if (!$order->canInvoice()) {
|
1336 |
+
$returnMessage = "OK | {$returnMessageLabel} | Can't create invoice. Transaction status '{$status}' processed.";
|
|
|
1337 |
|
1338 |
+
$helperLog->info($returnMessage);
|
|
|
|
|
1339 |
|
1340 |
+
return $returnMessage;
|
1341 |
+
}
|
1342 |
|
1343 |
+
// Partial invoice
|
1344 |
+
$epsilon = 0.00001;
|
|
|
1345 |
|
1346 |
+
if ($order->canInvoice() && abs($order->getGrandTotal() - $capturedAmountInCents * 0.01) > $epsilon) {
|
1347 |
+
$baseTotalPaid = $order->getTotalPaid();
|
1348 |
|
1349 |
+
// If there is already a positive baseTotalPaid value it's not the first transaction
|
1350 |
+
if ($baseTotalPaid > 0) {
|
1351 |
+
$baseTotalPaid += $capturedAmountInCents * 0.01;
|
1352 |
|
1353 |
+
$order->setTotalPaid(0);
|
1354 |
+
} else {
|
1355 |
+
$baseTotalPaid = $capturedAmountInCents * 0.01;
|
1356 |
|
1357 |
+
$order->setTotalPaid($baseTotalPaid);
|
|
|
1358 |
}
|
1359 |
|
1360 |
+
// Can invoice only if total captured amount is equal to GrandTotal
|
1361 |
+
if (abs($order->getGrandTotal() - $baseTotalPaid) < $epsilon) {
|
1362 |
+
$result = $this->createInvoice($order, $data, $baseTotalPaid, $status);
|
1363 |
|
1364 |
return $result;
|
|
|
|
|
|
|
1365 |
|
1366 |
+
} else {
|
1367 |
+
$order->save();
|
|
|
1368 |
|
1369 |
+
$returnMessage = "OK | {$returnMessageLabel} | Captured amount isn't equal to grand total, invoice not created. Transaction status '{$status}' received.";
|
1370 |
|
1371 |
+
return $returnMessage;
|
|
|
|
|
|
|
1372 |
}
|
1373 |
+
}
|
1374 |
|
1375 |
+
// Create invoice
|
1376 |
+
if ($order->canInvoice() && abs($capturedAmountInCents * 0.01 - $order->getGrandTotal()) < $epsilon) {
|
1377 |
+
$result = $this->createInvoice($order, $data, $order->getGrandTotal(), $status);
|
|
|
|
|
1378 |
|
1379 |
+
return $result;
|
1380 |
+
}
|
1381 |
|
1382 |
+
$returnMessage = "Order {$order->getIncrementId()} | Unable to create invoice for this order.";
|
1383 |
|
1384 |
+
$helperLog->error($returnMessage);
|
1385 |
|
1386 |
+
return "KO | {$returnMessage}";
|
1387 |
|
1388 |
+
break;
|
|
|
1389 |
|
1390 |
+
case 'underpaid':
|
1391 |
+
if ($order->canUnhold()) {
|
1392 |
+
$helperLog->info("{$returnMessageLabel} | unholded.");
|
1393 |
+
$order->unhold();
|
1394 |
+
}
|
1395 |
|
1396 |
+
$order->addStatusHistoryComment('Captured offline amount of R$' . $capturedAmountInCents * 0.01, false);
|
1397 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, 'underpaid');
|
1398 |
+
$order->setBaseTotalPaid($capturedAmountInCents * 0.01);
|
1399 |
+
$order->setTotalPaid($capturedAmountInCents * 0.01);
|
1400 |
+
$order->save();
|
1401 |
|
1402 |
+
$returnMessage = "OK | {$returnMessageLabel} | Transaction status '{$status}' processed. Order status updated.";
|
1403 |
|
1404 |
+
$helperLog->info($returnMessage);
|
|
|
|
|
|
|
|
|
|
|
|
|
1405 |
|
1406 |
+
return $returnMessage;
|
|
|
|
|
1407 |
|
1408 |
+
break;
|
|
|
|
|
|
|
|
|
1409 |
|
1410 |
+
case 'notauthorized':
|
1411 |
+
$returnMessage = "OK | {$returnMessageLabel} | Transaction status '{$status}' received.";
|
|
|
|
|
|
|
1412 |
|
1413 |
+
$helperLog->info($returnMessage);
|
|
|
|
|
1414 |
|
1415 |
+
return $returnMessage;
|
|
|
|
|
1416 |
|
1417 |
+
break;
|
|
|
|
|
|
|
1418 |
|
1419 |
+
case 'canceled':
|
1420 |
+
case 'refunded':
|
1421 |
+
case 'voided':
|
1422 |
+
if ($order->canUnhold()) {
|
1423 |
+
$helperLog->info("{$returnMessageLabel} unholded.");
|
1424 |
+
$order->unhold();
|
1425 |
+
}
|
1426 |
|
1427 |
+
$ok = 0;
|
1428 |
+
$invoices = array();
|
1429 |
+
$canceledInvoices = array();
|
1430 |
+
|
1431 |
+
foreach ($order->getInvoiceCollection() as $invoice) {
|
1432 |
+
// We check if invoice can be refunded
|
1433 |
+
if ($invoice->canRefund()) {
|
1434 |
+
$invoices[] = $invoice;
|
1435 |
}
|
1436 |
|
1437 |
+
// We check if invoice has already been canceled
|
1438 |
+
if ($invoice->isCanceled()) {
|
1439 |
+
$canceledInvoices[] = $invoice;
|
1440 |
+
}
|
1441 |
+
}
|
1442 |
|
1443 |
+
// Refund invoices and Credit Memo
|
1444 |
+
if (!empty($invoices)) {
|
1445 |
+
$service = Mage::getModel('sales/service_order', $order);
|
|
|
|
|
1446 |
|
1447 |
+
foreach ($invoices as $invoice) {
|
1448 |
+
$invoice->setState(Mage_Sales_Model_Order_Invoice::STATE_CANCELED);
|
1449 |
+
$invoice->save();
|
|
|
1450 |
|
1451 |
+
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
1452 |
+
$creditmemo->setOfflineRequested(true);
|
1453 |
+
$creditmemo->register()->save();
|
1454 |
}
|
1455 |
|
1456 |
+
// Close order
|
1457 |
+
$order->setData('state', 'closed');
|
1458 |
+
$order->setStatus('closed');
|
1459 |
+
$order->save();
|
1460 |
|
1461 |
+
// Return
|
1462 |
+
$ok++;
|
1463 |
+
}
|
1464 |
|
1465 |
+
// Credit Memo
|
1466 |
+
if (!empty($canceledInvoices)) {
|
1467 |
+
$service = Mage::getModel('sales/service_order', $order);
|
1468 |
|
1469 |
+
foreach ($invoices as $invoice) {
|
1470 |
+
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
1471 |
+
$creditmemo->setOfflineRequested(true);
|
1472 |
+
$creditmemo->register()->save();
|
1473 |
+
}
|
1474 |
|
1475 |
+
// Close order
|
1476 |
+
$order->setData('state', Mage_Sales_Model_Order::STATE_CLOSED);
|
1477 |
+
$order->setStatus(Mage_Sales_Model_Order::STATE_CLOSED);
|
1478 |
+
$order->save();
|
1479 |
|
1480 |
+
// Return
|
1481 |
+
$ok++;
|
1482 |
+
}
|
1483 |
|
1484 |
+
if (empty($invoices) && empty($canceledInvoices)) {
|
1485 |
+
// Cancel order
|
1486 |
+
$order->cancel()->save();
|
1487 |
+
$helperLog->info("{$returnMessageLabel} | Order canceled.");
|
1488 |
+
|
1489 |
+
// Return
|
1490 |
+
$ok++;
|
1491 |
+
}
|
1492 |
|
1493 |
+
if ($ok > 0) {
|
1494 |
+
$returnMessage = "{$returnMessageLabel} | Order status '{$status}' processed.";
|
1495 |
+
$helperLog->info($returnMessage);
|
1496 |
|
1497 |
+
return "OK | {$returnMessage}";
|
|
|
|
|
1498 |
|
1499 |
+
} else {
|
1500 |
+
$returnMessage = "{$returnMessageLabel} | Unable to process transaction status '{$status}'.";
|
1501 |
|
1502 |
$helperLog->info($returnMessage);
|
1503 |
|
1504 |
return "KO | {$returnMessage}";
|
1505 |
+
}
|
|
|
|
|
1506 |
|
1507 |
+
break;
|
1508 |
|
1509 |
+
case 'authorizedpendingcapture':
|
1510 |
+
$returnMessage = "Order #{$order->getIncrementId()} | Transaction status '{$status}' received.";
|
1511 |
+
|
1512 |
+
$helperLog->info($returnMessage);
|
1513 |
+
|
1514 |
+
return "OK | {$returnMessage}";
|
1515 |
+
break;
|
1516 |
+
|
1517 |
+
// For other status we add comment to history
|
1518 |
+
default:
|
1519 |
+
$returnMessage = "Order #{$order->getIncrementId()} | unexpected transaction status: {$status}";
|
1520 |
+
|
1521 |
+
$helperLog->info($returnMessage);
|
1522 |
+
|
1523 |
+
return "OK | {$returnMessage}";
|
1524 |
}
|
1525 |
|
1526 |
+
|
1527 |
} catch (Exception $e) {
|
1528 |
$returnMessage = "Internal server error | {$e->getCode()} - ErrMsg: {$e->getMessage()}";
|
1529 |
|
app/code/community/Uecommerce/Mundipagg/controllers/TesteController.php
CHANGED
@@ -10,6 +10,28 @@ class Uecommerce_Mundipagg_TesteController extends Uecommerce_Mundipagg_Controll
|
|
10 |
var_dump($payment->getAdditionalInformation());
|
11 |
}
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function customerAction() {
|
14 |
$customerSesion = Mage::getSingleton('customer/session');
|
15 |
$customer = Mage::getModel('customer/customer')->load($customerSesion->getId());
|
@@ -27,7 +49,7 @@ class Uecommerce_Mundipagg_TesteController extends Uecommerce_Mundipagg_Controll
|
|
27 |
// }
|
28 |
}
|
29 |
|
30 |
-
public function checkoutAction(){
|
31 |
|
32 |
}
|
33 |
|
10 |
var_dump($payment->getAdditionalInformation());
|
11 |
}
|
12 |
|
13 |
+
public function processOrderAction() {
|
14 |
+
$api = new Uecommerce_Mundipagg_Model_Api();
|
15 |
+
$xml = file_get_contents('/var/www/magento19/teste.xml');
|
16 |
+
$postData = array(
|
17 |
+
'xmlStatusNotification' => $xml
|
18 |
+
);
|
19 |
+
|
20 |
+
$response = $api->processOrder($postData);
|
21 |
+
|
22 |
+
echo $response;
|
23 |
+
}
|
24 |
+
|
25 |
+
public function transactionsAction() {
|
26 |
+
$transactions = Mage::getModel('sales/order_payment_transaction')
|
27 |
+
->getCollection()
|
28 |
+
->addAttributeToFilter('order_id', '1');
|
29 |
+
|
30 |
+
foreach ($transactions as $transaction) {
|
31 |
+
var_dump($transaction->getData());
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
public function customerAction() {
|
36 |
$customerSesion = Mage::getSingleton('customer/session');
|
37 |
$customer = Mage::getModel('customer/customer')->load($customerSesion->getId());
|
49 |
// }
|
50 |
}
|
51 |
|
52 |
+
public function checkoutAction() {
|
53 |
|
54 |
}
|
55 |
|
app/code/community/Uecommerce/Mundipagg/etc/config.xml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<config>
|
33 |
<modules>
|
34 |
<Uecommerce_Mundipagg>
|
35 |
-
<version>2.6.
|
36 |
</Uecommerce_Mundipagg>
|
37 |
</modules>
|
38 |
|
32 |
<config>
|
33 |
<modules>
|
34 |
<Uecommerce_Mundipagg>
|
35 |
+
<version>2.6.5</version>
|
36 |
</Uecommerce_Mundipagg>
|
37 |
</modules>
|
38 |
|
app/design/frontend/base/default/template/mundipagg/antifraud/fcontrol.phtml
CHANGED
@@ -6,7 +6,7 @@ $environment = Mage::getStoreConfig('payment/mundipagg_standard/environment_fcon
|
|
6 |
if ($environment == Uecommerce_Mundipagg_Model_Source_FControlEnvironment::SANDBOX) {
|
7 |
$scriptUrl = 'https://static.fcontrol.com.br/fingerprint/hmlg-fcontrol-ed.min.js';
|
8 |
} else {
|
9 |
-
$scriptUrl = 'https://static.fcontrol.com.br/fingerprint/fcontrol-
|
10 |
}
|
11 |
|
12 |
if ($fcontrol && $antifraudProvider == Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL): ?>
|
6 |
if ($environment == Uecommerce_Mundipagg_Model_Source_FControlEnvironment::SANDBOX) {
|
7 |
$scriptUrl = 'https://static.fcontrol.com.br/fingerprint/hmlg-fcontrol-ed.min.js';
|
8 |
} else {
|
9 |
+
$scriptUrl = 'https://static.fcontrol.com.br/fingerprint/fcontrol-ed.min.js';
|
10 |
}
|
11 |
|
12 |
if ($fcontrol && $antifraudProvider == Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL): ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mundipagg_Integracao</name>
|
4 |
-
<version>2.6.
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT</license>
|
7 |
<channel>community</channel>
|
@@ -14,9 +14,9 @@ Mundipagg payment gateway integration.</summary>
|
|
14 |
With this extension you can process payments through brazilian payment gateway Mundipagg</description>
|
15 |
<notes>Notification post fix</notes>
|
16 |
<authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
|
17 |
-
<date>2016-
|
18 |
-
<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="230133453d65c7e7a7681ba095e5942c"/><file name="Installments.php" hash="3d34c4b9432d09a99e13c7f6b3f657ae"/><file name="Log.php" hash="a95575e22743a7b823ec3f088844f18f"/><file name="Util.php" hash="8d76ffdc3e7ace2598d373f1aef20228"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><file name="Api.php" hash="d56b900c2e74567303638d9d3b9573dd"/><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="5fb123fe9bd7ee7593bc38984a3d3ae0"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir></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="76bb429ac4c849e27c8fabdd96bb9654"/><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="f1c096a26841a0d05cc20926742e5c71"/><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=".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="de1d2e73a74e4b9fcde14adce60c0f82"/><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="b295ebeef3718926839cff25f63ccbd4"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/><file name="TesteController.php" hash="d8f5135721aefe329d3acf5a3ef26aa4"/></dir><dir name="etc"><file name="config.xml" hash="77c0459514ca70e162f93e5c239c0b1c"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="729b8fe191793b7422d974e10f173992"/><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"/></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="b6677c25d67015f895a72afbca87041c"/></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="608c6f547291d4d2d703615784f44403"/></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="c2ebd0374a3c6a6a4d8c3db84c8abf5a"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="c28bc6d1cb9b0bdc1ff7650b3e2082bc"/><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="6f01f6950ca176748939559e0e4ec487"/><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"><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/></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="mundipagg-avatar-blue.png" hash="9e81f9c54ac7ce3de570d7065f4b4c07"/></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="a9e68878dcac2b008a7e46350952a8a1"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>7.9.99</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mundipagg_Integracao</name>
|
4 |
+
<version>2.6.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT</license>
|
7 |
<channel>community</channel>
|
14 |
With this extension you can process payments through brazilian payment gateway Mundipagg</description>
|
15 |
<notes>Notification post fix</notes>
|
16 |
<authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
|
17 |
+
<date>2016-08-04</date>
|
18 |
+
<time>21:10:56</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="230133453d65c7e7a7681ba095e5942c"/><file name="Installments.php" hash="3d34c4b9432d09a99e13c7f6b3f657ae"/><file name="Log.php" hash="a95575e22743a7b823ec3f088844f18f"/><file name="Util.php" hash="8d76ffdc3e7ace2598d373f1aef20228"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><file name="Api.php" hash="1bce098c18e34ee84c2d857c670ec582"/><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="5fb123fe9bd7ee7593bc38984a3d3ae0"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir></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="76bb429ac4c849e27c8fabdd96bb9654"/><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="f1c096a26841a0d05cc20926742e5c71"/><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=".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="de1d2e73a74e4b9fcde14adce60c0f82"/><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="b295ebeef3718926839cff25f63ccbd4"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/><file name="TesteController.php" hash="053b6384dda872ce090e950bf4b4c6c5"/></dir><dir name="etc"><file name="config.xml" hash="523c6f23c567f0ce60a1304a08ae38ee"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="729b8fe191793b7422d974e10f173992"/><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"/></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="b6677c25d67015f895a72afbca87041c"/></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="608c6f547291d4d2d703615784f44403"/></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="c2ebd0374a3c6a6a4d8c3db84c8abf5a"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="1c84a81343591e6afec7a7d8d2549410"/><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="6f01f6950ca176748939559e0e4ec487"/><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"><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/></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="mundipagg-avatar-blue.png" hash="9e81f9c54ac7ce3de570d7065f4b4c07"/></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="a9e68878dcac2b008a7e46350952a8a1"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>7.9.99</max></php></required></dependencies>
|
22 |
</package>
|