Mundipagg_Integracao - Version 2.9.4

Version Notes

Fix in transactions not saving data when AuthOnly or Canceled;
With error transactions fix.

Download this release

Release Info

Developer MundiPagg
Extension Mundipagg_Integracao
Version 2.9.4
Comparing to
See all releases


Code changes from version 2.9.3 to 2.9.4

app/code/community/Uecommerce/Mundipagg/Model/Api.php CHANGED
@@ -234,8 +234,8 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
234
  // Return errors
235
  return array(
236
  'error' => 1,
237
- 'ErrorCode' => '',
238
- 'ErrorDescription' => '',
239
  'OrderKey' => $orderKey,
240
  'OrderReference' => $orderReference,
241
  'ErrorItemCollection' => $errorItemCollection,
@@ -1340,7 +1340,7 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1340
  } catch (Exception $e) {
1341
  $errMsg = $e->getMessage();
1342
 
1343
- $returnMessage = "KO | #{$orderReference} | {$transactionKey} | ";
1344
  $returnMessage .= "Can't capture transaction: {$errMsg}";
1345
  $helperLog->info($returnMessage);
1346
 
@@ -1476,8 +1476,6 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1476
 
1477
  } catch (Exception $e) {
1478
  $returnMessage = "OK | {$returnMessageLabel} | {$e->getMessage()}";
1479
-
1480
- $helperLog->error($e, true);
1481
  $helperLog->info($returnMessage);
1482
 
1483
  return $returnMessage;
@@ -1580,11 +1578,11 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1580
  break;
1581
 
1582
  case 'authorizedpendingcapture':
1583
- $returnMessage = "Order #{$order->getIncrementId()} | Transaction status '{$status}' received.";
1584
 
1585
  $helperLog->info($returnMessage);
1586
 
1587
- return "OK | {$returnMessage}";
1588
  break;
1589
 
1590
  case $statusWithError:
234
  // Return errors
235
  return array(
236
  'error' => 1,
237
+ 'ErrorCode' => $helper->issetOr($errorItemCollection[0]['ErrorCode']),
238
+ 'ErrorDescription' => $helper->issetOr($errorItemCollection[0]['Description']),
239
  'OrderKey' => $orderKey,
240
  'OrderReference' => $orderReference,
241
  'ErrorItemCollection' => $errorItemCollection,
1340
  } catch (Exception $e) {
1341
  $errMsg = $e->getMessage();
1342
 
1343
+ $returnMessage = "OK | #{$orderReference} | {$transactionKey} | ";
1344
  $returnMessage .= "Can't capture transaction: {$errMsg}";
1345
  $helperLog->info($returnMessage);
1346
 
1476
 
1477
  } catch (Exception $e) {
1478
  $returnMessage = "OK | {$returnMessageLabel} | {$e->getMessage()}";
 
 
1479
  $helperLog->info($returnMessage);
1480
 
1481
  return $returnMessage;
1578
  break;
1579
 
1580
  case 'authorizedpendingcapture':
1581
+ $returnMessage = "OK | Order #{$order->getIncrementId()} | Transaction status '{$status}' received.";
1582
 
1583
  $helperLog->info($returnMessage);
1584
 
1585
+ return $returnMessage;
1586
  break;
1587
 
1588
  case $statusWithError:
app/code/community/Uecommerce/Mundipagg/Model/Standard.php CHANGED
@@ -578,31 +578,23 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
578
 
579
  // Proceed to authorization on Gateway
580
  $resultPayment = $this->doPayment($payment, $order);
581
-
582
  $helper = Mage::helper('mundipagg');
583
  $result = $helper->issetOr($resultPayment['result'], false);
 
584
 
585
- if ($result === false) {
586
  return $this->integrationTimeOut($order, $payment);
587
  }
588
 
589
- // We record transaction(s)
590
- if (isset($resultPayment['result'])) {
591
- $xml = $resultPayment['result'];
592
- $json = json_encode($xml);
593
-
594
- $resultPayment['result'] = array();
595
- $resultPayment['result'] = json_decode($json, true);
596
-
597
- if (isset($xml->CreditCardTransactionResultCollection->CreditCardTransactionResult)) {
598
- if (count($xml->CreditCardTransactionResultCollection->CreditCardTransactionResult) == 1) {
599
- $trans = $resultPayment['result']['CreditCardTransactionResultCollection']['CreditCardTransactionResult'];
600
 
601
- $transaction = $this->_addTransaction($payment, $trans['TransactionKey'], Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, $trans);
602
- } else {
603
- foreach ($resultPayment['result']['CreditCardTransactionResultCollection']['CreditCardTransactionResult'] as $key => $trans) {
604
- $transaction = $this->_addTransaction($payment, $trans['TransactionKey'], Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, $trans, $key);
605
- }
606
  }
607
  }
608
  }
@@ -612,7 +604,10 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
612
  try {
613
  $payment->setSkipOrderProcessing(true)->save();
614
 
615
- Mage::throwException(Mage::helper('mundipagg')->__($resultPayment['ErrorDescription']));
 
 
 
616
  } catch (Exception $e) {
617
  Mage::logException($e);
618
 
@@ -624,21 +619,16 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
624
  $order->sendNewOrderEmail();
625
  }
626
 
627
- if (isset($xml->CreditCardTransactionResultCollection->CreditCardTransactionResult)) {
628
- $creditCardTransactionResultCollection = $xml->CreditCardTransactionResultCollection->CreditCardTransactionResult;
629
-
630
- // We can capture only if:
631
- // 1. Multiple Credit Cards Payment
632
- // 2. Anti fraud is disabled
633
- // 3. Payment action is "AuthorizeAndCapture"
634
- if (
635
- count($creditCardTransactionResultCollection) > 1 &&
636
- $this->getAntiFraud() == 0 &&
637
- $this->getPaymentAction() == 'order' &&
638
- $order->getPaymentAuthorizationAmount() == $order->getGrandTotal()
639
- ) {
640
- $this->captureAndcreateInvoice($payment);
641
- }
642
  }
643
  }
644
 
@@ -689,9 +679,6 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
689
  $TransactionReference = $transaction->getAdditionalInformation('TransactionReference');
690
  }
