MoipExpress - Version 1.0.0.1

Version Notes

Sinta-se a vontade para contatar o suporte

Download this release

Release Info

Developer Raul Sakai
Extension MoipExpress
Version 1.0.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.0.1

app/code/local/Monstroestudio/Moip/Block/Redirect.php CHANGED
@@ -66,7 +66,7 @@ class Monstroestudio_Moip_Block_Redirect extends Mage_Core_Block_Template {
66
  }elseif($this->_salesData['method'] == 'cc' && $this->_salesData['moip_safe'] != 'new'){
67
  $json['Forma'] = 'CartaoCredito';
68
  $json['Instituicao'] = $this->getInstituicao($this->_salesData['bandeira']);
69
- $json['Parcelas'] = $this->_salesData['safe_parcelas'];
70
  $json['CartaoCredito'] = array();
71
  $json['CartaoCredito']['Cofre'] = $this->_salesData['moip_safe'];
72
  $json['CartaoCredito']['CodigoSeguranca'] = $this->_salesData['safe_cvv'];
66
  }elseif($this->_salesData['method'] == 'cc' && $this->_salesData['moip_safe'] != 'new'){
67
  $json['Forma'] = 'CartaoCredito';
68
  $json['Instituicao'] = $this->getInstituicao($this->_salesData['bandeira']);
69
+ $json['Parcelas'] = $this->_salesData['parcelas'];
70
  $json['CartaoCredito'] = array();
71
  $json['CartaoCredito']['Cofre'] = $this->_salesData['moip_safe'];
72
  $json['CartaoCredito']['CodigoSeguranca'] = $this->_salesData['safe_cvv'];
app/code/local/Monstroestudio/Moip/Model/Observer.php CHANGED
@@ -128,7 +128,7 @@ class Monstroestudio_Moip_Model_Observer{
128
  }
129
 
130
  public function setCCTax($observer) {
131
- if($this->getOnepage()->getQuote()->getPayment()->getMoipMethod() == 'cc' && $this->getOnepage()->getQuote()->getPayment()->getParcelas() > (float)Mage::helper('moip')->getConfig('parcelas_s_juros') ){
132
  $quote=$observer->getEvent()->getQuote();
133
  if(!$quote){
134
  return false;
@@ -210,84 +210,6 @@ class Monstroestudio_Moip_Model_Observer{
210
  }
211
  }
212
 
213
- /*public function setCCTax($observer){
214
-
215
- if($this->getOnepage()->getQuote()->getPayment()->getMoipMethod() == 'cc' && $this->getOnepage()->getQuote()->getPayment()->getParcelas() > (float)Mage::helper('moip')->getConfig('parcelas_s_juros') ){
216
- $quote=$observer->getEvent()->getQuote();
217
- $TaxAmount = $this->getJurosComposto($quote->getGrandTotal(), (int)$this->getOnepage()->getQuote()->getPayment()->getParcelas()) - $quote->getGrandTotal();
218
- Mage::log($TaxAmount);
219
- if ($TaxAmount) {
220
- $total=$quote->getBaseSubtotal();
221
- $quote->setSubtotal(0);
222
- $quote->setBaseSubtotal(0);
223
-
224
- $quote->setSubtotalWithTax(0);
225
- $quote->setBaseSubtotalWithTax(0);
226
-
227
- $quote->setGrandTotal(0);
228
- $quote->setBaseGrandTotal(0);
229
-
230
-
231
- $canAddItems = $quote->isVirtual()? ('billing') : ('shipping');
232
- foreach ($quote->getAllAddresses() as $address) {
233
-
234
- $address->setSubtotal(0);
235
- $address->setBaseSubtotal(0);
236
-
237
- $address->setGrandTotal(0);
238
- $address->setBaseGrandTotal(0);
239
-
240
- $address->collectTotals();
241
-
242
- $quote->setSubtotal((float) $quote->getSubtotal() + $address->getSubtotal());
243
- $quote->setBaseSubtotal((float) $quote->getBaseSubtotal() + $address->getBaseSubtotal());
244
-
245
- $quote->setSubtotalWithTax((float) $quote->getSubtotalWithTax() + $address->getSubtotalWithTax());
246
- $quote->setBaseSubtotalWithTax((float) $quote->getBaseSubtotalWithTax() + $address->getBaseSubtotalWithTax());
247
-
248
- $quote->setGrandTotal((float) $quote->getGrandTotal() + $address->getGrandTotal());
249
- $quote->setBaseGrandTotal((float) $quote->getBaseGrandTotal() + $address->getBaseGrandTotal());
250
-
251
- $quote->save();
252
-
253
- $quote->setGrandTotal($quote->getBaseSubtotal()+$TaxAmount)
254
- ->setBaseGrandTotal($quote->getBaseSubtotal()+$TaxAmount)
255
- ->setSubtotalWithTax($quote->getBaseSubtotal()+$TaxAmount)
256
- ->setBaseSubtotalWithTax($quote->getBaseSubtotal()+$TaxAmount)
257
- ->save();
258
-
259
-
260
- if ($address->getAddressType()==$canAddItems) {
261
- $address->setSubtotalWithTax((float) $address->getSubtotalWithTax()+$TaxAmount);
262
- $address->setGrandTotal((float) $address->getGrandTotal()+$TaxAmount);
263
- $address->setBaseSubtotalWithTax((float) $address->getBaseSubtotalWithTax()+$TaxAmount);
264
- $address->setBaseGrandTotal((float) $address->getBaseGrandTotal()+$TaxAmount);
265
- if ($address->getTaxDescription()) {
266
- $address->setTaxAmount($address->getTaxAmount()-$TaxAmount);
267
- $address->setTaxDescription('Juros de parcelamento do cartão');
268
- $address->setBaseTaxAmount($address->getBaseTaxAmount()-$TaxAmount);
269
- }else {
270
- $address->setTaxAmount($TaxAmount);
271
- $address->setTaxDescription('Juros do cartão de crédito');
272
- $address->setBaseTaxAmount($TaxAmount);
273
- }
274
- $address->save();
275
- }
276
- }
277
-
278
- foreach ($quote->getAllItems() as $item) {
279
- //We apply Tax amount based on the ratio between the GrandTotal and the RowTotal
280
- $rat=$item->getPriceInclTax()/$total;
281
- $ratdisc=$TaxAmount*$rat;
282
- $item->setTaxAmount(($item->getTaxAmount()+$ratdisc) * $item->getQty());
283
- $item->setBaseTaxAmount(($item->getBaseTaxAmount()+$ratdisc) * $item->getQty())->save();
284
-
285
- }
286
- }
287
-
288
- }
289
- }*/
290
-
291
  protected function getJurosComposto($valor, $parcelas) {
292
  $juros = (float)Mage::helper('moip')->getConfig('juros_parcela')/100;
293
 
128
  }
129
 
130
  public function setCCTax($observer) {
131
+ if($this->getOnepage()->getQuote()->getPayment()->getMoipMethod() == 'cc' && ($this->getOnepage()->getQuote()->getPayment()->getParcelas() > (float)Mage::helper('moip')->getConfig('parcelas_s_juros') || $this->getOnepage()->getQuote()->getPayment()->getSafeParcelas() > (float)Mage::helper('moip')->getConfig('parcelas_s_juros'))){
132
  $quote=$observer->getEvent()->getQuote();
133
  if(!$quote){
134
  return false;
210
  }
211
  }
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  protected function getJurosComposto($valor, $parcelas) {
214
  $juros = (float)Mage::helper('moip')->getConfig('juros_parcela')/100;
215
 
app/code/local/Monstroestudio/Moip/Model/PaymentMethod.php CHANGED
@@ -121,6 +121,8 @@ class Monstroestudio_Moip_Model_PaymentMethod extends Mage_Payment_Model_Method_
121
  $this->_moip->setNotificationURL(Mage::getUrl('moip/checkout/update'));
122
  $this->_moip->validate('Identification');
123
 
 
 
124
  $this->_moip->send();
125
 
126
  $this->getCheckout()->setMoipData(array(
@@ -223,6 +225,7 @@ class Monstroestudio_Moip_Model_PaymentMethod extends Mage_Payment_Model_Method_
223
  ->setCreditcardHolderName($data->getCreditcardHolderName())
224
  ->setCvv($data->getCvv())
225
  ->setSafeCvv($data->getSafeCvv())
 
226
  ->setParcelas($data->getParcelas())
227
  ->setCcHolderCpf($data->getCcHolderCpf())
228
  ->setMoipSafe($data->getMoipSafe())
121
  $this->_moip->setNotificationURL(Mage::getUrl('moip/checkout/update'));
122
  $this->_moip->validate('Identification');
123
 
124
+ Mage::throwException($this->getOnepage()->getQuote()->getPayment()->getSafeParcelas());
125
+
126
  $this->_moip->send();
127
 
128
  $this->getCheckout()->setMoipData(array(
225
  ->setCreditcardHolderName($data->getCreditcardHolderName())
226
  ->setCvv($data->getCvv())
227
  ->setSafeCvv($data->getSafeCvv())
228
+ ->setSafeParcelas($this->getOnepage()->getQuote()->getPayment()->getSafeParcelas())
229
  ->setParcelas($data->getParcelas())
230
  ->setCcHolderCpf($data->getCcHolderCpf())
231
  ->setMoipSafe($data->getMoipSafe())
app/code/local/Monstroestudio/Moip/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Monstroestudio_Moip>
5
- <version>1.0.0</version>
6
  </Monstroestudio_Moip>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Monstroestudio_Moip>
5
+ <version>1.0.0.1</version>
6
  </Monstroestudio_Moip>
7
  </modules>
8
  <global>
app/design/frontend/default/default/template/monstroestudio/moip/form.phtml CHANGED
@@ -37,14 +37,14 @@
37
  <div class="moip-tooltip">
38
  ?
39
  <div class="tip">
40
- Olhar no verso do cartão
41
  </div>
42
  </div>
43
  </li>
44
  <li class="wide parcelas" id="moip-safe-parcelas-parent">
45
  <label for="payment[safe_parcelas]" class="required"><em>*</em>Parcelas<i></i></label>
46
  <div class="input-box">
47
- <select name="payment[safe_parcelas]" class="required required-entry input-text" id="<?php echo $_code ?>_safe_parcelas">
48
  <?php echo $this->getParcelamento(); ?>
49
  </select>
50
  </div>
@@ -86,7 +86,7 @@
86
  <div class="moip-tooltip">
87
  ?
88
  <div class="tip">
89
- Olhar no verso do cartão
90
  </div>
91
  </div>
92
  </li>
37
  <div class="moip-tooltip">
38
  ?
39
  <div class="tip">
40
+ <img src="<?php echo $this->getSkinUrl('monstroestudio/moip/images/cvv.jpg') ?>" alt="" style="width:300px;height:auto;"/>
41
  </div>
42
  </div>
43
  </li>
44
  <li class="wide parcelas" id="moip-safe-parcelas-parent">
45
  <label for="payment[safe_parcelas]" class="required"><em>*</em>Parcelas<i></i></label>
46
  <div class="input-box">
47
+ <select name="payment[safe_parcelas]" class="required required-entry input-text" id="<?php echo $_code ?>_safe_parcelas" onchange="var value = this.value;$$('#<?php echo $_code ?>_parcelas option').each(function(o) {o.selected = o.readAttribute('value') == value;});">
48
  <?php echo $this->getParcelamento(); ?>
49
  </select>
50
  </div>
86
  <div class="moip-tooltip">
87
  ?
88
  <div class="tip">
89
+ <img src="<?php echo $this->getSkinUrl('monstroestudio/moip/images/cvv.jpg') ?>" alt="" style="width:300px;height:auto;"/>
90
  </div>
91
  </div>
92
  </li>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MoipExpress</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL v3</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>Sinta-se a vontade para contatar o suporte</notes>
12
  <authors><author><name>Raul Sakai</name><user>rqsakai</user><email>rqsakai@gmail.com</email></author></authors>
13
  <date>2014-07-02</date>
14
- <time>21:02:43</time>
15
- <contents><target name="magelocal"><dir name="Monstroestudio"><dir name="Moip"><dir name="Block"><file name="Form.php" hash="f2bcb847f4c3421180136add3333fc52"/><file name="Redirect.php" hash="867de41249dabc53ec0834f2cc1311bf"/></dir><dir name="Helper"><file name="Data.php" hash="cc959503224982e903b54c0cd2f4af75"/></dir><dir name="Model"><file name="Abstract.php" hash="057d418e2eb63f65dbe4b72290ce2ac4"/><file name="Observer.php" hash="0a51515622da6dac68a745d413ebe126"/><file name="PaymentMethod.php" hash="3cdbc0544cf1efaf30e862d159270644"/><dir name="Resource"><dir name="Safe"><dir name="Collection"><file name="Abstract.php" hash="1226a0f68556e70a06ded8c36122f775"/></dir><file name="Collection.php" hash="db5d0d3d5360569db7d37b015cdbdee6"/></dir><file name="Safe.php" hash="fff8bc262d55296cac2886b39f043b2d"/><dir name="Transactions"><dir name="Collection"><file name="Abstract.php" hash="579220db5fc7f5f0cede6e978c58eada"/></dir><file name="Collection.php" hash="0efc676bb425f3b60484500a6dab52fd"/></dir><file name="Transactions.php" hash="25b1ba30771a1f32727442f4dfeabcfb"/></dir><file name="Safe.php" hash="e66911ae2b4e875fbedc7c063162adb5"/><dir name="Source"><file name="Ccmaxparcelas.php" hash="6f787154ed5c3e4f3bbcdc4db539c39c"/><file name="Paymentmethods.php" hash="cdbcf39fdf3bc3ceeab4d8e6e80317b6"/><file name="Recebimento.php" hash="b65926935d31cbd3709aee596e5c31c6"/><file name="Tipovencboleto.php" hash="fcb4363c7d842b5c02260d9999c52d66"/></dir><file name="Transactions.php" hash="eddb3201f6ac97ea4ec720e0e4f755a5"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="7edd9f00b87a1d1e4583cee87918631e"/></dir><dir name="etc"><file name="config.xml" hash="e6e0359eb2b181dbaa1ca4d57cdda233"/><file name="system.xml" hash="2a77a802c3362a5f1af89f843fd0f0ed"/></dir><dir name="sql"><dir name="moip_setup"><file name="mysql4-install-1.0.0.php" hash="a835f6d87b9c0a50edc35d84e0858eb7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="monstroestudio"><dir name="moip"><file name="form.phtml" hash="6e3585a0b1362890a6a4bc4f8ac597bc"/><file name="redirect.phtml" hash="3f87c1b3105ba38630b17abddba10227"/></dir></dir></dir><dir name="layout"><dir name="monstroestudio"><file name="moip.xml" hash="6d9c361931c42324171522ca732d76ea"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="monstroestudio"><dir name="moip"><dir name="css"><file name="styles.css" hash="fc1ef0a19b7c8ac43517924749c837b0"/></dir><dir name="images"><file name="amex.png" hash="ddae1391e6cc2b9ed02755e1bda42127"/><file name="banrisul.png" hash="4a3feb3468e0b5fb72f096c2762d8806"/><file name="bb.png" hash="066e08f866baf93b77694bf354eec913"/><file name="boleto.png" hash="5670bee3689eef1c39e0d35108205b8d"/><file name="bradesco-boleto.jpg" hash="0a9c5b2544e5a07b76be5f714729a11f"/><file name="bradesco.png" hash="8d8919bf93cc04a512f86e3d20003c01"/><file name="cc.png" hash="9355033ab955d67a5b87feb5a72a3786"/><file name="diners.png" hash="c0624bfa6bde58d5d6defb4849148d23"/><file name="hiper.png" hash="2785865b79748180647bdc3b470101c0"/><file name="itau.png" hash="9b4206fb76f64a86437c80450ba363be"/><file name="master.png" hash="3794747a6bcefcd3975966501ff44782"/><file name="moip-warning.png" hash="7f532dbf2fc16f6378cdefbe92e458db"/><file name="printer.png" hash="1ab5e87a5eff796f63d8134b48a6d02a"/><file name="transf.png" hash="14eafc26fdca09d2bb8c76702d785867"/><file name="transferencia-icon.png" hash="b11dd5f71eb7c1e04fdf8a4b4112c066"/><file name="visa.png" hash="c0044c9a4d4ebcc2773bd9c13620ffce"/></dir><dir name="js"><file name="creditcard.min.js" hash="364e168e2ebd3269691dcdcdbb0fea5e"/><file name="jquery.js" hash="242361900ae3ebb31f8b9a62a9d549f6"/><file name="moip-form.js" hash="870c038a5c783f75ccf0bdeba5e3c731"/><file name="prototype.maskedinput.js" hash="23acf0dcd74dc380cf1d9059ff74111b"/><file name="validations.js" hash="1105a40f058db378ad1b059505a35d1f"/></dir></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Moip"><file name="Moip.php" hash="9a5033f185a7179b4ffbf46911b46acc"/><file name="MoipClient.php" hash="ad0b0c4b005bd36fe7499df75483b1bb"/><file name="MoipEnvironment.php" hash="0f69d07dd42baa5ea70af1df10a03003"/><file name="MoipResponse.php" hash="3fc4b67f28adf2c27b968756e0cdfca5"/><file name="MoipStatus.php" hash="9f61696ffb0819ac9cef7a89736edc9b"/><dir name="phpQuery"><file name="phpQuery.php" hash="5cb41d4d677a5f076c2a1fc26430dfe6"/></dir></dir></target><target name="mageetc"><dir name="."><file name="Monstroestudio_Moip.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.0.0.</min><max>7.0.0</max></php><package><name>Mage_Core_Payment</name><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MoipExpress</name>
4
+ <version>1.0.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL v3</license>
7
  <channel>community</channel>
11
  <notes>Sinta-se a vontade para contatar o suporte</notes>
12
  <authors><author><name>Raul Sakai</name><user>rqsakai</user><email>rqsakai@gmail.com</email></author></authors>
13
  <date>2014-07-02</date>
14
+ <time>21:45:36</time>
15
+ <contents><target name="magelocal"><dir name="Monstroestudio"><dir name="Moip"><dir name="Block"><file name="Form.php" hash="f2bcb847f4c3421180136add3333fc52"/><file name="Redirect.php" hash="f8fd4f552752b99167c726936db64827"/></dir><dir name="Helper"><file name="Data.php" hash="cc959503224982e903b54c0cd2f4af75"/></dir><dir name="Model"><file name="Abstract.php" hash="057d418e2eb63f65dbe4b72290ce2ac4"/><file name="Observer.php" hash="b48222522efd2004ad2f49a76835d9d0"/><file name="PaymentMethod.php" hash="360d7b7d071f5d169b5b3843c7d86dc9"/><dir name="Resource"><dir name="Safe"><dir name="Collection"><file name="Abstract.php" hash="1226a0f68556e70a06ded8c36122f775"/></dir><file name="Collection.php" hash="db5d0d3d5360569db7d37b015cdbdee6"/></dir><file name="Safe.php" hash="fff8bc262d55296cac2886b39f043b2d"/><dir name="Transactions"><dir name="Collection"><file name="Abstract.php" hash="579220db5fc7f5f0cede6e978c58eada"/></dir><file name="Collection.php" hash="0efc676bb425f3b60484500a6dab52fd"/></dir><file name="Transactions.php" hash="25b1ba30771a1f32727442f4dfeabcfb"/></dir><file name="Safe.php" hash="e66911ae2b4e875fbedc7c063162adb5"/><dir name="Source"><file name="Ccmaxparcelas.php" hash="6f787154ed5c3e4f3bbcdc4db539c39c"/><file name="Paymentmethods.php" hash="cdbcf39fdf3bc3ceeab4d8e6e80317b6"/><file name="Recebimento.php" hash="b65926935d31cbd3709aee596e5c31c6"/><file name="Tipovencboleto.php" hash="fcb4363c7d842b5c02260d9999c52d66"/></dir><file name="Transactions.php" hash="eddb3201f6ac97ea4ec720e0e4f755a5"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="7edd9f00b87a1d1e4583cee87918631e"/></dir><dir name="etc"><file name="config.xml" hash="f04818d1c4365ab50865d47967f40319"/><file name="system.xml" hash="2a77a802c3362a5f1af89f843fd0f0ed"/></dir><dir name="sql"><dir name="moip_setup"><file name="mysql4-install-1.0.0.php" hash="a835f6d87b9c0a50edc35d84e0858eb7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="monstroestudio"><dir name="moip"><file name="form.phtml" hash="b80b671a96db27bd3bc91f6481b5a192"/><file name="redirect.phtml" hash="3f87c1b3105ba38630b17abddba10227"/></dir></dir></dir><dir name="layout"><dir name="monstroestudio"><file name="moip.xml" hash="6d9c361931c42324171522ca732d76ea"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="monstroestudio"><dir name="moip"><dir name="css"><file name="styles.css" hash="273222070c4fb5bb16623b2ec1c92654"/></dir><dir name="images"><file name="amex.png" hash="ddae1391e6cc2b9ed02755e1bda42127"/><file name="banrisul.png" hash="4a3feb3468e0b5fb72f096c2762d8806"/><file name="bb.png" hash="066e08f866baf93b77694bf354eec913"/><file name="boleto.png" hash="5670bee3689eef1c39e0d35108205b8d"/><file name="bradesco-boleto.jpg" hash="0a9c5b2544e5a07b76be5f714729a11f"/><file name="bradesco.png" hash="8d8919bf93cc04a512f86e3d20003c01"/><file name="cc.png" hash="9355033ab955d67a5b87feb5a72a3786"/><file name="cvv.jpg" hash="435fa5f044e6201c5c2d12cc7ad518f1"/><file name="diners.png" hash="c0624bfa6bde58d5d6defb4849148d23"/><file name="hiper.png" hash="2785865b79748180647bdc3b470101c0"/><file name="itau.png" hash="9b4206fb76f64a86437c80450ba363be"/><file name="master.png" hash="3794747a6bcefcd3975966501ff44782"/><file name="moip-warning.png" hash="7f532dbf2fc16f6378cdefbe92e458db"/><file name="printer.png" hash="1ab5e87a5eff796f63d8134b48a6d02a"/><file name="transf.png" hash="14eafc26fdca09d2bb8c76702d785867"/><file name="transferencia-icon.png" hash="b11dd5f71eb7c1e04fdf8a4b4112c066"/><file name="visa.png" hash="c0044c9a4d4ebcc2773bd9c13620ffce"/></dir><dir name="js"><file name="creditcard.min.js" hash="364e168e2ebd3269691dcdcdbb0fea5e"/><file name="jquery.js" hash="242361900ae3ebb31f8b9a62a9d549f6"/><file name="moip-form.js" hash="870c038a5c783f75ccf0bdeba5e3c731"/><file name="prototype.maskedinput.js" hash="23acf0dcd74dc380cf1d9059ff74111b"/><file name="validations.js" hash="1105a40f058db378ad1b059505a35d1f"/></dir></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Moip"><file name="Moip.php" hash="9a5033f185a7179b4ffbf46911b46acc"/><file name="MoipClient.php" hash="ad0b0c4b005bd36fe7499df75483b1bb"/><file name="MoipEnvironment.php" hash="0f69d07dd42baa5ea70af1df10a03003"/><file name="MoipResponse.php" hash="3fc4b67f28adf2c27b968756e0cdfca5"/><file name="MoipStatus.php" hash="9f61696ffb0819ac9cef7a89736edc9b"/><dir name="phpQuery"><file name="phpQuery.php" hash="5cb41d4d677a5f076c2a1fc26430dfe6"/></dir></dir></target><target name="mageetc"><dir name="."><file name="Monstroestudio_Moip.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.0.0.</min><max>7.0.0</max></php><package><name>Mage_Core_Payment</name><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
18
  </package>
skin/frontend/default/default/monstroestudio/moip/css/styles.css CHANGED
@@ -20,8 +20,8 @@
20
  .moip-paygate > div.col-right .moip-payment-method[data-name="cc"] ul.form-list > li.bandeira > label div{width:500%;}
21
 
22
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip{position:absolute;display:block;background: #000;color:#fff;border-radius: 50px; padding: 2px 8px;display:block;left:170px;cursor:pointer;margin-top: 2.5%;}
23
- .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip .tip{position:absolute;display:none;top: -100%;width:200px;background:#fff;color:#000;padding: 10px;border-radius:10px;box-shadow:0px 0px 5px #666;margin-top:-30px;left:-7px;}
24
- .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip .tip:after{content:" ";border-top: 8px solid #fff;border-right: 8px solid transparent;border-left: 8px solid transparent;position:absolute;top:100%;left:5%;}
25
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip:hover .tip{display:block;}
26
 
27
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li.wide .input-text, .moip-paygate > div.col-right .moip-payment-method ul.form-list > li.wide select{width:262px;padding: 5px 0;text-indent:10px;}
20
  .moip-paygate > div.col-right .moip-payment-method[data-name="cc"] ul.form-list > li.bandeira > label div{width:500%;}
21
 
22
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip{position:absolute;display:block;background: #000;color:#fff;border-radius: 50px; padding: 2px 8px;display:block;left:170px;cursor:pointer;margin-top: 2.5%;}
23
+ .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip .tip{position:absolute;display:none;top: -220px;width:200px;background:#fff;color:#000;padding: 10px;border-radius:10px;box-shadow:0px 0px 5px #666;margin-top:-30px;left:-7px;z-index:999;}
24
+ .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip .tip img{width:100% !important;height:auto;}
25
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li .moip-tooltip:hover .tip{display:block;}
26
 
27
  .moip-paygate > div.col-right .moip-payment-method ul.form-list > li.wide .input-text, .moip-paygate > div.col-right .moip-payment-method ul.form-list > li.wide select{width:262px;padding: 5px 0;text-indent:10px;}
skin/frontend/default/default/monstroestudio/moip/images/cvv.jpg ADDED
Binary file