MercadoPagoTransparent - Version 2.3.0

Version Notes

- Add support for Mercado Pago Perú
- Fix other minor issues

Download this release

Release Info

Developer MercadoPago
Extension MercadoPagoTransparent
Version 2.3.0
Comparing to
See all releases


Code changes from version 2.2.0 to 2.3.0

app/code/community/MercadoPago/Core/Block/Sales/Order/Totals/Finance/Cost.php CHANGED
@@ -13,7 +13,7 @@ class MercadoPago_Core_Block_Sales_Order_Totals_Finance_Cost
13
  */
14
  public function initTotals()
15
  {
16
- if ((float)$this->getSource()->getFinanceCostAmount() == 0) {
17
  return $this;
18
  }
19
  $total = new Varien_Object(array(
13
  */
14
  public function initTotals()
15
  {
16
+ if ((float)$this->getSource()->getFinanceCostAmount() == 0 || !Mage::getStoreConfigFlag('payment/mercadopago/financing_cost')) {
17
  return $this;
18
  }
19
  $total = new Varien_Object(array(
app/code/community/MercadoPago/Core/Helper/Data.php CHANGED
@@ -208,6 +208,12 @@ class MercadoPago_Core_Helper_Data
208
  $balance = $balance - $transactionAmount - $shippingCost;
209
  }
210
 
 
 
 
 
 
 
211
  if (Zend_Locale_Math::round($balance, 4) > 0) {
212
  $order->setFinanceCostAmount($balance);
213
  $order->setBaseFinanceCostAmount($balance);
208
  $balance = $balance - $transactionAmount - $shippingCost;
209
  }
210
 
211
+ if (!Mage::getStoreConfigFlag('payment/mercadopago/financing_cost')) {
212
+ $order->setGrandTotal($order->getGrandTotal() - $balance);
213
+ $order->setBaseGrandTotal($order->getBaseGrandTotal() - $balance);
214
+ return;
215
+ }
216
+
217
  if (Zend_Locale_Math::round($balance, 4) > 0) {
218
  $order->setFinanceCostAmount($balance);
219
  $order->setBaseFinanceCostAmount($balance);
app/code/community/MercadoPago/Core/Model/Observer.php CHANGED
@@ -24,6 +24,7 @@ class MercadoPago_Core_Model_Observer
24
  "mlm" => "http://imgmp.mlstatic.com/org-img/banners/mx/medios/MLM_468X60.JPG",
25
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
26
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
 
27
  ],
28
  "mercadopago_customticket" => [
29
  "mla" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
@@ -32,6 +33,7 @@ class MercadoPago_Core_Model_Observer
32
  "mlm" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
33
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
34
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
 
35
  ],
36
  "mercadopago_standard" => [
37
  "mla" => "http://imgmp.mlstatic.com/org-img/banners/ar/medios/online/468X60.jpg",
@@ -39,11 +41,12 @@ class MercadoPago_Core_Model_Observer
39
  "mco" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
40
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
41
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
42
- "mlm" => "http://imgmp.mlstatic.com/org-img/banners/mx/medios/MLM_468X60.JPG"
 
43
  ]
44
  ];
45
 
46
- private $available_transparent_credit_cart = ['mla', 'mlb', 'mlm', 'mco', 'mlv', 'mlc'];
47
  private $available_transparent_ticket = ['mla', 'mlb', 'mlm'];
48
  private $_website;
49
 
@@ -81,11 +84,11 @@ class MercadoPago_Core_Model_Observer
81
  $country = $this->_website->getConfig('payment/mercadopago/country');
82
 
83
  if (!in_array($country, $this->available_transparent_credit_cart)) {
84
- Mage::getConfig()->saveConfig('payment/mercadopago_custom/active', 0, 'websites', $this->_website->getId());
85
  }
86
 
87
  if (!in_array($country, $this->available_transparent_ticket)) {
88
- Mage::getConfig()->saveConfig('payment/mercadopago_customticket/active', 0, 'websites', $this->_website->getId());
89
  }
90
  }
91
 
@@ -108,7 +111,7 @@ class MercadoPago_Core_Model_Observer
108
  Mage::helper('mercadopago')->log("Banner default need update...", self::LOG_FILE);
109
 
110
  if ($defaultBanner != $currentBanner) {
111
- Mage::getConfig()->saveConfig('payment/' . $typeCheckout . '/banner_checkout', $defaultBanner, 'websites', $this->_website->getId());
112
 
113
  Mage::helper('mercadopago')->log('payment/' . $typeCheckout . '/banner_checkout setted ' . $defaultBanner, self::LOG_FILE);
114
  }
@@ -131,35 +134,26 @@ class MercadoPago_Core_Model_Observer
131
  Mage::helper('mercadopago')->log("API Users response", self::LOG_FILE, $user);
132
 
133
  if ($user['status'] == 200 && !in_array("test_user", $user['response']['tags'])) {
134
-
135
- switch ($user['response']['site_id']) {
136
- case 'MLA':
137
- $sponsorId = 186172525;
138
- break;
139
- case 'MLB':
140
- $sponsorId = 186175129;
141
- break;
142
- case 'MLM':
143
- $sponsorId = 186175064;
144
- break;
145
- case 'MCO':
146
- $sponsorId = 206959966;
147
- break;
148
- case 'MLC':
149
- $sponsorId = 206959756;
150
- break;
151
- case 'MLV':
152
- $sponsorId = 206960619;
153
- break;
154
- default:
155
- $sponsorId = "";
156
- break;
157
  }
158
-
159
- Mage::helper('mercadopago')->log("Sponsor id setted", self::LOG_FILE, $sponsorId);
160
  }
161
-
162
- Mage::getConfig()->saveConfig('payment/mercadopago/sponsor_id', $sponsorId, $this->_website->getId());
163
  Mage::helper('mercadopago')->log("Sponsor saved", self::LOG_FILE, $sponsorId);
164
  }
165
 
@@ -183,4 +177,14 @@ class MercadoPago_Core_Model_Observer
183
  }
184
  }
185
  }
 
 
 
 
 
 
 
 
 
 
186
  }
24
  "mlm" => "http://imgmp.mlstatic.com/org-img/banners/mx/medios/MLM_468X60.JPG",
25
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
26
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
27
+ "mpe" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
28
  ],
29
  "mercadopago_customticket" => [
30
  "mla" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
33
  "mlm" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
34
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
35
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
36
+ "mpe" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
37
  ],