691
 
692
- // $data['CreditCardTransactionCollection']['AmountInCents'] = $payment->getOrder()->getBaseGrandTotal() * 100;
693
- // $data['CreditCardTransactionCollection']['TransactionKey'] = $TransactionKey;
694
- // $data['CreditCardTransactionCollection']['TransactionReference'] = $TransactionReference;
695
  $orderkeys = (array)$payment->getAdditionalInformation('OrderKey');
696
 
697
  foreach ($orderkeys as $orderkey) {
@@ -815,134 +802,133 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
815
  // Return error
816
  if (isset($resultPayment['error'])) {
817
  return $this->paymentError($order, $resultPayment);
 
818
 
819
- } else {
820
- if (isset($resultPayment['message'])) {
821
 
822
- $transactionType = Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER;
823
 
824
- // Xml
825
- $xml = $resultPayment['result'];
826
- $json = json_encode($xml);
827
 
828
- $resultPayment['result'] = array();
829
- $resultPayment['result'] = json_decode($json, true);
830
 
831
- switch ($resultPayment['message']) {
832
- // Boleto
833
- case 0:
834
- $boletoTransactionCollection = $helper->issetOr(
835
- $resultPayment['result']['BoletoTransactionResultCollection'][0]
836
- );
837
 
838
- $boletoUrl = $helper->issetOr($boletoTransactionCollection['BoletoUrl']);
839
 
840
- if (is_null($boletoUrl) === false) {
841
- $payment->setAdditionalInformation('BoletoUrl', $boletoUrl);
842
 
843
- // In order to show "Print Boleto" link in order email
844
- $order->getPayment()->setAdditionalInformation('BoletoUrl', $boletoUrl);
845
- }
846
 
847
- $transactionKey = $helper->issetOr($boletoTransactionCollection['TransactionKey']);
848
- $this->_addTransaction($payment, $transactionKey, $transactionType, $boletoTransactionCollection);
849
 
850
- // We record transaction(s)
851
- if (count($resultPayment['result']['BoletoTransactionResultCollection']) == 1) {
852
- $trans = $boletoTransactionCollection;
853
- $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
854
 
855
- } else {
856
- foreach ($boletoTransactionCollection as $key => $trans) {
857
- $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
858
- }
859
  }
 
860
 
861
- $payment->setTransactionId($this->_transactionId);
862
- $payment->save();
863
 
864
- // Send new order email when not in admin
865
- if (Mage::app()->getStore()->getCode() != 'admin') {
866
- $order->sendNewOrderEmail();
867
- }
868
 
869
- break;
870
 
871
- // Credit Card
872
- case 1:
873
- $creditCardTransactionResultCollection = $result['CreditCardTransactionResultCollection'];
874
- $transactionsQty = count($creditCardTransactionResultCollection);
875
 
876
- // We record transaction(s)
877
- if ($transactionsQty == 1) {
878
- $transaction = $creditCardTransactionResultCollection[0];
879
 
880
- if (array_key_exists('TransactionKey', $transaction)) {
881
- $this->_addTransaction($payment, $transaction['TransactionKey'], $transactionType, $transaction);
882
- }
883
 
884
- } else {
885
- foreach ($creditCardTransactionResultCollection as $key => $trans) {
886
- if (array_key_exists('TransactionKey', $trans)) {
887
- $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
888
- }
889
  }
890
  }
 
891
 
892
- // Send new order email when not in admin
893
- if (Mage::app()->getStore()->getCode() != 'admin') {
894
- $order->sendNewOrderEmail();
895
- }
896
 
897
- // Invoice
898
- $order = $payment->getOrder();
899
 
900
- if (!$order->canInvoice()) {
901
- // Log error
902
- Mage::logException(Mage::helper('core')->__('Cannot create an invoice.'));
903
- Mage::throwException(Mage::helper('core')->__('Cannot create an invoice.'));
904
- }
905
 
906
- // Create invoice
907
- $invoice = Mage::getModel('sales/service_order', $payment->getOrder())->prepareInvoice(array());
908
- $invoice->register();
909
 
910
- // Set capture case to offline and register the invoice.
911
- $invoice->setTransactionId($this->_transactionId);
912
- $invoice->setCanVoidFlag(true);
913
- $invoice->getOrder()->setIsInProcess(true);
914
- $invoice->setState(2);
915
 
916
- // Send invoice if enabled
917
- if (Mage::helper('sales')->canSendNewInvoiceEmail($order->getStoreId())) {
918
- $invoice->setEmailSent(true);
919
- $invoice->sendEmail();
920
- }
921
 
922
- $invoice->save();
923
 
924
- $order->setBaseTotalPaid($order->getBaseGrandTotal());
925
- $order->setTotalPaid($order->getBaseGrandTotal());
926
- $order->addStatusHistoryComment('Captured online amount of R$' . $order->getBaseGrandTotal(), false);
927
- $order->save();
928
 
929
- $payment->setLastTransId($this->_transactionId);
930
- $payment->save();
931
 
932
- break;
933
 
934
- // Debit
935
- case 4:
936
- // We record transaction
937
- $trans = $resultPayment['result'];
938
 
939
- $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
940
- break;
941
- }
942
  }
943
-
944
- return $this;
945
  }
 
 
946
  }
