Version Notes
Add logs and return message for notification post treatment.
Add cancelation treatment.
Download this release
Release Info
Developer | MundiPagg |
Extension | Mundipagg_Integracao |
Version | 2.6.2 |
Comparing to | |
See all releases |
Code changes from version 2.6.1 to 2.6.2
- app/code/community/Uecommerce/Mundipagg/Model/Api.php +385 -181
- app/code/community/Uecommerce/Mundipagg/Model/Enum/BoletoTransactionStatusEnum.php +10 -0
- app/code/community/Uecommerce/Mundipagg/Model/Enum/CreditCardTransactionStatusEnum.php +20 -0
- app/code/community/Uecommerce/Mundipagg/Model/Enum/OrderStatusEnum.php +12 -0
- app/code/community/Uecommerce/Mundipagg/Model/Enum/TransactionTypeEnum.php +9 -0
- app/code/community/Uecommerce/Mundipagg/controllers/StandardController.php +0 -7
- app/code/community/Uecommerce/Mundipagg/etc/config.xml +1 -1
- app/design/adminhtml/default/default/template/mundipagg/payment/.DS_Store +0 -0
- app/design/frontend/base/default/template/mundipagg/antifraud/fcontrol.phtml +1 -1
- package.xml +8 -6
- skin/adminhtml/default/default/images/mundipagg/.DS_Store +0 -0
- skin/frontend/base/default/images/mundipagg/.DS_Store +0 -0
- skin/frontend/default/default/images/mundipagg/.DS_Store +0 -0
app/code/community/Uecommerce/Mundipagg/Model/Api.php
CHANGED
@@ -447,9 +447,9 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
447 |
$_request["Order"] = array();
|
448 |
$_request["Order"]["OrderReference"] = $order->getIncrementId();
|
449 |
|
450 |
-
if ($standard->getEnvironment() != 'production') {
|
451 |
-
$_request["Order"]["OrderReference"] = md5(date('Y-m-d H:i:s')); // Identificação do pedido na loja
|
452 |
-
}
|
453 |
|
454 |
$_request["BoletoTransactionCollection"] = array();
|
455 |
|
@@ -1193,268 +1193,468 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1193 |
public function processOrder($postData) {
|
1194 |
$standard = Mage::getModel('mundipagg/standard');
|
1195 |
$helperLog = new Uecommerce_Mundipagg_Helper_Log(__METHOD__);
|
|
|
1196 |
|
1197 |
try {
|
1198 |
-
if (isset($postData['xmlStatusNotification'])) {
|
1199 |
-
$xmlStatusNotificationString = htmlspecialchars_decode($postData['xmlStatusNotification']);
|
1200 |
-
$xml = simplexml_load_string($xmlStatusNotificationString);
|
1201 |
-
$json = json_encode($xml);
|
1202 |
-
$data = json_decode($json, true);
|
1203 |
|
1204 |
-
|
1205 |
-
|
1206 |
-
$orderReference = isset($xml->OrderReference) ? $xml->OrderReference : null;
|
1207 |
|
1208 |
-
|
1209 |
-
|
1210 |
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
|
|
1214 |
|
1215 |
-
|
1216 |
-
|
1217 |
-
}
|
1218 |
|
1219 |
-
$orderReference
|
|
|
1220 |
|
1221 |
-
|
1222 |
-
$
|
1223 |
-
$transactionKey = $data['BoletoTransaction']['TransactionKey'];
|
1224 |
-
$capturedAmountInCents = $data['BoletoTransaction']['AmountPaidInCents'];
|
1225 |
}
|
1226 |
|
1227 |
-
|
1228 |
-
|
1229 |
-
$transactionKey = $data['CreditCardTransaction']['TransactionKey'];
|
1230 |
-
$capturedAmountInCents = $data['CreditCardTransaction']['CapturedAmountInCents'];
|
1231 |
-
}
|
1232 |
|
1233 |
-
|
1234 |
-
|
1235 |
-
$transactionKey = $data['OnlineDebitTransaction']['TransactionKey'];
|
1236 |
-
$capturedAmountInCents = $data['OnlineDebitTransaction']['AmountPaidInCents'];
|
1237 |
-
}
|
1238 |
|
1239 |
-
|
1240 |
-
$order->loadByIncrementId($orderReference);
|
1241 |
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
|
|
|
|
|
|
|
|
1245 |
|
1246 |
-
|
1247 |
-
$t = 0;
|
1248 |
|
1249 |
-
|
1250 |
-
|
1251 |
-
->addAttributeToFilter('order_id', array('eq' => $order->getEntityId()));
|
1252 |
|
1253 |
-
|
1254 |
-
|
1255 |
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1260 |
}
|
1261 |
}
|
1262 |
|
1263 |
-
|
1264 |
-
|
1265 |
-
/**
|
1266 |
-
* @var $recurrence Uecommerce_Mundiapgg_Model_Recurrency
|
1267 |
-
*/
|
1268 |
-
$recurrence = Mage::getModel('mundipagg/recurrency');
|
1269 |
-
$recurrence->checkRecurrencesByOrder($order);
|
1270 |
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
|
|
|
|
1280 |
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1284 |
|
1285 |
-
|
1286 |
-
$
|
1287 |
|
1288 |
-
|
1289 |
-
$baseTotalPaid = $order->getTotalPaid();
|
1290 |
|
1291 |
-
|
1292 |
-
|
1293 |
-
$baseTotalPaid += $capturedAmountInCents * 0.01;
|
1294 |
|
1295 |
-
|
1296 |
-
|
1297 |
-
$baseTotalPaid = $capturedAmountInCents * 0.01;
|
1298 |
|
1299 |
-
|
1300 |
-
|
1301 |
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
|
1310 |
-
|
1311 |
-
}
|
1312 |
}
|
1313 |
|
1314 |
-
//
|
1315 |
-
if ($order->
|
1316 |
-
$result = $this->createInvoice($order, $data, $
|
1317 |
|
1318 |
return $result;
|
1319 |
-
}
|
1320 |
|
1321 |
-
|
|
|
1322 |
|
1323 |
-
|
1324 |
|
1325 |
-
|
1326 |
-
case 'Underpaid':
|
1327 |
-
if ($order->canUnhold()) {
|
1328 |
-
$order->unhold();
|
1329 |
}
|
|
|
1330 |
|
1331 |
-
|
1332 |
-
|
1333 |
-
$
|
1334 |
-
$order->setTotalPaid($capturedAmountInCents * 0.01);
|
1335 |
-
$order->save();
|
1336 |
|
1337 |
-
return
|
1338 |
-
|
1339 |
|
1340 |
-
|
1341 |
-
return 'OK';
|
1342 |
-
break;
|
1343 |
|
1344 |
-
|
1345 |
-
case 'Refunded':
|
1346 |
-
case 'Voided':
|
1347 |
-
if ($order->canUnhold()) {
|
1348 |
-
$order->unhold();
|
1349 |
-
}
|
1350 |
|
1351 |
-
|
1352 |
-
$invoices = array();
|
1353 |
-
$canceledInvoices = array();
|
1354 |
|
1355 |
-
|
1356 |
-
// We check if invoice can be refunded
|
1357 |
-
if ($invoice->canRefund()) {
|
1358 |
-
$invoices[] = $invoice;
|
1359 |
-
}
|
1360 |
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
|
|
|
|
1370 |
|
1371 |
-
|
1372 |
-
$invoice->setState(Mage_Sales_Model_Order_Invoice::STATE_CANCELED);
|
1373 |
-
$invoice->save();
|
1374 |
|
1375 |
-
|
1376 |
-
$creditmemo->setOfflineRequested(true);
|
1377 |
-
$creditmemo->register()->save();
|
1378 |
-
}
|
1379 |
|
1380 |
-
|
1381 |
-
$order->setData('state', 'closed');
|
1382 |
-
$order->setStatus('closed');
|
1383 |
-
$order->save();
|
1384 |
|
1385 |
-
|
1386 |
-
$ok++;
|
1387 |
-
}
|
1388 |
|
1389 |
-
|
1390 |
-
|
1391 |
-
$service = Mage::getModel('sales/service_order', $order);
|
1392 |
|
1393 |
-
|
1394 |
-
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
1395 |
-
$creditmemo->setOfflineRequested(true);
|
1396 |
-
$creditmemo->register()->save();
|
1397 |
-
}
|
1398 |
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1403 |
|
1404 |
-
|
1405 |
-
|
|
|
1406 |
}
|
|
|
|
|
|
|
|
|
|
|
1407 |
|
1408 |
-
|
1409 |
-
|
1410 |
-
$
|
1411 |
|
1412 |
-
|
1413 |
-
$
|
|
|
1414 |
}
|
1415 |
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1420 |
}
|
1421 |
-
break;
|
1422 |
|
1423 |
-
|
1424 |
-
|
1425 |
-
$order->
|
1426 |
$order->save();
|
1427 |
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1432 |
}
|
1433 |
} else {
|
1434 |
-
|
|
|
|
|
|
|
|
|
1435 |
}
|
|
|
1436 |
} catch (Exception $e) {
|
|
|
|
|
1437 |
//Log error
|
1438 |
$helperLog->error($e, true);
|
1439 |
|
1440 |
//Mail error
|
1441 |
$this->mailError(print_r($e->getMessage(), 1));
|
1442 |
|
1443 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444 |
}
|
1445 |
}
|
1446 |
|
1447 |
/**
|
1448 |
* Create invoice
|
|
|
1449 |
*/
|
1450 |
private function createInvoice($order, $data, $totalPaid, $status) {
|
1451 |
$invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
|
|
|
|
|
1452 |
|
1453 |
if (!$invoice->getTotalQty()) {
|
1454 |
-
$
|
|
|
|
|
1455 |
$order->save();
|
1456 |
|
1457 |
-
|
|
|
|
|
1458 |
}
|
1459 |
|
1460 |
$invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_OFFLINE);
|
@@ -1507,7 +1707,7 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1507 |
|
1508 |
$payment->save();
|
1509 |
|
1510 |
-
if ($status == '
|
1511 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'overpaid');
|
1512 |
} else {
|
1513 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true);
|
@@ -1515,7 +1715,11 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
|
|
1515 |
|
1516 |
$order->save();
|
1517 |
|
1518 |
-
|
|
|
|
|
|
|
|
|
1519 |
}
|
1520 |
|
1521 |
/**
|
447 |
$_request["Order"] = array();
|
448 |
$_request["Order"]["OrderReference"] = $order->getIncrementId();
|
449 |
|
450 |
+
// if ($standard->getEnvironment() != 'production') {
|
451 |
+
// $_request["Order"]["OrderReference"] = md5(date('Y-m-d H:i:s')); // Identificação do pedido na loja
|
452 |
+
// }
|
453 |
|
454 |
$_request["BoletoTransactionCollection"] = array();
|
455 |
|
1193 |
public function processOrder($postData) {
|
1194 |
$standard = Mage::getModel('mundipagg/standard');
|
1195 |
$helperLog = new Uecommerce_Mundipagg_Helper_Log(__METHOD__);
|
1196 |
+
$returnMessage = '';
|
1197 |
|
1198 |
try {
|
|
|
|
|
|
|
|
|
|
|
1199 |
|
1200 |
+
if (!isset($postData['xmlStatusNotification'])) {
|
1201 |
+
$helperLog->info("Index xmlStatusNotification not found");
|
|
|
1202 |
|
1203 |
+
return 'KO | Internal error.';
|
1204 |
+
}
|
1205 |
|
1206 |
+
$xmlStatusNotificationString = htmlspecialchars_decode($postData['xmlStatusNotification']);
|
1207 |
+
$xml = simplexml_load_string($xmlStatusNotificationString);
|
1208 |
+
$json = json_encode($xml);
|
1209 |
+
$data = json_decode($json, true);
|
1210 |
|
1211 |
+
if ($standard->getConfigData('debug') == 1) {
|
1212 |
+
$orderReference = isset($xml->OrderReference) ? $xml->OrderReference : null;
|
|
|
1213 |
|
1214 |
+
if (is_null($orderReference)) {
|
1215 |
+
$logMessage = "Notification post:\n{$xmlStatusNotificationString}\n";
|
1216 |
|
1217 |
+
} else {
|
1218 |
+
$logMessage = "Notification post for order #{$orderReference}:\n{$xmlStatusNotificationString}";
|
|
|
|
|
1219 |
}
|
1220 |
|
1221 |
+
$helperLog->debug($logMessage);
|
1222 |
+
}
|
|
|
|
|
|
|
1223 |
|
1224 |
+
$orderReference = $data['OrderReference'];
|
1225 |
+
$order = Mage::getModel('sales/order');
|
|
|
|
|
|
|
1226 |
|
1227 |
+
$order->loadByIncrementId($orderReference);
|
|
|
1228 |
|
1229 |
+
if (!$order->getId()) {
|
1230 |
+
$returnMessage = "OrderReference don't correspond to a store order.";
|
1231 |
+
|
1232 |
+
$helperLog->info("OrderReference: {$orderReference} | {$returnMessage}");
|
1233 |
+
|
1234 |
+
return "KO | {$returnMessage}";
|
1235 |
+
}
|
1236 |
|
1237 |
+
$returnMessageLabel = "Order #{$order->getIncrementId()}";
|
|
|
1238 |
|
1239 |
+
if (isset($data['OrderStatus'])) {
|
1240 |
+
$orderStatus = $data['OrderStatus'];
|
|
|
1241 |
|
1242 |
+
//if MundiPagg order status is canceled, cancel the order on Magento
|
1243 |
+
if ($orderStatus == Uecommerce_Mundipagg_Model_Enum_OrderStatusEnum::CANCELED) {
|
1244 |
|
1245 |
+
if ($order->getState() == Mage_Sales_Model_Order::STATE_CANCELED) {
|
1246 |
+
$returnMessage = "OK | {$returnMessageLabel} | Order already canceled.";
|
1247 |
+
|
1248 |
+
$helperLog->info($returnMessage);
|
1249 |
+
|
1250 |
+
return $returnMessage;
|
1251 |
+
}
|
1252 |
+
|
1253 |
+
try {
|
1254 |
+
$this->tryCancelOrder($order, "Canceled after MundiPagg notification post.");
|
1255 |
+
$returnMessage = "OK | {$returnMessageLabel} | Canceled successfully";
|
1256 |
+
$helperLog->info($returnMessage);
|
1257 |
+
|
1258 |
+
} catch (Exception $e) {
|
1259 |
+
$returnMessage = "KO | {$returnMessageLabel} | {$e->getMessage()}";
|
1260 |
+
$helperLog->error($returnMessage);
|
1261 |
}
|
1262 |
}
|
1263 |
|
1264 |
+
return $returnMessage;
|
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 |
+
|
1288 |
+
$transactions = Mage::getModel('sales/order_payment_transaction')
|
1289 |
+
->getCollection()
|
1290 |
+
->addAttributeToFilter('order_id', array('eq' => $order->getEntityId()));
|
1291 |
+
|
1292 |
+
foreach ($transactions as $key => $transaction) {
|
1293 |
+
$orderTransactionKey = $transaction->getAdditionalInformation('TransactionKey');
|
1294 |
+
|
1295 |
+
// transactionKey found
|
1296 |
+
if ($orderTransactionKey == $transactionKey) {
|
1297 |
+
$t++;
|
1298 |
+
continue;
|
1299 |
+
}
|
1300 |
+
}
|
1301 |
+
|
1302 |
+
// transactionKey has been found so we can proceed
|
1303 |
+
if ($t > 0) {
|
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 |
+
$helperLog->info($returnMessage);
|
|
|
1325 |
|
1326 |
+
return $returnMessage;
|
1327 |
+
}
|
|
|
1328 |
|
1329 |
+
// Partial invoice
|
1330 |
+
$epsilon = 0.00001;
|
|
|
1331 |
|
1332 |
+
if ($order->canInvoice() && abs($order->getGrandTotal() - $capturedAmountInCents * 0.01) > $epsilon) {
|
1333 |
+
$baseTotalPaid = $order->getTotalPaid();
|
1334 |
|
1335 |
+
// If there is already a positive baseTotalPaid value it's not the first transaction
|
1336 |
+
if ($baseTotalPaid > 0) {
|
1337 |
+
$baseTotalPaid += $capturedAmountInCents * 0.01;
|
1338 |
|
1339 |
+
$order->setTotalPaid(0);
|
1340 |
+
} else {
|
1341 |
+
$baseTotalPaid = $capturedAmountInCents * 0.01;
|
1342 |
|
1343 |
+
$order->setTotalPaid($baseTotalPaid);
|
|
|
1344 |
}
|
1345 |
|
1346 |
+
// Can invoice only if total captured amount is equal to GrandTotal
|
1347 |
+
if (abs($order->getGrandTotal() - $baseTotalPaid) < $epsilon) {
|
1348 |
+
$result = $this->createInvoice($order, $data, $baseTotalPaid, $status);
|
1349 |
|
1350 |
return $result;
|
|
|
1351 |
|
1352 |
+
} else {
|
1353 |
+
$order->save();
|
1354 |
|
1355 |
+
$returnMessage = "OK | {$returnMessageLabel} | Captured amount isn't equal to grand total, invoice not created. Transaction status '{$status}' processed.";
|
1356 |
|
1357 |
+
return $returnMessage;
|
|
|
|
|
|
|
1358 |
}
|
1359 |
+
}
|
1360 |
|
1361 |
+
// Create invoice
|
1362 |
+
if ($order->canInvoice() && abs($capturedAmountInCents * 0.01 - $order->getGrandTotal()) < $epsilon) {
|
1363 |
+
$result = $this->createInvoice($order, $data, $order->getGrandTotal(), $status);
|
|
|
|
|
1364 |
|
1365 |
+
return $result;
|
1366 |
+
}
|
1367 |
|
1368 |
+
$returnMessage = "Order {$order->getIncrementId()} | Unable to create invoice for this order.";
|
|
|
|
|
1369 |
|
1370 |
+
$helperLog->error($returnMessage);
|
|
|
|
|
|
|
|
|
|
|
1371 |
|
1372 |
+
return "KO | {$returnMessage}";
|
|
|
|
|
1373 |
|
1374 |
+
break;
|
|
|
|
|
|
|
|
|
1375 |
|
1376 |
+
case 'underpaid':
|
1377 |
+
if ($order->canUnhold()) {
|
1378 |
+
$helperLog->info("{$returnMessageLabel} | unholded.");
|
1379 |
+
$order->unhold();
|
1380 |
+
}
|
1381 |
|
1382 |
+
$order->addStatusHistoryComment('Captured offline amount of R$' . $capturedAmountInCents * 0.01, false);
|
1383 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, 'underpaid');
|
1384 |
+
$order->setBaseTotalPaid($capturedAmountInCents * 0.01);
|
1385 |
+
$order->setTotalPaid($capturedAmountInCents * 0.01);
|
1386 |
+
$order->save();
|
1387 |
|
1388 |
+
$returnMessage = "OK | {$returnMessageLabel} | Transaction status '{$status}' processed. Order status updated.";
|
|
|
|
|
1389 |
|
1390 |
+
$helperLog->info($returnMessage);
|
|
|
|
|
|
|
1391 |
|
1392 |
+
return $returnMessage;
|
|
|
|
|
|
|
1393 |
|
1394 |
+
break;
|
|
|
|
|
1395 |
|
1396 |
+
case 'notauthorized':
|
1397 |
+
$returnMessage = "OK | {$returnMessageLabel} | Transaction status '{$status}' received.";
|
|
|
1398 |
|
1399 |
+
$helperLog->info($returnMessage);
|
|
|
|
|
|
|
|
|
1400 |
|
1401 |
+
return $returnMessage;
|
1402 |
+
|
1403 |
+
break;
|
1404 |
+
|
1405 |
+
case 'canceled':
|
1406 |
+
case 'refunded':
|
1407 |
+
case 'voided':
|
1408 |
+
if ($order->canUnhold()) {
|
1409 |
+
$helperLog->info("{$returnMessageLabel} unholded.");
|
1410 |
+
$order->unhold();
|
1411 |
+
}
|
1412 |
+
|
1413 |
+
$ok = 0;
|
1414 |
+
$invoices = array();
|
1415 |
+
$canceledInvoices = array();
|
1416 |
+
|
1417 |
+
foreach ($order->getInvoiceCollection() as $invoice) {
|
1418 |
+
// We check if invoice can be refunded
|
1419 |
+
if ($invoice->canRefund()) {
|
1420 |
+
$invoices[] = $invoice;
|
1421 |
+
}
|
1422 |
|
1423 |
+
// We check if invoice has already been canceled
|
1424 |
+
if ($invoice->isCanceled()) {
|
1425 |
+
$canceledInvoices[] = $invoice;
|
1426 |
}
|
1427 |
+
}
|
1428 |
+
|
1429 |
+
// Refund invoices and Credit Memo
|
1430 |
+
if (!empty($invoices)) {
|
1431 |
+
$service = Mage::getModel('sales/service_order', $order);
|
1432 |
|
1433 |
+
foreach ($invoices as $invoice) {
|
1434 |
+
$invoice->setState(Mage_Sales_Model_Order_Invoice::STATE_CANCELED);
|
1435 |
+
$invoice->save();
|
1436 |
|
1437 |
+
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
1438 |
+
$creditmemo->setOfflineRequested(true);
|
1439 |
+
$creditmemo->register()->save();
|
1440 |
}
|
1441 |
|
1442 |
+
// Close order
|
1443 |
+
$order->setData('state', 'closed');
|
1444 |
+
$order->setStatus('closed');
|
1445 |
+
$order->save();
|
1446 |
+
|
1447 |
+
// Return
|
1448 |
+
$ok++;
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
// Credit Memo
|
1452 |
+
if (!empty($canceledInvoices)) {
|
1453 |
+
$service = Mage::getModel('sales/service_order', $order);
|
1454 |
+
|
1455 |
+
foreach ($invoices as $invoice) {
|
1456 |
+
$creditmemo = $service->prepareInvoiceCreditmemo($invoice);
|
1457 |
+
$creditmemo->setOfflineRequested(true);
|
1458 |
+
$creditmemo->register()->save();
|
1459 |
}
|
|
|
1460 |
|
1461 |
+
// Close order
|
1462 |
+
$order->setData('state', Mage_Sales_Model_Order::STATE_CLOSED);
|
1463 |
+
$order->setStatus(Mage_Sales_Model_Order::STATE_CLOSED);
|
1464 |
$order->save();
|
1465 |
|
1466 |
+
// Return
|
1467 |
+
$ok++;
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
if (empty($invoices) && empty($canceledInvoices)) {
|
1471 |
+
// Cancel order
|
1472 |
+
$order->cancel()->save();
|
1473 |
+
$helperLog->info("{$returnMessageLabel} | Order canceled.");
|
1474 |
+
|
1475 |
+
// Return
|
1476 |
+
$ok++;
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
if ($ok > 0) {
|
1480 |
+
$returnMessage = "{$returnMessageLabel} | Order status '{$status}' processed.";
|
1481 |
+
$helperLog->info($returnMessage);
|
1482 |
+
|
1483 |
+
return "OK | {$returnMessage}";
|
1484 |
+
|
1485 |
+
} else {
|
1486 |
+
$returnMessage = "{$returnMessageLabel} | Unable to process transaction status '{$status}'.";
|
1487 |
+
|
1488 |
+
$helperLog->info($returnMessage);
|
1489 |
+
|
1490 |
+
return "KO | {$returnMessage}";
|
1491 |
+
}
|
1492 |
+
|
1493 |
+
break;
|
1494 |
+
|
1495 |
+
// For other status we add comment to history
|
1496 |
+
default:
|
1497 |
+
$returnMessage = "Order #{$order->getIncrementId()} | unexpected order status.";
|
1498 |
+
|
1499 |
+
$order->addStatusHistoryComment($status, false);
|
1500 |
+
$order->save();
|
1501 |
+
|
1502 |
+
$helperLog->info($returnMessage);
|
1503 |
+
|
1504 |
+
return "KO | {$returnMessage}";
|
1505 |
}
|
1506 |
} else {
|
1507 |
+
$returnMessage = "TransactionKey {$transactionKey} not found on database.";
|
1508 |
+
|
1509 |
+
$helperLog->info($returnMessage);
|
1510 |
+
|
1511 |
+
return "KO | {$returnMessage}";
|
1512 |
}
|
1513 |
+
|
1514 |
} catch (Exception $e) {
|
1515 |
+
$returnMessage = "Internal server error | {$e->getCode()} - ErrMsg: {$e->getMessage()}";
|
1516 |
+
|
1517 |
//Log error
|
1518 |
$helperLog->error($e, true);
|
1519 |
|
1520 |
//Mail error
|
1521 |
$this->mailError(print_r($e->getMessage(), 1));
|
1522 |
|
1523 |
+
return "KO | {$returnMessage}";
|
1524 |
+
}
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
/**
|
1528 |
+
* @param Mage_Sales_Model_Order $order
|
1529 |
+
* @param string $comment
|
1530 |
+
* @return bool
|
1531 |
+
* @throws RuntimeException
|
1532 |
+
*/
|
1533 |
+
public function tryCancelOrder(Mage_Sales_Model_Order $order, $comment = null) {
|
1534 |
+
if ($order->canCancel()) {
|
1535 |
+
try {
|
1536 |
+
$order->cancel();
|
1537 |
+
|
1538 |
+
if (!is_null($comment) && is_string($comment)) {
|
1539 |
+
$order->addStatusHistoryComment($comment);
|
1540 |
+
}
|
1541 |
+
|
1542 |
+
$order->save();
|
1543 |
+
|
1544 |
+
return true;
|
1545 |
+
|
1546 |
+
} catch (Exception $e) {
|
1547 |
+
throw new RuntimeException("Order cannot be canceled. Error reason: {$e->getMessage()}");
|
1548 |
+
}
|
1549 |
+
|
1550 |
+
} else {
|
1551 |
+
throw new RuntimeException("Order cannot be canceled.");
|
1552 |
+
}
|
1553 |
+
}
|
1554 |
+
|
1555 |
+
/**
|
1556 |
+
* Status reference:
|
1557 |
+
* http://docs.mundipagg.com/docs/enumera%C3%A7%C3%B5es
|
1558 |
+
*
|
1559 |
+
* @param array $postData
|
1560 |
+
* @TODO refatorar o tratamento das transacoes com este metodo
|
1561 |
+
*/
|
1562 |
+
private function processCreditCardTransactionNotification($postData) {
|
1563 |
+
$status = $postData['CreditCardTransaction']['CreditCardTransactionStatus'];
|
1564 |
+
$transactionKey = $postData['CreditCardTransaction']['TransactionKey'];
|
1565 |
+
$capturedAmountInCents = $postData['CreditCardTransaction']['CapturedAmountInCents'];
|
1566 |
+
$ccTransactionEnum = new Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum();
|
1567 |
+
$helperLog = new Uecommerce_Mundipagg_Helper_Log(__METHOD__);
|
1568 |
+
|
1569 |
+
switch ($status) {
|
1570 |
+
case $ccTransactionEnum::AUTHORIZED_PENDING_CAPTURE:
|
1571 |
+
break;
|
1572 |
+
|
1573 |
+
case $ccTransactionEnum::CAPTURED:
|
1574 |
+
break;
|
1575 |
+
|
1576 |
+
case $ccTransactionEnum::PARTIAL_CAPTURE:
|
1577 |
+
break;
|
1578 |
+
|
1579 |
+
case $ccTransactionEnum::NOT_AUTHORIZED:
|
1580 |
+
break;
|
1581 |
+
|
1582 |
+
case $ccTransactionEnum::VOIDED:
|
1583 |
+
break;
|
1584 |
+
|
1585 |
+
case $ccTransactionEnum::PENDING_VOID:
|
1586 |
+
break;
|
1587 |
+
|
1588 |
+
case $ccTransactionEnum::PARTIAL_VOID:
|
1589 |
+
break;
|
1590 |
+
|
1591 |
+
case $ccTransactionEnum::REFUNDED:
|
1592 |
+
break;
|
1593 |
+
|
1594 |
+
case $ccTransactionEnum::PENDING_REFUND:
|
1595 |
+
break;
|
1596 |
+
|
1597 |
+
case $ccTransactionEnum::PARTIAL_REFUNDED:
|
1598 |
+
break;
|
1599 |
+
|
1600 |
+
case $ccTransactionEnum::WITH_ERROR:
|
1601 |
+
break;
|
1602 |
+
|
1603 |
+
case $ccTransactionEnum::NOT_FOUND_ACQUIRER:
|
1604 |
+
break;
|
1605 |
+
|
1606 |
+
case $ccTransactionEnum::PENDING_AUTHORIZE:
|
1607 |
+
break;
|
1608 |
+
|
1609 |
+
case $ccTransactionEnum::INVALID:
|
1610 |
+
break;
|
1611 |
+
}
|
1612 |
+
}
|
1613 |
+
|
1614 |
+
/**
|
1615 |
+
* @author Ruan Azevedo
|
1616 |
+
* @since 2016-07-20
|
1617 |
+
* Status reference:
|
1618 |
+
* http://docs.mundipagg.com/docs/enumera%C3%A7%C3%B5es
|
1619 |
+
* @TODO refatorar o tratamento das transacoes de boleto com este metodo
|
1620 |
+
*/
|
1621 |
+
private function processBoletoTransactionNotification() {
|
1622 |
+
$status = '';
|
1623 |
+
$boletoTransactionEnum = new Uecommerce_Mundipagg_Model_Enum_BoletoTransactionStatusEnum();
|
1624 |
+
|
1625 |
+
switch ($status) {
|
1626 |
+
case $boletoTransactionEnum::GENERATED:
|
1627 |
+
break;
|
1628 |
+
|
1629 |
+
case $boletoTransactionEnum::PAID:
|
1630 |
+
break;
|
1631 |
+
|
1632 |
+
case $boletoTransactionEnum::UNDERPAID:
|
1633 |
+
break;
|
1634 |
+
|
1635 |
+
case $boletoTransactionEnum::OVERPAID:
|
1636 |
+
break;
|
1637 |
}
|
1638 |
}
|
1639 |
|
1640 |
/**
|
1641 |
* Create invoice
|
1642 |
+
* @return string OK|KO
|
1643 |
*/
|
1644 |
private function createInvoice($order, $data, $totalPaid, $status) {
|
1645 |
$invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
|
1646 |
+
$helperLog = new Uecommerce_Mundipagg_Helper_Log(__METHOD__);
|
1647 |
+
$returnMessageLabel = "Order #{$order->getIncrementId()}";
|
1648 |
|
1649 |
if (!$invoice->getTotalQty()) {
|
1650 |
+
$returnMessage = 'Cannot create an invoice without products.';
|
1651 |
+
|
1652 |
+
$order->addStatusHistoryComment($returnMessage, false);
|
1653 |
$order->save();
|
1654 |
|
1655 |
+
$helperLog->info("{$returnMessageLabel} | {$returnMessage}");
|
1656 |
+
|
1657 |
+
return $returnMessage;
|
1658 |
}
|
1659 |
|
1660 |
$invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_OFFLINE);
|
1707 |
|
1708 |
$payment->save();
|
1709 |
|
1710 |
+
if (strtolower($status) == 'overpaid') {
|
1711 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'overpaid');
|
1712 |
} else {
|
1713 |
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true);
|
1715 |
|
1716 |
$order->save();
|
1717 |
|
1718 |
+
$returnMessage = "OK | {$returnMessageLabel} | invoice created and order status changed to processing.";
|
1719 |
+
|
1720 |
+
$helperLog->info($returnMessage);
|
1721 |
+
|
1722 |
+
return $returnMessage;
|
1723 |
}
|
1724 |
|
1725 |
/**
|
app/code/community/Uecommerce/Mundipagg/Model/Enum/BoletoTransactionStatusEnum.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Uecommerce_Mundipagg_Model_Enum_BoletoTransactionStatusEnum {
|
4 |
+
|
5 |
+
const GENERATED = 'Generated';
|
6 |
+
const PAID = 'Paid';
|
7 |
+
const UNDERPAID = 'Underpaid';
|
8 |
+
const OVERPAID = 'Overpaid';
|
9 |
+
|
10 |
+
}
|
app/code/community/Uecommerce/Mundipagg/Model/Enum/CreditCardTransactionStatusEnum.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum {
|
4 |
+
|
5 |
+
const AUTHORIZED_PENDING_CAPTURE = 'AuthorizedPendingCapture';
|
6 |
+
const CAPTURED = 'Captured';
|
7 |
+
const PARTIAL_CAPTURE = 'PartialCapture';
|
8 |
+
const NOT_AUTHORIZED = 'NotAuthorized';
|
9 |
+
const VOIDED = 'Voided';
|
10 |
+
const PENDING_VOID = 'PendingVoid';
|
11 |
+
const PARTIAL_VOID = 'PartialVoid';
|
12 |
+
const REFUNDED = 'Refunded';
|
13 |
+
const PENDING_REFUND = 'PendingRefund';
|
14 |
+
const PARTIAL_REFUNDED = 'PartialRefunded';
|
15 |
+
const WITH_ERROR = 'WithError';
|
16 |
+
const NOT_FOUND_ACQUIRER = 'NotFoundInAcquirer';
|
17 |
+
const PENDING_AUTHORIZE = 'PendingAuthorize';
|
18 |
+
const INVALID = 'Invalid';
|
19 |
+
|
20 |
+
}
|
app/code/community/Uecommerce/Mundipagg/Model/Enum/OrderStatusEnum.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Uecommerce_Mundipagg_Model_Enum_OrderStatusEnum {
|
4 |
+
|
5 |
+
const OPENED = 'Opened';
|
6 |
+
const PAID = 'Paid';
|
7 |
+
const PARTIAL_PAID = 'PartialPaid';
|
8 |
+
const OVERPAID = 'Overpaid';
|
9 |
+
const CANCELED = 'Canceled';
|
10 |
+
const WITH_ERROR = 'WithError';
|
11 |
+
|
12 |
+
}
|
app/code/community/Uecommerce/Mundipagg/Model/Enum/TransactionTypeEnum.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Uecommerce_Mundipagg_Model_Enum_TransactionTypeEnum {
|
4 |
+
|
5 |
+
const CREDIT_CARD = 1;
|
6 |
+
const BOLETO = 2;
|
7 |
+
const DEBITO = 3;
|
8 |
+
|
9 |
+
}
|
app/code/community/Uecommerce/Mundipagg/controllers/StandardController.php
CHANGED
@@ -34,13 +34,6 @@ class Uecommerce_Mundipagg_StandardController extends Mage_Core_Controller_Front
|
|
34 |
*/
|
35 |
protected $_order;
|
36 |
|
37 |
-
function indexAction() {
|
38 |
-
$request = $this->getRequest();
|
39 |
-
$post = $request->getPost();
|
40 |
-
|
41 |
-
echo 'ok!';
|
42 |
-
}
|
43 |
-
|
44 |
public function getOrder() {
|
45 |
if ($this->_order == null) {
|
46 |
|
34 |
*/
|
35 |
protected $_order;
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
public function getOrder() {
|
38 |
if ($this->_order == null) {
|
39 |
|
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.2</version>
|
36 |
</Uecommerce_Mundipagg>
|
37 |
</modules>
|
38 |
|
app/design/adminhtml/default/default/template/mundipagg/payment/.DS_Store
DELETED
Binary file
|
app/design/frontend/base/default/template/mundipagg/antifraud/fcontrol.phtml
CHANGED
@@ -4,7 +4,7 @@ $antifraudProvider = Mage::getStoreConfig('payment/mundipagg_standard/antifraud_
|
|
4 |
$environment = Mage::getStoreConfig('payment/mundipagg_standard/environment_fcontrol');
|
5 |
|
6 |
if ($environment == Uecommerce_Mundipagg_Model_Source_FControlEnvironment::SANDBOX) {
|
7 |
-
$scriptUrl = '/
|
8 |
} else {
|
9 |
$scriptUrl = 'https://static.fcontrol.com.br/fingerprint/fcontrol-min-ed.js';
|
10 |
}
|
4 |
$environment = Mage::getStoreConfig('payment/mundipagg_standard/environment_fcontrol');
|
5 |
|
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-min-ed.js';
|
10 |
}
|
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>
|
@@ -12,11 +12,13 @@ Mundipagg payment gateway integration.</summary>
|
|
12 |
<description>Com esta extensão você poderá integrar sua loja Magento com o gateway de pagamentos MundiPagg.
|
13 |

|
14 |
With this extension you can process payments through brazilian payment gateway Mundipagg</description>
|
15 |
-
<notes>
|
|
|
|
|
16 |
<authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
|
17 |
-
<date>2016-07-
|
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="f5825fcb7a4d75cc0dfd3d448e48e905"/></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="f709ee240d281c5beff792b81cebb7fa"/><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"/><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="820a847ecc074f2d89addcb0e0960cfb"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="etc"><file name="config.xml" hash="0f3e292fb16614b12b9674691ca4eaaf"/><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><file name=".DS_Store" hash="26750fda0756757b7494103fb2069171"/></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="b5c72881ec073a618fefd48fb3a46ebd"/><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="dfb9bd58a4614bfd6317bc98b2a68c8f"/><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"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></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"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></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"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></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>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mundipagg_Integracao</name>
|
4 |
+
<version>2.6.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT</license>
|
7 |
<channel>community</channel>
|
12 |
<description>Com esta extensão você poderá integrar sua loja Magento com o gateway de pagamentos MundiPagg.
|
13 |

|
14 |
With this extension you can process payments through brazilian payment gateway Mundipagg</description>
|
15 |
+
<notes>Add logs and return message for notification post treatment.
|
16 |
+

|
17 |
+
Add cancelation treatment.</notes>
|
18 |
<authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
|
19 |
+
<date>2016-07-22</date>
|
20 |
+
<time>15:13:54</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="f5825fcb7a4d75cc0dfd3d448e48e905"/></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="df89411236cbd341a668ff720af4d636"/><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"/></dir><dir name="etc"><file name="config.xml" hash="cdae4277c060537f101f1e8d8aed24dc"/><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="dfb9bd58a4614bfd6317bc98b2a68c8f"/><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>
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.1.0</min><max>7.9.99</max></php></required></dependencies>
|
24 |
</package>
|
skin/adminhtml/default/default/images/mundipagg/.DS_Store
DELETED
Binary file
|
skin/frontend/base/default/images/mundipagg/.DS_Store
DELETED
Binary file
|
skin/frontend/default/default/images/mundipagg/.DS_Store
DELETED
Binary file
|