38
  "mercadopago_standard" => [
39
  "mla" => "http://imgmp.mlstatic.com/org-img/banners/ar/medios/online/468X60.jpg",
41
  "mco" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
42
  "mlc" => "https://secure.mlstatic.com/developers/site/cloud/banners/cl/468x60.gif",
43
  "mlv" => "https://imgmp.mlstatic.com/org-img/banners/ve/medios/468X60.jpg",
44
+ "mlm" => "http://imgmp.mlstatic.com/org-img/banners/mx/medios/MLM_468X60.JPG",
45
+ "mpe" => "https://a248.e.akamai.net/secure.mlstatic.com/components/resources/mp/css/assets/desktop-logo-mercadopago.png",
46
  ]
47
  ];
48
 
49
+ private $available_transparent_credit_cart = ['mla', 'mlb', 'mlm', 'mco', 'mlv', 'mlc', 'mpe'];
50
  private $available_transparent_ticket = ['mla', 'mlb', 'mlm'];
51
  private $_website;
52
 
84
  $country = $this->_website->getConfig('payment/mercadopago/country');
85
 
86
  if (!in_array($country, $this->available_transparent_credit_cart)) {
87
+ $this->_saveWebsiteConfig('payment/mercadopago_custom/active', 0);
88
  }
89
 
90
  if (!in_array($country, $this->available_transparent_ticket)) {
91
+ $this->_saveWebsiteConfig('payment/mercadopago_customticket/active', 0);
92
  }
93
  }
94
 
111
  Mage::helper('mercadopago')->log("Banner default need update...", self::LOG_FILE);
112
 
113
  if ($defaultBanner != $currentBanner) {
114
+ $this->_saveWebsiteConfig('payment/' . $typeCheckout . '/banner_checkout', $defaultBanner);
115
 
116
  Mage::helper('mercadopago')->log('payment/' . $typeCheckout . '/banner_checkout setted ' . $defaultBanner, self::LOG_FILE);
117
  }
134
  Mage::helper('mercadopago')->log("API Users response", self::LOG_FILE, $user);
135
 
136
  if ($user['status'] == 200 && !in_array("test_user", $user['response']['tags'])) {
137
+ $sponsors = [
138
+ 'MLA' => 186172525,
139
+ 'MLB' => 186175129,
140
+ 'MLM' => 186175064,
141
+ 'MCO' => 206959966,
142
+ 'MLC' => 206959756,
143
+ 'MLV' => 206960619,
144
+ 'MPE' => 217178514,
145
+ ];
146
+ $countryCode = $user['response']['site_id'];
147
+
148
+ if (isset($sponsors[$countryCode])) {
149
+ $sponsorId = $sponsors[$countryCode];
150
+ } else {
151
+ $sponsorId = "";
 
 
 
 
 
 
 
 
152
  }
153
+
154
+ Mage::helper('mercadopago')->log("Sponsor id set", self::LOG_FILE, $sponsorId);
155
  }
156
+ $this->_saveWebsiteConfig('payment/mercadopago/sponsor_id', $sponsorId);
 
157
  Mage::helper('mercadopago')->log("Sponsor saved", self::LOG_FILE, $sponsorId);
158
  }
159
 
177
  }
178
  }
179
  }
180
+
181
+ protected function _saveWebsiteConfig($path, $value)
182
+ {
183
+ if ($this->_website->getId() == 0) {
184
+ Mage::getConfig()->saveConfig($path, $value);
185
+ } else {
186
+ Mage::getConfig()->saveConfig($path, $value, 'websites', $this->_website->getId());
187
+ }
188
+
189
+ }
190
  }