947
 
948
  /**
@@ -1143,10 +1129,10 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1143
  if (isset($approvalRequest['ErrorItemCollection'])) {
1144
  $errorItemCollection = $approvalRequest['ErrorItemCollection'];
1145
 
1146
- if (isset($errorItemCollection['ErrorItem']['ErrorCode'])) {
1147
- $errorCode = $errorItemCollection['ErrorItem']['ErrorCode'];
1148
 
1149
- if ($errorCode == '504') {
1150
  $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
1151
  Mage::getSingleton('checkout/session')->setApprovalRequestSuccess($statusWithError);
1152
 
@@ -1878,7 +1864,15 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1878
  'PendingAuthorize'
1879
  );
1880
 
1881
- if (in_array($ccTransactionStatus, $transactionOpenStatuses)) {
 
 
 
 
 
 
 
 
1882
  $transaction->setIsClosed(0);
1883
  } else {
1884
  $transaction->setIsClosed(1);
@@ -1974,24 +1968,21 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1974
  */
1975
  private function paymentError(Mage_Sales_Model_Order $order, $resultPayment) {
1976
  try {
1977
- // Xml
1978
- $xml = $resultPayment['result'];
1979
- $json = json_encode($xml);
1980
-
1981
- $resultPayment['result'] = array();
1982
- $resultPayment['result'] = json_decode($json, true);
1983
-
1984
  $payment = $order->getPayment();
1985
  $transactionType = Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER;
1986
 
 
 
 
 
1987
  // We record transaction(s)
1988
- if (isset($resultPayment['result']['CreditCardTransactionResultCollection']['CreditCardTransactionResult'])) {
1989
- if (count($resultPayment['result']['CreditCardTransactionResultCollection']) == 1) {
1990
- $trans = $resultPayment['result']['CreditCardTransactionResultCollection']['CreditCardTransactionResult'];
1991
 
1992
  $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
1993
  } else {
1994
- foreach ($resultPayment['result']['CreditCardTransactionResultCollection']['CreditCardTransactionResult'] as $key => $trans) {
1995
  $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
1996
  }
1997
  }
578
 
579
  // Proceed to authorization on Gateway
580
  $resultPayment = $this->doPayment($payment, $order);
 
581
  $helper = Mage::helper('mundipagg');
582
  $result = $helper->issetOr($resultPayment['result'], false);
583
+ $ccResultCollection = $helper->issetOr($result['CreditCardTransactionResultCollection']);
584
 
585
+ if (is_null($ccResultCollection)) {
586
  return $this->integrationTimeOut($order, $payment);
587
  }
588
 
589
+ if (is_null($ccResultCollection) === false) {
590
+ // We record transaction(s)
591
+ if (count($ccResultCollection) == 1) {
592
+ $trans = $ccResultCollection[0];
593
+ $this->_addTransaction($payment, $trans['TransactionKey'], Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, $trans);
 
 
 
 
 
 
594
 
595
+ } else {
596
+ foreach ($ccResultCollection as $key => $trans) {
597
+ $this->_addTransaction($payment, $trans['TransactionKey'], Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH, $trans, $key);
 
 
598
  }
599
  }
600
  }
604
  try {
605
  $payment->setSkipOrderProcessing(true)->save();
606
 
607
+ if (empty($resultPayment['ErrorDescription']) === false) {
608
+ Mage::throwException(Mage::helper('mundipagg')->__($resultPayment['ErrorDescription']));
609
+ }
610
+
611
  } catch (Exception $e) {
612
  Mage::logException($e);
613
 
619
  $order->sendNewOrderEmail();
620
  }
621
 
622
+ // We can capture only if:
623
+ // 1. Multiple Credit Cards Payment
624
+ // 2. Anti fraud is disabled
625
+ // 3. Payment action is "AuthorizeAndCapture"
626
+ if (count($ccResultCollection) > 1
627
+ && $this->getAntiFraud() == 0
628
+ && $this->getPaymentAction() == 'order'
629
+ && $order->getPaymentAuthorizationAmount() == $order->getGrandTotal()
630
+ ) {
631
+ $this->captureAndcreateInvoice($payment);
 
 
 
 
 
632
  }
633
  }
634
 
679
  $TransactionReference = $transaction->getAdditionalInformation('TransactionReference');
680
  }
681
 
 
 
 
682
  $orderkeys = (array)$payment->getAdditionalInformation('OrderKey');
683
 
684
  foreach ($orderkeys as $orderkey) {
802
  // Return error
803
  if (isset($resultPayment['error'])) {
804
  return $this->paymentError($order, $resultPayment);
805
+ }
806
 
807
+ if (isset($resultPayment['message'])) {
 
808
 
809
+ $transactionType = Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER;
810
 
811
+ // Xml
812
+ $xml = $resultPayment['result'];
813
+ $json = json_encode($xml);
814
 
815
+ $resultPayment['result'] = array();
816
+ $resultPayment['result'] = json_decode($json, true);
817
 
818
+ switch ($resultPayment['message']) {
819
+ // Boleto
820
+ case 0:
821
+ $boletoTransactionCollection = $helper->issetOr(
822
+ $resultPayment['result']['BoletoTransactionResultCollection'][0]
823
+ );
824
 
825
+ $boletoUrl = $helper->issetOr($boletoTransactionCollection['BoletoUrl']);
826
 
827
+ if (is_null($boletoUrl) === false) {
828
+ $payment->setAdditionalInformation('BoletoUrl', $boletoUrl);
829
 
830
+ // In order to show "Print Boleto" link in order email
831
+ $order->getPayment()->setAdditionalInformation('BoletoUrl', $boletoUrl);
832
+ }
833
 
834
+ $transactionKey = $helper->issetOr($boletoTransactionCollection['TransactionKey']);
835
+ $this->_addTransaction($payment, $transactionKey, $transactionType, $boletoTransactionCollection);
836
 
837
+ // We record transaction(s)
838
+ if (count($resultPayment['result']['BoletoTransactionResultCollection']) == 1) {
839
+ $trans = $boletoTransactionCollection;
840
+ $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
841
 
842
+ } else {
843
+ foreach ($boletoTransactionCollection as $key => $trans) {
844
+ $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
 
845
  }
846
+ }
847
 
848
+ $payment->setTransactionId($this->_transactionId);
849
+ $payment->save();
850
 
851
+ // Send new order email when not in admin
852
+ if (Mage::app()->getStore()->getCode() != 'admin') {
853
+ $order->sendNewOrderEmail();
854
+ }
855
 
856
+ break;
857
 
858
+ // Credit Card
859
+ case 1:
860
+ $creditCardTransactionResultCollection = $result['CreditCardTransactionResultCollection'];
861
+ $transactionsQty = count($creditCardTransactionResultCollection);
862
 
863
+ // We record transaction(s)
864
+ if ($transactionsQty == 1) {
865
+ $transaction = $creditCardTransactionResultCollection[0];
866
 
867
+ if (array_key_exists('TransactionKey', $transaction)) {
868
+ $this->_addTransaction($payment, $transaction['TransactionKey'], $transactionType, $transaction);
869
+ }
870
 
871
+ } else {
872
+ foreach ($creditCardTransactionResultCollection as $key => $trans) {
873
+ if (array_key_exists('TransactionKey', $trans)) {
874
+ $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
 
875
  }
876
  }
877
+ }
878
 
879
+ // Send new order email when not in admin
880
+ if (Mage::app()->getStore()->getCode() != 'admin') {
881
+ $order->sendNewOrderEmail();
882
+ }
883
 
884
+ // Invoice
885
+ $order = $payment->getOrder();
886
 
887
+ if (!$order->canInvoice()) {
888
+ // Log error
889
+ Mage::logException(Mage::helper('core')->__('Cannot create an invoice.'));
890
+ Mage::throwException(Mage::helper('core')->__('Cannot create an invoice.'));
891
+ }
892
 
893
+ // Create invoice
894
+ $invoice = Mage::getModel('sales/service_order', $payment->getOrder())->prepareInvoice(array());
895
+ $invoice->register();
896
 
897
+ // Set capture case to offline and register the invoice.
898
+ $invoice->setTransactionId($this->_transactionId);
899
+ $invoice->setCanVoidFlag(true);
900
+ $invoice->getOrder()->setIsInProcess(true);
901
+ $invoice->setState(2);
902
 
903
+ // Send invoice if enabled
904
+ if (Mage::helper('sales')->canSendNewInvoiceEmail($order->getStoreId())) {
905
+ $invoice->setEmailSent(true);
906
+ $invoice->sendEmail();
907
+ }
908
 
909
+ $invoice->save();
910
 
911
+ $order->setBaseTotalPaid($order->getBaseGrandTotal());
912
+ $order->setTotalPaid($order->getBaseGrandTotal());
913
+ $order->addStatusHistoryComment('Captured online amount of R$' . $order->getBaseGrandTotal(), false);
914
+ $order->save();
915
 
916
+ $payment->setLastTransId($this->_transactionId);
917
+ $payment->save();
918
 
919
+ break;
920
 
921
+ // Debit
922
+ case 4:
923
+ // We record transaction
924
+ $trans = $resultPayment['result'];
925
 
926
+ $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
927
+ break;
 
928
  }
 
 
929
  }
930
+
931
+ return $this;
932
  }
933
 
934
  /**
1129
  if (isset($approvalRequest['ErrorItemCollection'])) {
1130
  $errorItemCollection = $approvalRequest['ErrorItemCollection'];
1131
 
1132
+ foreach ($errorItemCollection as $i) {
1133
+ $errorCode = $helper->issetOr($i['ErrorCode']);
1134
 
1135
+ if ($errorCode == 504) {
1136
  $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
1137
  Mage::getSingleton('checkout/session')->setApprovalRequestSuccess($statusWithError);
1138
 
1864
  'PendingAuthorize'
1865
  );
1866
 
1867
+ $order = $payment->getOrder();
1868
+ $orderIncrementId = $order->getIncrementId();
1869
+
1870
+ $api = new Uecommerce_Mundipagg_Model_Api();
1871
+ $orderInOfflineRetry = $api->orderIsInOfflineRetry($orderIncrementId);
1872
+
1873
+ if (in_array($ccTransactionStatus, $transactionOpenStatuses)
1874
+ || $orderInOfflineRetry
1875
+ ) {
1876
  $transaction->setIsClosed(0);
1877
  } else {
1878
  $transaction->setIsClosed(1);
1968
  */
1969
  private function paymentError(Mage_Sales_Model_Order $order, $resultPayment) {
1970
  try {
 
 
 
 
 
 
 
1971
  $payment = $order->getPayment();
1972
  $transactionType = Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER;
1973
 
1974
+ $helper = Mage::helper('mundipagg');
1975
+ $result = $helper->issetOr($resultPayment['result']);
1976
+ $ccTxnCollection = $helper->issetOr($result['CreditCardTransactionResultCollection']);
1977
+
1978
  // We record transaction(s)
1979
+ if (is_null($ccTxnCollection) === false) {
1980
+ if (count($ccTxnCollection) == 1) {
1981
+ $trans = $ccTxnCollection[0];
1982
 
1983
  $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans);
1984
  } else {
1985
+ foreach ($ccTxnCollection as $key => $trans) {
1986
  $this->_addTransaction($payment, $trans['TransactionKey'], $transactionType, $trans, $key);
1987
  }
1988
  }
app/code/community/Uecommerce/Mundipagg/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
- <version>2.9.3</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
+ <version>2.9.4</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
- <version>2.9.3</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
@@ -12,19 +12,12 @@ Mundipagg payment gateway integration.</summary>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
- <notes>Fix in installments;&#xD;
16
- Fix in notification NotAuthorized and Capture;&#xD;
17
- Fix in recurrency fields in the new product screen;&#xD;
18
- Fix in PHP 5.4 retrocompatibility;&#xD;
19
- Fix in interests data serialization;&#xD;
20
- Fix in "boleto" underpaid/overpaid notification.&#xD;
21
- &#xD;
22
- &#xD;
23
- </notes>
24
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
25
- <date>2016-12-15</date>
26
- <time>18:15:39</time>
27
- <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="6d246c6ed7655ed6a87dfff32df3ea68"/><file name="Installments.php" hash="d0589866ed24ba418a4d1aaea503689e"/><file name="Log.php" hash="3417e640be10aac6c3936a56364eb692"/><file name="UnserializeArray.php" hash="83f968a1a32e0b974bb5607dd2f00463"/><file name="Util.php" hash="e5c9d9329da5b00b476c352990e413c7"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><dir name="Antifraud"><file name="Minval.php" hash="40a49fef644e180b50c896e9dab34c76"/></dir><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/><file name="Offlineretry.php" hash="b869cce6f6cca51cb5d928776a9122c1"/><file name="Timeout.php" hash="d770cbef860e43d62e2bcbdff8b6fb35"/></dir><file name="Api.php" hash="33ab6cef8507f5c6d8f704cce93d6343"/><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="f63e955c1bbaebc3f8b414d1bbb0facf"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="8e59a63a8a5c38af5a9eb3cd7b3547a6"/></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="a15c756fbd5295301991679d6d256655"/><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="ece14459f92f4751c70b4dede0364b40"/></dir><file name="Offlineretry.php" hash="f18698d68581de1e756e956afb19106b"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="f22bf02692c02d3f8859601ccf9cf90c"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="9752c73679dee78efc83f468fe45a946"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="ead3ee88b6e2397fc8aabdf2388db752"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="16acc0dfc804107603f50239a86b37b2"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="data"><dir name="mundipagg_setup"><file name="data-upgrade-2.9.1-2.9.2.php" hash="6c8f542f7f04755cf8d2e3e8cb517b51"/></dir></dir><dir name="etc"><file name="config.xml" hash="5e29114b836c243cc0258d4dd5fbe0ae"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="31839e346d622a8947eda7360281e238"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/><file name="mysql4-upgrade-2.7.4-2.8.0.php" hash="c53fbd135b7735b7bbe90e5c4c11e5b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="035fd61eb33327a613e5b3b91ddbc389"/></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="ced44379b7a3f15e027e91ba8b7ddd4a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="0dc6cc39164b57626ccf7a429bbbf3d7"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="8fe2da3913bd18a20f35235533080ab8"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="fingerprint-fcontrol.js" hash="33409e94c34847788fabbb3a5b038fd0"/><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="1bbf52070bdd06b7b0687f6cced1886f"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="mundi-magento-admin-banner.png" hash="70ed79656a42a2b4c0291d0a6285fb6d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="14ebb8e59b1205d90257602baa48a04a"/></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
30
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
+ <version>2.9.4</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
+ <notes>Fix in transactions not saving data when AuthOnly or Canceled;&#xD;
16
+ With error transactions fix.</notes>
 
 
 
 
 
 
 
17
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
18
+ <date>2016-12-20</date>
19
+ <time>20:36:39</time>
20
+ <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="6d246c6ed7655ed6a87dfff32df3ea68"/><file name="Installments.php" hash="d0589866ed24ba418a4d1aaea503689e"/><file name="Log.php" hash="3417e640be10aac6c3936a56364eb692"/><file name="UnserializeArray.php" hash="83f968a1a32e0b974bb5607dd2f00463"/><file name="Util.php" hash="e5c9d9329da5b00b476c352990e413c7"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><dir name="Antifraud"><file name="Minval.php" hash="40a49fef644e180b50c896e9dab34c76"/></dir><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/><file name="Offlineretry.php" hash="b869cce6f6cca51cb5d928776a9122c1"/><file name="Timeout.php" hash="d770cbef860e43d62e2bcbdff8b6fb35"/></dir><file name="Api.php" hash="b263a0b118475c9316a5d3f0d1fa8fa9"/><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="f63e955c1bbaebc3f8b414d1bbb0facf"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="8e59a63a8a5c38af5a9eb3cd7b3547a6"/></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="a15c756fbd5295301991679d6d256655"/><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="ece14459f92f4751c70b4dede0364b40"/></dir><file name="Offlineretry.php" hash="f18698d68581de1e756e956afb19106b"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="f22bf02692c02d3f8859601ccf9cf90c"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="9752c73679dee78efc83f468fe45a946"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="591e9ba46a52fab70ac114c79dac12d1"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="16acc0dfc804107603f50239a86b37b2"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="data"><dir name="mundipagg_setup"><file name="data-upgrade-2.9.1-2.9.2.php" hash="6c8f542f7f04755cf8d2e3e8cb517b51"/></dir></dir><dir name="etc"><file name="config.xml" hash="b4d575b42830d41cf2b2cf3781cf4db6"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="31839e346d622a8947eda7360281e238"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/><file name="mysql4-upgrade-2.7.4-2.8.0.php" hash="c53fbd135b7735b7bbe90e5c4c11e5b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="035fd61eb33327a613e5b3b91ddbc389"/></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="ced44379b7a3f15e027e91ba8b7ddd4a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="0dc6cc39164b57626ccf7a429bbbf3d7"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="8fe2da3913bd18a20f35235533080ab8"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="fingerprint-fcontrol.js" hash="33409e94c34847788fabbb3a5b038fd0"/><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="1bbf52070bdd06b7b0687f6cced1886f"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="mundi-magento-admin-banner.png" hash="70ed79656a42a2b4c0291d0a6285fb6d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="14ebb8e59b1205d90257602baa48a04a"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
23
  </package>