app/code/community/MercadoPago/Core/Model/Source/Country.php CHANGED
@@ -19,13 +19,14 @@ class MercadoPago_Core_Model_Source_Country
19
  {
20
  public function toOptionArray()
21
  {
22
- $country = array();
23
- $country[] = array('value' => "mla", 'label' => Mage::helper('mercadopago')->__("Argentina"), 'code' => 'AR');
24
- $country[] = array('value' => "mlb", 'label' => Mage::helper('mercadopago')->__("Brasil"), 'code' => 'BR');
25
- $country[] = array('value' => "mco", 'label' => Mage::helper('mercadopago')->__("Colombia"), 'code' => 'CO');
26
- $country[] = array('value' => "mlm", 'label' => Mage::helper('mercadopago')->__("Mexico"), 'code' => 'MX');
27
- $country[] = array('value' => "mlc", 'label' => Mage::helper('mercadopago')->__("Chile"), 'code' => 'CL');
28
- $country[] = array('value' => "mlv", 'label' => Mage::helper('mercadopago')->__("Venezuela"), 'code' => 'VE');
 
29
 
30
  //force order by key
31
  ksort($country);
19
  {
20
  public function toOptionArray()
21
  {
22
+ $country = [];
23
+ $country[] = ['value' => "mla", 'label' => Mage::helper('mercadopago')->__("Argentina"), 'code' => 'AR'];
24
+ $country[] = ['value' => "mlb", 'label' => Mage::helper('mercadopago')->__("Brasil"), 'code' => 'BR'];
25
+ $country[] = ['value' => "mco", 'label' => Mage::helper('mercadopago')->__("Colombia"), 'code' => 'CO'];
26
+ $country[] = ['value' => "mlm", 'label' => Mage::helper('mercadopago')->__("Mexico"), 'code' => 'MX'];
27
+ $country[] = ['value' => "mlc", 'label' => Mage::helper('mercadopago')->__("Chile"), 'code' => 'CL'];
28
+ $country[] = ['value' => "mlv", 'label' => Mage::helper('mercadopago')->__("Venezuela"), 'code' => 'VE'];
29
+ $country[] = ['value' => "mpe", 'label' => Mage::helper('mercadopago')->__("Perú"), 'code' => 'PE'];
30
 
31
  //force order by key
32
  ksort($country);
app/code/community/MercadoPago/Core/Model/Source/PaymentMethods.php CHANGED
@@ -47,7 +47,7 @@ class MercadoPago_Core_Model_Source_PaymentMethods
47
 
48
  $helper->log("API payment methods", 'mercadopago.log', $response);
49
 
50
- if (isset($response['error'])) {
51
  return $methods;
52
  }
53
 
47
 
48
  $helper->log("API payment methods", 'mercadopago.log', $response);
49
 
50
+ if (isset($response['error']) || !isset($response['response'])) {
51
  return $methods;
52
  }
53
 
app/code/community/MercadoPago/Core/Model/Standard/Payment.php CHANGED
@@ -255,7 +255,6 @@ class MercadoPago_Core_Model_Standard_Payment
255
  if (empty($paramsShipment)) {
256
  $paramsShipment = $params->getData();
257
  $paramsShipment['cost'] = (float)$order->getBaseShippingAmount();
258
- $paramsShipment['mode'] = 'custom';
259
  }
260
  $paramsShipment['receiver_address'] = $this->getReceiverAddress($shippingAddress);
261
  return $paramsShipment;
255
  if (empty($paramsShipment)) {
256
  $paramsShipment = $params->getData();
257
  $paramsShipment['cost'] = (float)$order->getBaseShippingAmount();
 
258
  }
259
  $paramsShipment['receiver_address'] = $this->getReceiverAddress($shippingAddress);
260
  return $paramsShipment;
app/code/community/MercadoPago/Core/controllers/NotificationsController.php CHANGED
@@ -91,7 +91,7 @@ class MercadoPago_Core_NotificationsController
91
  */
92
  protected function getStatusFinal($dataStatus, $merchantOrder)
93
  {
94
- if ($merchantOrder['total_amount'] == $merchantOrder['paid_amount']) {
95
  return 'approved';
96
  }
97
  $payments = $merchantOrder['payments'];
91
  */
92
  protected function getStatusFinal($dataStatus, $merchantOrder)
93
  {
94
+ if (isset($merchantOrder['paid_amount']) && $merchantOrder['total_amount'] == $merchantOrder['paid_amount']) {
95
  return 'approved';
96
  }
97
  $payments = $merchantOrder['payments'];
app/code/community/MercadoPago/Core/etc/config.xml CHANGED
@@ -18,7 +18,7 @@
18
  <config>
19
  <modules>
20
  <MercadoPago_Core>
21
- <version>2.2.0</version>
22
  </MercadoPago_Core>
23
  </modules>
24
 
@@ -97,8 +97,6 @@
97
 
98
  <fieldsets>
99
  <sales_convert_quote_address>
100
- <finance_cost_amount><to_order>*</to_order></finance_cost_amount>
101
- <base_finance_cost_amount><to_order>*</to_order></base_finance_cost_amount>
102
  <discount_coupon_amount><to_order>*</to_order></discount_coupon_amount>
103
  <base_discount_coupon_amount><to_order>*</to_order></base_discount_coupon_amount>
104
  </sales_convert_quote_address>
18
  <config>
19
  <modules>
20
  <MercadoPago_Core>
21
+ <version>2.3.0</version>
22
  </MercadoPago_Core>
23
  </modules>
24
 
97
 
98
  <fieldsets>
99
  <sales_convert_quote_address>
 
 
100
  <discount_coupon_amount><to_order>*</to_order></discount_coupon_amount>
101
  <base_discount_coupon_amount><to_order>*</to_order></base_discount_coupon_amount>
102
  </sales_convert_quote_address>
app/code/community/MercadoPago/Core/etc/system.xml CHANGED
@@ -146,6 +146,16 @@
146
  <show_in_store>0</show_in_store>
147
  <comment>Enable to display actual error messages to frontend users (not recommended on production environment)</comment>
148
  </debug_mode>
 
 
 
 
 
 
 
 
 
 
149
  </fields>
150
  </mercadopago>
151
 
146
  <show_in_store>0</show_in_store>
147
  <comment>Enable to display actual error messages to frontend users (not recommended on production environment)</comment>
148
  </debug_mode>
149
+ <financing_cost translate="label">
150
+ <label>Calculate Financing Cost</label>
151
+ <frontend_type>select</frontend_type>
152
+ <source_model>adminhtml/system_config_source_yesno</source_model>
153
+ <sort_order>150</sort_order>
154
+ <show_in_default>1</show_in_default>
155
+ <show_in_website>0</show_in_website>
156
+ <show_in_store>0</show_in_store>
157
+ <comment></comment>
158
+ </financing_cost>
159
  </fields>
160
  </mercadopago>
161
 
app/code/community/MercadoPago/MercadoEnvios/Model/Adminhtml/Attribute/Validation/Mapping.php CHANGED
@@ -8,15 +8,17 @@ class MercadoPago_MercadoEnvios_Model_Adminhtml_Attribute_Validation_Mapping
8
  {
9
  $mappingValues = $this->getValue(); //get the value from our config
10
  $attributeCodes = [];
 
11
 
12
- foreach ($mappingValues as $value) {
13
- if (in_array($value['attribute_code'], $attributeCodes)) {
14
- Mage::throwException(Mage::helper('mercadopago')->__("Cannot repeat Magento Product size attributes"));
15
- }
 
16
 
17
- $attributeCodes[] = $value['attribute_code'];
 
18
  }
19
-
20
  return parent::save();
21
  }
22
  }
8
  {
9
  $mappingValues = $this->getValue(); //get the value from our config
10
  $attributeCodes = [];
11
+ $website = Mage::helper('mercadopago')->getAdminSelectedWebsite();
12
 
13
+ if ($website->getConfig('carriers/mercadoenvios/active')) {
14
+ foreach ($mappingValues as $value) {
15
+ if (in_array($value['attribute_code'], $attributeCodes)) {
16
+ Mage::throwException(Mage::helper('mercadopago')->__("Cannot repeat Magento Product size attributes"));
17
+ }
18
 
19
+ $attributeCodes[] = $value['attribute_code'];
20
+ }
21
  }
 
22
  return parent::save();
23
  }
24
  }
app/code/community/MercadoPago/MercadoEnvios/Model/Observer.php CHANGED
@@ -123,6 +123,7 @@ class MercadoPago_MercadoEnvios_Model_Observer
123
  $order = $observer->getOrder();
124
  $method = $order->getShippingMethod();
125
  $shippingCost = $order->getBaseShippingAmount();
 
126
  if (Mage::helper('mercadopago_mercadoenvios')->isMercadoEnviosMethod($method)) {
127
  $shippingAddress = $order->getShippingAddress();
128
  $zipCode = $shippingAddress->getPostcode();
@@ -138,9 +139,7 @@ class MercadoPago_MercadoEnvios_Model_Observer
138
  $paramsME['free_methods'] = [['id' => intval($defaultShippingId)]];
139
  }
140
  }
141
- if (!empty($shippingCost)) {
142
- $paramsME['cost'] = (float)$order->getBaseShippingAmount();
143
- }
144
  $observer->getParams()->setValues($paramsME);
145
  Mage::helper('mercadopago_mercadoenvios')->log('REQUEST SHIPMENT ME: ', $paramsME, Zend_Log::INFO);
146
 
123
  $order = $observer->getOrder();
124
  $method = $order->getShippingMethod();
125
  $shippingCost = $order->getBaseShippingAmount();
126
+ $paramsME = [];
127
  if (Mage::helper('mercadopago_mercadoenvios')->isMercadoEnviosMethod($method)) {
128
  $shippingAddress = $order->getShippingAddress();
129
  $zipCode = $shippingAddress->getPostcode();
139
  $paramsME['free_methods'] = [['id' => intval($defaultShippingId)]];
140
  }
141
  }
142
+
 
 
143
  $observer->getParams()->setValues($paramsME);
144
  Mage::helper('mercadopago_mercadoenvios')->log('REQUEST SHIPMENT ME: ', $paramsME, Zend_Log::INFO);
145
 
app/code/community/MercadoPago/MercadoEnvios/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <MercadoPago_MercadoEnvios>
5
- <version>2.2.0</version>
6
  </MercadoPago_MercadoEnvios>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <MercadoPago_MercadoEnvios>
5
+ <version>2.3.0</version>
6
  </MercadoPago_MercadoEnvios>
7
  </modules>
8
  <frontend>
app/code/community/MercadoPago/OneStepCheckout/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <MercadoPago_OneStepCheckout>
5
- <version>2.2.0</version>
6
  </MercadoPago_OneStepCheckout>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <MercadoPago_OneStepCheckout>
5
+ <version>2.3.0</version>
6
  </MercadoPago_OneStepCheckout>
7
  </modules>
8
  <global>
app/design/frontend/base/default/template/mercadopago/custom/form.phtml CHANGED
@@ -43,7 +43,7 @@ $customer = $this->getCustomerAndCards();
43
  <label for="cardNumber"><?php echo $this->__('Payment Method'); ?></label>
44
  <select id="cardId" name="payment[<?php echo $_code; ?>][cardId]" data-checkout="cardId" data-element-id="#cardId__mp">
45
  <?php foreach ($customer['cards'] as $card) { ?>
46
- <option value="<?php echo $card["id"]; ?>" first_six_digits="<?php echo $card["first_six_digits"]; ?>" security_code_length="<?php echo $card["security_code"]["length"]; ?>" secure_thumb="<?php echo $card["payment_method"]["secure_thumbnail"]; ?>">
47
 
48
  <?php echo $card["payment_method"]["name"].' '; ?><?php echo $this->__('ended in'); ?><?php echo ' '.$card["last_four_digits"]; ?>
49
  </option>
43
  <label for="cardNumber"><?php echo $this->__('Payment Method'); ?></label>
44
  <select id="cardId" name="payment[<?php echo $_code; ?>][cardId]" data-checkout="cardId" data-element-id="#cardId__mp">
45
  <?php foreach ($customer['cards'] as $card) { ?>
46
+ <option value="<?php echo $card["id"]; ?>" first_six_digits="<?php echo $card["first_six_digits"]; ?>" security_code_length="<?php echo $card["security_code"]["length"]; ?>" secure_thumb="<?php echo $card["payment_method"]["secure_thumbnail"]; ?>" payment_method_id="<?php echo $card["payment_method"]["id"]; ?>">
47
 
48
  <?php echo $card["payment_method"]["name"].' '; ?><?php echo $this->__('ended in'); ?><?php echo ' '.$card["last_four_digits"]; ?>
49
  </option>
js/mercadopago/mercadopago.js CHANGED
@@ -63,6 +63,7 @@ var MercadoPagoCustom = (function () {
63
  mexico: 'MLM',
64
  colombia: 'MCO',
65
  brazil: 'MLB',
 
66
  mercadopagoCustom: 'mercadopago_custom',
67
  validateDiscount: 'validate-discount',
68
  validateDocNumber: 'mp-validate-docnumber',
@@ -365,7 +366,7 @@ var MercadoPagoCustom = (function () {
365
  excludeInputs.splice(index, 1);
366
  }
367
 
368
- } else if (siteId == self.constants.colombia) {
369
  var indexColombia = excludeInputs.indexOf(self.selectors.paymentMethod);
370
  if (indexColombia > -1) {
371
  excludeInputs.splice(indexColombia, 1);
@@ -577,7 +578,7 @@ var MercadoPagoCustom = (function () {
577
  showLogMercadoPago(response);
578
 
579
  var siteId = TinyJ(self.selectors.siteId).val();
580
- if (siteId == self.constants.colombia) {
581
  setPaymentMethods()
582
  }
583
  //hide loading
@@ -596,6 +597,7 @@ var MercadoPagoCustom = (function () {
596
  if (response.length == 1) {
597
  TinyJ(selector).getElem().style.background = String.format(self.constants.backgroundUrlFormat, response[0].secure_thumbnail);
598
  } else if (oneClickPay != 0) {
 
599
  TinyJ(selector).getElem().style.background = String.format(self.constants.backgroundUrlFormat, TinyJ(selector).getSelectedOption().attribute('secure_thumb'));
600
  }
601
 
63
  mexico: 'MLM',
64
  colombia: 'MCO',
65
  brazil: 'MLB',
66
+ peru: 'MPE',
67
  mercadopagoCustom: 'mercadopago_custom',
68
  validateDiscount: 'validate-discount',
69
  validateDocNumber: 'mp-validate-docnumber',
366
  excludeInputs.splice(index, 1);
367
  }
368
 
369
+ } else if (siteId == self.constants.colombia || siteId == self.constants.peru) {
370
  var indexColombia = excludeInputs.indexOf(self.selectors.paymentMethod);
371
  if (indexColombia > -1) {
372
  excludeInputs.splice(indexColombia, 1);
578
  showLogMercadoPago(response);
579
 
580
  var siteId = TinyJ(self.selectors.siteId).val();
581
+ if (siteId == self.constants.colombia || siteId == self.constants.peru) {
582
  setPaymentMethods()
583
  }
584
  //hide loading
597
  if (response.length == 1) {
598
  TinyJ(selector).getElem().style.background = String.format(self.constants.backgroundUrlFormat, response[0].secure_thumbnail);
599
  } else if (oneClickPay != 0) {
600
+ TinyJ(self.selectors.paymentMethodId).val(TinyJ(selector).getSelectedOption().attribute('payment_method_id'));
601
  TinyJ(selector).getElem().style.background = String.format(self.constants.backgroundUrlFormat, TinyJ(selector).getSelectedOption().attribute('secure_thumb'));
602
  }
603
 
lib/MercadoPago/Lib/Api.php CHANGED
@@ -180,7 +180,7 @@ class MercadoPago_Lib_Api {
180
  public function create_preference($preference) {
181
  $access_token = $this->get_access_token();
182
 
183
- $extra_params = array('platform: ' . $this->_platform, 'so;', 'type: ' . $this->_type);
184
  $preference_result = MercadoPago_Lib_RestClient::post("/checkout/preferences?access_token=" . $access_token, $preference, "application/json", $extra_params);
185
  return $preference_result;
186
  }
@@ -302,7 +302,8 @@ class MercadoPago_Lib_Api {
302
  $uri .= $this->build_query($params);
303
  }
304
 
305
- $extra_params = array('platform: ' . $this->_platform, 'so;', 'type: ' . $this->_type);
 
306
  $result = MercadoPago_Lib_RestClient::post($uri, $data, "application/json", $extra_params);
307
  return $result;
308
  }
180
  public function create_preference($preference) {
181
  $access_token = $this->get_access_token();
182
 
183
+ $extra_params = array('user-agent:platform:'. $this->_platform .',type:'. $this->_type .',so;');
184
  $preference_result = MercadoPago_Lib_RestClient::post("/checkout/preferences?access_token=" . $access_token, $preference, "application/json", $extra_params);
185
  return $preference_result;
186
  }
302
  $uri .= $this->build_query($params);
303
  }
304
 
305
+ $extra_params = array('x-tracking-id:platform:' . $this->_platform . ',type:' . $this->_type . ',so;');
306
+
307
  $result = MercadoPago_Lib_RestClient::post($uri, $data, "application/json", $extra_params);
308
  return $result;
309
  }
package.xml CHANGED
@@ -1,8 +1,8 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MercadoPagoTransparent</name>
4
- <version>2.2.0</version>
5
- <stability>devel</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
@@ -159,15 +159,12 @@
159
  &lt;/ol&gt;&#xD;
160
  &lt;/p&gt;&#xD;
161
  </description>
162
- <notes>- Fix issue with multiple notifications&#xD;
163
- - Fix issue with approved tickets notifications&#xD;
164
- - Change logic for shipments calculation&#xD;
165
- - Add option include/exclude financing cost from the orders&#xD;
166
  - Fix other minor issues</notes>
167
  <authors><author><name>MercadoPago</name><user>MercadoPago</user><email>developer@mercadopago.com.br</email></author></authors>
168
- <date>2016-06-08</date>
169
- <time>19:30:51</time>
170
- <contents><target name="magecommunity"><dir name="MercadoPago"><dir><dir name="Core"><dir name="Block"><file name="AbstractForm.php" hash="37bbd650b14574dee9f1296bf67ffd10"/><file name="AbstractSuccess.php" hash="6aa920d8b886d22410f50b9625847699"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="5ecbfb51b488a3e3211dfaec5d8c0efe"/></dir></dir></dir></dir><dir name="Custom"><file name="Form.php" hash="733c5dccf752493b9fe24938433ff9fd"/><file name="Info.php" hash="51771218b04b7a41d83adec76e393311"/><file name="Success.php" hash="2ab918e6b2415018d780b1a58d5b6d04"/></dir><dir name="Customticket"><file name="Form.php" hash="6580496bc71be11e4c572e1e143557cf"/><file name="Info.php" hash="f23e8a204e431e95a7bb0e9b409c1df4"/><file name="Success.php" hash="325fc24f1c0d220a95abe238ec583ee5"/></dir><file name="Discount.php" hash="a17b7f08dd57c31d27e57b3acbe03188"/><dir name="Sales"><dir name="Order"><dir name="Totals"><dir name="Discount"><file name="Coupon.php" hash="4bd99d8954d154971b8b51b4318b5b1c"/></dir><dir name="Finance"><file name="Cost.php" hash="750c3c7ca6465439eff098f6ae912b6c"/></dir></dir></dir></dir><dir name="Standard"><file name="Form.php" hash="e6845e293d0c0ca1a6ac04acf79edd1e"/><file name="Info.php" hash="db81d01579b66fbd8251883967768320"/><file name="Pay.php" hash="8ebb3cd8ef5df082343cfe33eadf17e0"/><file name="Success.php" hash="409dd3e16db4ebd5bd22599b7271062c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="9d885a9cc09e291eaa1cc31d587be611"/><dir name="Message"><file name="Abstract.php" hash="1f4f37e4a2cd0d1a18dff6f3e96ca84d"/></dir><file name="Response.php" hash="f247edf929e2d3c3fcfe7e7ea62629de"/><file name="StatusDetailMessage.php" hash="f56549a427452d4e67351274032885db"/><file name="StatusMessage.php" hash="3a7860b8dc843f8f9620852113fc5093"/><file name="StatusOrderMessage.php" hash="f17c394be7b8a795ee05342109c93fe4"/></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="8093747fa6e2244c3f59a188911d47c3"/><dir name="V0"><file name="Exception.php" hash="026642775cab4873176aaf28493a9159"/></dir><dir name="V1"><file name="Exception.php" hash="022c7e5ff52d04a91990bdb230f97e73"/></dir></dir><file name="Core.php" hash="9c31aba9695d4d1137f59a3f05ad0b80"/><dir name="Custom"><dir name="Finance"><dir name="Cost"><file name="Creditmemo.php" hash="4e75bb8d2c34e9758a27d9e9db3f6b36"/><file name="Invoice.php" hash="d8123b798f25c119739b9ac16817619c"/></dir><file name="Cost.php" hash="9fab08c5253d19b4106ef9070580f42e"/></dir><file name="Payment.php" hash="aab8fd3fc058c1fde9a75f1c3367df7a"/></dir><file name="CustomPayment.php" hash="bc92b4a75716d1fab5c30ae2240c127d"/><dir name="CustomTicket"><file name="Payment.php" hash="b5a003f1e646d25bb5b5b527634600a9"/></dir><dir name="Discount"><dir name="Coupon"><file name="Creditmemo.php" hash="87dc7aaac390633ddf87c27e3d097130"/><file name="Invoice.php" hash="a586d210a2b8b57a8dffe9fdb69b5363"/></dir><file name="Coupon.php" hash="54d8cbfb2fd73db87fbe3f93e483a8d8"/></dir><file name="Observer.php" hash="17a28a9a435e52313e32a4eb8dc4a8e8"/><dir name="Source"><file name="CategoryId.php" hash="5728ee8c2bb1f41e10103c4ff4b939cb"/><file name="Country.php" hash="93b2efcbefc6e5ea925ca74a88af93f4"/><file name="Installments.php" hash="7c7efe8ef187ff1e2ab00bf7dbcc8cab"/><dir name="Order"><file name="Status.php" hash="4b0b5fadd551b0bc360ae53d99768cda"/></dir><file name="PaymentMethods.php" hash="7c9809f0485a59f4a430dbcd9e351145"/><file name="TypeCheckout.php" hash="36496d11ce7fbb1d87f27eb705525b61"/></dir><dir name="Standard"><file name="Payment.php" hash="8d83831d8225e183a5f0ec641e099ae8"/></dir></dir><dir name="controllers"><file name="ApiController.php" hash="2901e45bb90b472bc81b0353c4acb824"/><file name="NotificationsController.php" hash="296713860c1f6c43167cdddea775c44f"/><file name="PayController.php" hash="bfa751fb97ffd2d81bbffcc564d7cd0c"/><file name="SuccessController.php" hash="3a7eeede5d6bdb1f770b019bb2c71af6"/></dir><dir name="etc"><file name="config.xml" hash="147411e7fb1c3521d351abb3af8afc32"/><file name="system.xml" hash="9978d82377aed7c6a3f943f89c12ad9f"/></dir><dir name="sql"><dir name="mercadopago_setup"><file name="install-2.1.0.php" hash="12ecf80fa3ceaf2e4065bda76cf07a4d"/><file name="upgrade-2.1.0-2.1.1.php" hash="abf330b2171e90fc25f0cfe668bd051d"/><file name="upgrade-2.1.1-2.1.2.php" hash="805656e780e56feb6567c6c310bd9b7b"/></dir></dir></dir><dir name="MercadoEnvios"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Carrier.php" hash="f8a32cf354e44f90e7ce9e64017438f9"/><file name="Mapping.php" hash="b00a1ff552b99b744d29365570b33257"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="CarrierData.php" hash="4532a9efcec29f1106569e4a63ab2a1b"/><file name="Data.php" hash="6b997724247f93ed51031254e5884989"/><file name="ItemData.php" hash="ec05bfdc7839e3d1af6089fd0ec17e83"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="Attribute"><dir name="Validation"><file name="Mapping.php" hash="9cfa77a4c45541a7dc2034ac7624ec01"/></dir></dir><dir name="Source"><dir name="Shipping"><file name="FreeMethod.php" hash="e8740f8d1b3a67c8cee79b77e40cf7db"/><file name="Method.php" hash="f0dde5407e7b8efb31c6e71065138800"/><dir name="Print"><file name="Mode.php" hash="70f65b1c619863cbabe81086a13d1896"/></dir></dir></dir></dir><file name="Observer.php" hash="832bea83bb1930666dfcfc4fbcd61a54"/><dir name="Shipping"><dir name="Carrier"><file name="MercadoEnvios.php" hash="ffa13a64f24cb02ff52512b6b3212e3d"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="4500ab15c34b3bd2ddf5385e751984e6"/><file name="system.xml" hash="03bf9f1b99e2db15a8365f8ecf12cc31"/></dir></dir><dir name="OneStepCheckout"><dir name="Block"><dir name="Custom"><file name="Form.php" hash="34033d6813650d77c75c8c3e9a9cd88a"/></dir><dir name="Customticket"><file name="Form.php" hash="9deffc44f4ae97765ba02a4885dbe7e5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c0a0af8a83dc71a0ccf1a5f1a3235c8a"/></dir><dir name="Model"><file name="Observer.php" hash="2cfb65eada297e55f59cc490507bd4e3"/></dir><dir name="etc"><file name="config.xml" hash="851b80b4d234473a059df7525945bd1b"/><file name="system.xml" hash="0285d96e5edfd8c65773f1d395734a5c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mercadopago.xml" hash="3c49e00ad8174bde8e10eb7ac4a72348"/></dir><dir name="template"><dir name="mercadopago"><file name="array_dropdown.phtml" hash="84c83c98f33de9530517adeb391011ab"/><dir name="custom"><file name="info.phtml" hash="c1a6c2f8725f5e3c49acefdce87d6ba3"/></dir><dir name="custom_ticket"><file name="info.phtml" hash="1c9a896cbd7d2539c2d142fa579f2d90"/></dir><dir name="standard"><file name="info.phtml" hash="c1a6c2f8725f5e3c49acefdce87d6ba3"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mercadopago.xml" hash="473e1f06bf5cf3d1793819d9ab72064f"/></dir><dir name="template"><dir name="mercadopago"><file name="clean.phtml" hash="fc92035839e69f52192eb9c3063a6864"/><dir name="custom"><file name="form.phtml" hash="962ab03a2d47c1495623bdbd787122d2"/><file name="info.phtml" hash="70a72da32d8d0a952bb6bf3e21df1100"/><file name="success.phtml" hash="614035e4ff43696920090860c42de887"/></dir><dir name="custom_ticket"><file name="form.phtml" hash="763c1c6ef5f86a6c1cfffc62de5779d4"/><file name="info.phtml" hash="ab580075fca55962463cbb17628b736d"/><file name="success.phtml" hash="6f2e63745368af0e0b6987274022d14a"/></dir><file name="discount.phtml" hash="310ed2fcc7620c97002e4af155c5aecc"/><dir name="onestepcheckout"><dir name="custom"><file name="form.phtml" hash="b5b363ae0814816a6c7a416d9ed7dd16"/></dir></dir><dir name="standard"><file name="form.phtml" hash="089687bb6550b9cd36dbb8b15b6cb493"/><file name="info.phtml" hash="70a72da32d8d0a952bb6bf3e21df1100"/><file name="pay.phtml" hash="3e3b83363e355778b98908847a56ab28"/><file name="success.phtml" hash="1cf80826a9c896ff3d4abf68ab579d34"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="MercadoPago_Core.csv" hash="c9ef509e6285928195787f6c393fa1b4"/></dir><dir name="es_AR"><file name="MercadoPago_Core.csv" hash="a25b190f8051d3041240a19f65404a61"/></dir><dir name="es_CL"><file name="MercadoPago_Core.csv" hash="9410f5fd291807b737f302627ee4f149"/></dir><dir name="es_CO"><file name="MercadoPago_Core.csv" hash="6f2937031991436f3653df27e8cd0241"/></dir><dir name="es_ES"><file name="MercadoPago_Core.csv" hash="9d8b8df4d5507352910c69032d392844"/></dir><dir name="es_MX"><file name="MercadoPago_Core.csv" hash="446c5a20320c5f562bb81d0b31088cfb"/></dir><dir name="es_VE"><file name="MercadoPago_Core.csv" hash="db3ca60c5518afcfaaf8c7c630d15f12"/></dir><dir name="pt_BR"><file name="MercadoPago_Core.csv" hash="d96a1558aace434cd42e0594bc697e6f"/></dir></target><target name="mageweb"><dir name="js"><dir name="mercadopago"><file name="jquery-1.11.0.min.js" hash="52d16e147b5346147d0f3269cd4d0f80"/><file name="mercadopago.js" hash="ae8b99b1740a3133500d07a16ced5add"/><file name="mercadopago_osc.js" hash="ffa5957d037299812ccb4d08ef5799ec"/><file name="tiny.min.js" hash="71bce92ef942b0ac15683f94e1f3e3a5"/><file name="tinyJ.js" hash="3318ec214b9a21fe954ce5675de013f3"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mercadopago"><dir name="images"><file name="cards.jpg" hash="53b06cbec7b20d95cdcaaf3b49bd2aa5"/><file name="logo.png" hash="460a0815c67a23da265f42c8bab0842a"/><file name="mercadoenvios.png" hash="006cd6ddfa8e5a19354942f79b659b5e"/></dir><file name="styles.css" hash="cac25e698c010f73dc3af01ef3377320"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="mercadopago"><dir name="css"><file name="style-success.css" hash="2780801704d278d22aff40cf333f4cf4"/><file name="style.css" hash="5d034d69a742236f658e969c1a1a7e07"/></dir><dir name="images"><file name="loading.gif" hash="5c43434f066c2fbc4714c768b8f83853"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="MercadoPago"><dir name="Lib"><file name="Api.php" hash="83c779aded928366abe82ea54a3fab6c"/><file name="RestClient.php" hash="13d49937d6ba8b7e245179c74a762940"/></dir></dir></target></contents>
171
  <compatible/>
172
  <dependencies><required><php><min>5.4.0</min><max>5.5.0</max></php></required></dependencies>
173
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MercadoPagoTransparent</name>
4
+ <version>2.3.0</version>
5
+ <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
159
  &lt;/ol&gt;&#xD;
160
  &lt;/p&gt;&#xD;
161
  </description>
162
+ <notes>- Add support for Mercado Pago Per&#xFA;&#xD;
 
 
 
163
  - Fix other minor issues</notes>
164
  <authors><author><name>MercadoPago</name><user>MercadoPago</user><email>developer@mercadopago.com.br</email></author></authors>
165
+ <date>2016-06-22</date>
166
+ <time>20:03:22</time>
167
+ <contents><target name="magecommunity"><dir name="MercadoPago"><dir><dir name="Core"><dir name="Block"><file name="AbstractForm.php" hash="37bbd650b14574dee9f1296bf67ffd10"/><file name="AbstractSuccess.php" hash="6aa920d8b886d22410f50b9625847699"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="5ecbfb51b488a3e3211dfaec5d8c0efe"/></dir></dir></dir></dir><dir name="Custom"><file name="Form.php" hash="733c5dccf752493b9fe24938433ff9fd"/><file name="Info.php" hash="51771218b04b7a41d83adec76e393311"/><file name="Success.php" hash="2ab918e6b2415018d780b1a58d5b6d04"/></dir><dir name="Customticket"><file name="Form.php" hash="6580496bc71be11e4c572e1e143557cf"/><file name="Info.php" hash="f23e8a204e431e95a7bb0e9b409c1df4"/><file name="Success.php" hash="325fc24f1c0d220a95abe238ec583ee5"/></dir><file name="Discount.php" hash="a17b7f08dd57c31d27e57b3acbe03188"/><dir name="Sales"><dir name="Order"><dir name="Totals"><dir name="Discount"><file name="Coupon.php" hash="4bd99d8954d154971b8b51b4318b5b1c"/></dir><dir name="Finance"><file name="Cost.php" hash="7cf8b32dfb95d965b7f2c14973267311"/></dir></dir></dir></dir><dir name="Standard"><file name="Form.php" hash="e6845e293d0c0ca1a6ac04acf79edd1e"/><file name="Info.php" hash="db81d01579b66fbd8251883967768320"/><file name="Pay.php" hash="8ebb3cd8ef5df082343cfe33eadf17e0"/><file name="Success.php" hash="409dd3e16db4ebd5bd22599b7271062c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="9f3f85bdcf2b362046f5684ce0b437da"/><dir name="Message"><file name="Abstract.php" hash="1f4f37e4a2cd0d1a18dff6f3e96ca84d"/></dir><file name="Response.php" hash="f247edf929e2d3c3fcfe7e7ea62629de"/><file name="StatusDetailMessage.php" hash="f56549a427452d4e67351274032885db"/><file name="StatusMessage.php" hash="3a7860b8dc843f8f9620852113fc5093"/><file name="StatusOrderMessage.php" hash="f17c394be7b8a795ee05342109c93fe4"/></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="8093747fa6e2244c3f59a188911d47c3"/><dir name="V0"><file name="Exception.php" hash="026642775cab4873176aaf28493a9159"/></dir><dir name="V1"><file name="Exception.php" hash="022c7e5ff52d04a91990bdb230f97e73"/></dir></dir><file name="Core.php" hash="9c31aba9695d4d1137f59a3f05ad0b80"/><dir name="Custom"><dir name="Finance"><dir name="Cost"><file name="Creditmemo.php" hash="4e75bb8d2c34e9758a27d9e9db3f6b36"/><file name="Invoice.php" hash="d8123b798f25c119739b9ac16817619c"/></dir><file name="Cost.php" hash="9fab08c5253d19b4106ef9070580f42e"/></dir><file name="Payment.php" hash="aab8fd3fc058c1fde9a75f1c3367df7a"/></dir><file name="CustomPayment.php" hash="bc92b4a75716d1fab5c30ae2240c127d"/><dir name="CustomTicket"><file name="Payment.php" hash="b5a003f1e646d25bb5b5b527634600a9"/></dir><dir name="Discount"><dir name="Coupon"><file name="Creditmemo.php" hash="87dc7aaac390633ddf87c27e3d097130"/><file name="Invoice.php" hash="a586d210a2b8b57a8dffe9fdb69b5363"/></dir><file name="Coupon.php" hash="54d8cbfb2fd73db87fbe3f93e483a8d8"/></dir><file name="Observer.php" hash="727e922fe7c3a8cccce600bef04c672e"/><dir name="Source"><file name="CategoryId.php" hash="5728ee8c2bb1f41e10103c4ff4b939cb"/><file name="Country.php" hash="b3f85128ffa2e89cb89f6cfa8a135527"/><file name="Installments.php" hash="7c7efe8ef187ff1e2ab00bf7dbcc8cab"/><dir name="Order"><file name="Status.php" hash="4b0b5fadd551b0bc360ae53d99768cda"/></dir><file name="PaymentMethods.php" hash="d799c877f358c2218e0a65a085c0427b"/><file name="TypeCheckout.php" hash="36496d11ce7fbb1d87f27eb705525b61"/></dir><dir name="Standard"><file name="Payment.php" hash="7d324b53cf5a6abdde78d5f2bb27e270"/></dir></dir><dir name="controllers"><file name="ApiController.php" hash="2901e45bb90b472bc81b0353c4acb824"/><file name="NotificationsController.php" hash="0da2634c977b7ba9b39ab80c9a8b54d7"/><file name="PayController.php" hash="bfa751fb97ffd2d81bbffcc564d7cd0c"/><file name="SuccessController.php" hash="3a7eeede5d6bdb1f770b019bb2c71af6"/></dir><dir name="etc"><file name="config.xml" hash="e35c3520bbf36216a348eb6ef3db49cd"/><file name="system.xml" hash="828cd10d94bf4238dfc315fd240b4592"/></dir><dir name="sql"><dir name="mercadopago_setup"><file name="install-2.1.0.php" hash="12ecf80fa3ceaf2e4065bda76cf07a4d"/><file name="upgrade-2.1.0-2.1.1.php" hash="abf330b2171e90fc25f0cfe668bd051d"/><file name="upgrade-2.1.1-2.1.2.php" hash="805656e780e56feb6567c6c310bd9b7b"/></dir></dir></dir><dir name="MercadoEnvios"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Carrier.php" hash="f8a32cf354e44f90e7ce9e64017438f9"/><file name="Mapping.php" hash="b00a1ff552b99b744d29365570b33257"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="CarrierData.php" hash="4532a9efcec29f1106569e4a63ab2a1b"/><file name="Data.php" hash="6b997724247f93ed51031254e5884989"/><file name="ItemData.php" hash="ec05bfdc7839e3d1af6089fd0ec17e83"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="Attribute"><dir name="Validation"><file name="Mapping.php" hash="7e405906299a7b94cc286f68357207a1"/></dir></dir><dir name="Source"><dir name="Shipping"><file name="FreeMethod.php" hash="e8740f8d1b3a67c8cee79b77e40cf7db"/><file name="Method.php" hash="f0dde5407e7b8efb31c6e71065138800"/><dir name="Print"><file name="Mode.php" hash="70f65b1c619863cbabe81086a13d1896"/></dir></dir></dir></dir><file name="Observer.php" hash="ae27a08404172d7dfdb420ecdf3589ae"/><dir name="Shipping"><dir name="Carrier"><file name="MercadoEnvios.php" hash="ffa13a64f24cb02ff52512b6b3212e3d"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="a20398531bc8d290341c0aca8d156a9f"/><file name="system.xml" hash="03bf9f1b99e2db15a8365f8ecf12cc31"/></dir></dir><dir name="OneStepCheckout"><dir name="Block"><dir name="Custom"><file name="Form.php" hash="34033d6813650d77c75c8c3e9a9cd88a"/></dir><dir name="Customticket"><file name="Form.php" hash="9deffc44f4ae97765ba02a4885dbe7e5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c0a0af8a83dc71a0ccf1a5f1a3235c8a"/></dir><dir name="Model"><file name="Observer.php" hash="2cfb65eada297e55f59cc490507bd4e3"/></dir><dir name="etc"><file name="config.xml" hash="770553c4502ea5bbd703ecd38761a1ee"/><file name="system.xml" hash="0285d96e5edfd8c65773f1d395734a5c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mercadopago.xml" hash="3c49e00ad8174bde8e10eb7ac4a72348"/></dir><dir name="template"><dir name="mercadopago"><file name="array_dropdown.phtml" hash="84c83c98f33de9530517adeb391011ab"/><dir name="custom"><file name="info.phtml" hash="c1a6c2f8725f5e3c49acefdce87d6ba3"/></dir><dir name="custom_ticket"><file name="info.phtml" hash="1c9a896cbd7d2539c2d142fa579f2d90"/></dir><dir name="standard"><file name="info.phtml" hash="c1a6c2f8725f5e3c49acefdce87d6ba3"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mercadopago.xml" hash="473e1f06bf5cf3d1793819d9ab72064f"/></dir><dir name="template"><dir name="mercadopago"><file name="clean.phtml" hash="fc92035839e69f52192eb9c3063a6864"/><dir name="custom"><file name="form.phtml" hash="055cfb5c939d9670e07a64b560b598a9"/><file name="info.phtml" hash="70a72da32d8d0a952bb6bf3e21df1100"/><file name="success.phtml" hash="614035e4ff43696920090860c42de887"/></dir><dir name="custom_ticket"><file name="form.phtml" hash="763c1c6ef5f86a6c1cfffc62de5779d4"/><file name="info.phtml" hash="ab580075fca55962463cbb17628b736d"/><file name="success.phtml" hash="6f2e63745368af0e0b6987274022d14a"/></dir><file name="discount.phtml" hash="310ed2fcc7620c97002e4af155c5aecc"/><dir name="onestepcheckout"><dir name="custom"><file name="form.phtml" hash="b5b363ae0814816a6c7a416d9ed7dd16"/></dir></dir><dir name="standard"><file name="form.phtml" hash="089687bb6550b9cd36dbb8b15b6cb493"/><file name="info.phtml" hash="70a72da32d8d0a952bb6bf3e21df1100"/><file name="pay.phtml" hash="3e3b83363e355778b98908847a56ab28"/><file name="success.phtml" hash="1cf80826a9c896ff3d4abf68ab579d34"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="MercadoPago_Core.csv" hash="c9ef509e6285928195787f6c393fa1b4"/></dir><dir name="es_AR"><file name="MercadoPago_Core.csv" hash="a25b190f8051d3041240a19f65404a61"/></dir><dir name="es_CL"><file name="MercadoPago_Core.csv" hash="9410f5fd291807b737f302627ee4f149"/></dir><dir name="es_CO"><file name="MercadoPago_Core.csv" hash="6f2937031991436f3653df27e8cd0241"/></dir><dir name="es_ES"><file name="MercadoPago_Core.csv" hash="9d8b8df4d5507352910c69032d392844"/></dir><dir name="es_MX"><file name="MercadoPago_Core.csv" hash="446c5a20320c5f562bb81d0b31088cfb"/></dir><dir name="es_VE"><file name="MercadoPago_Core.csv" hash="db3ca60c5518afcfaaf8c7c630d15f12"/></dir><dir name="pt_BR"><file name="MercadoPago_Core.csv" hash="d96a1558aace434cd42e0594bc697e6f"/></dir></target><target name="mageweb"><dir name="js"><dir name="mercadopago"><file name="jquery-1.11.0.min.js" hash="52d16e147b5346147d0f3269cd4d0f80"/><file name="mercadopago.js" hash="c2e5df1b446b0d4dfafe93cd3385f5ac"/><file name="mercadopago_osc.js" hash="ffa5957d037299812ccb4d08ef5799ec"/><file name="tiny.min.js" hash="71bce92ef942b0ac15683f94e1f3e3a5"/><file name="tinyJ.js" hash="3318ec214b9a21fe954ce5675de013f3"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mercadopago"><dir name="images"><file name="cards.jpg" hash="53b06cbec7b20d95cdcaaf3b49bd2aa5"/><file name="logo.png" hash="460a0815c67a23da265f42c8bab0842a"/><file name="mercadoenvios.png" hash="006cd6ddfa8e5a19354942f79b659b5e"/></dir><file name="styles.css" hash="cac25e698c010f73dc3af01ef3377320"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="mercadopago"><dir name="css"><file name="style-success.css" hash="2780801704d278d22aff40cf333f4cf4"/><file name="style.css" hash="5d034d69a742236f658e969c1a1a7e07"/></dir><dir name="images"><file name="loading.gif" hash="5c43434f066c2fbc4714c768b8f83853"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="MercadoPago"><dir name="Lib"><file name="Api.php" hash="7149abfb4a2e07522fd99d2a3934c894"/><file name="RestClient.php" hash="13d49937d6ba8b7e245179c74a762940"/></dir></dir></target></contents>
168
  <compatible/>
169
  <dependencies><required><php><min>5.4.0</min><max>5.5.0</max></php></required></dependencies>
170
  </package>