Version Notes
Fixed minor Bugs
Download this release
Release Info
| Developer | Oswaldo Lopez Garcia |
| Extension | Compropago_Payment_Extension |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Compropago/Model/Api.php +4 -2
- app/code/community/Compropago/Model/Standard.php +4 -17
- app/design/frontend/base/default/layout/compropago.xml +15 -5
- app/design/frontend/base/default/template/compropago/cash.phtml +10 -10
- js/compropago/compropago.js +16 -1
- package.xml +3 -3
- skin/frontend/base/default/css/compropago/compropago.css +28 -12
app/code/community/Compropago/Model/Api.php
CHANGED
|
@@ -11,7 +11,7 @@ class Compropago_Model_Api
|
|
| 11 |
* URL del servicio de PagoFacil en ambiente de produccion
|
| 12 |
* @var string
|
| 13 |
*/
|
| 14 |
-
protected $_url = '
|
| 15 |
|
| 16 |
/**
|
| 17 |
* respuesta sin parsear del servicio
|
|
@@ -65,6 +65,8 @@ class Compropago_Model_Api
|
|
| 65 |
curl_setopt($ch, CURLOPT_URL, $this->_url);
|
| 66 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
|
| 67 |
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
|
|
|
|
|
|
| 68 |
curl_setopt($ch, CURLOPT_USERPWD, $username . ":");
|
| 69 |
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
|
| 70 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
|
@@ -79,7 +81,7 @@ class Compropago_Model_Api
|
|
| 79 |
$response = json_decode($this->_response,true);
|
| 80 |
|
| 81 |
// respuesta del servicio
|
| 82 |
-
if ($response
|
| 83 |
{
|
| 84 |
Mage::throwException("El servicio de Compropago no se encuentra disponible.");
|
| 85 |
}
|
| 11 |
* URL del servicio de PagoFacil en ambiente de produccion
|
| 12 |
* @var string
|
| 13 |
*/
|
| 14 |
+
protected $_url = 'http://api.compropago.com/v1/charges';
|
| 15 |
|
| 16 |
/**
|
| 17 |
* respuesta sin parsear del servicio
|
| 65 |
curl_setopt($ch, CURLOPT_URL, $this->_url);
|
| 66 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
|
| 67 |
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
| 68 |
+
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
|
| 69 |
+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 70 |
curl_setopt($ch, CURLOPT_USERPWD, $username . ":");
|
| 71 |
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
|
| 72 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 81 |
$response = json_decode($this->_response,true);
|
| 82 |
|
| 83 |
// respuesta del servicio
|
| 84 |
+
if (empty($response))
|
| 85 |
{
|
| 86 |
Mage::throwException("El servicio de Compropago no se encuentra disponible.");
|
| 87 |
}
|
app/code/community/Compropago/Model/Standard.php
CHANGED
|
@@ -108,19 +108,6 @@ class Compropago_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
| 108 |
{
|
| 109 |
Mage::throwException($error->getMessage());
|
| 110 |
}
|
| 111 |
-
|
| 112 |
-
// respuesta del servicio
|
| 113 |
-
if ($response == null)
|
| 114 |
-
{
|
| 115 |
-
Mage::throwException("El servicio de Compropago no se encuentra disponible.");
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
if ($response['type'] == "error")
|
| 119 |
-
{
|
| 120 |
-
$errorMessage = $response['message'] . "\n";
|
| 121 |
-
Mage::throwException($errorMessage);
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
|
| 125 |
if($response['api_version'] == '1.0'){
|
| 126 |
$expiration_date = $response['expiration_date'];
|
|
@@ -159,8 +146,8 @@ class Compropago_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
| 159 |
$note_expiration_date = $instructions['note_expiration_date'];
|
| 160 |
$api_version = $response['api_version'];
|
| 161 |
}
|
| 162 |
-
//$store_image = $response['charge']['store_image'];
|
| 163 |
-
|
| 164 |
Mage::getSingleton('core/session')->setExpirationDate($expiration_date);
|
| 165 |
Mage::getSingleton('core/session')->setReference($reference);
|
| 166 |
Mage::getSingleton('core/session')->setStep1($step_1);
|
|
@@ -173,7 +160,7 @@ class Compropago_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
| 173 |
Mage::getSingleton('core/session')->setNoteExpirationDate($note_expiration_date);
|
| 174 |
Mage::getSingleton('core/session')->setApiVersion($api_version);
|
| 175 |
Mage::getSingleton('core/session')->setLogoSrc($logo);
|
| 176 |
-
|
| 177 |
return $this;
|
| 178 |
}
|
| 179 |
|
|
@@ -185,7 +172,7 @@ class Compropago_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
| 185 |
Mage::throwException("Datos incompletos del servicio, contacte al administrador del sitio");
|
| 186 |
}
|
| 187 |
|
| 188 |
-
$url = '
|
| 189 |
$url.= 'true';
|
| 190 |
$username = trim($this->getConfigData('client_secret'));
|
| 191 |
$password = trim($this->getConfigData('client_id'));
|
| 108 |
{
|
| 109 |
Mage::throwException($error->getMessage());
|
| 110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
if($response['api_version'] == '1.0'){
|
| 113 |
$expiration_date = $response['expiration_date'];
|
| 146 |
$note_expiration_date = $instructions['note_expiration_date'];
|
| 147 |
$api_version = $response['api_version'];
|
| 148 |
}
|
| 149 |
+
//$store_image = $response['charge']['store_image'];
|
| 150 |
+
|
| 151 |
Mage::getSingleton('core/session')->setExpirationDate($expiration_date);
|
| 152 |
Mage::getSingleton('core/session')->setReference($reference);
|
| 153 |
Mage::getSingleton('core/session')->setStep1($step_1);
|
| 160 |
Mage::getSingleton('core/session')->setNoteExpirationDate($note_expiration_date);
|
| 161 |
Mage::getSingleton('core/session')->setApiVersion($api_version);
|
| 162 |
Mage::getSingleton('core/session')->setLogoSrc($logo);
|
| 163 |
+
|
| 164 |
return $this;
|
| 165 |
}
|
| 166 |
|
| 172 |
Mage::throwException("Datos incompletos del servicio, contacte al administrador del sitio");
|
| 173 |
}
|
| 174 |
|
| 175 |
+
$url = 'http://api.compropago.com/v1/providers/';
|
| 176 |
$url.= 'true';
|
| 177 |
$username = trim($this->getConfigData('client_secret'));
|
| 178 |
$password = trim($this->getConfigData('client_id'));
|
app/design/frontend/base/default/layout/compropago.xml
CHANGED
|
@@ -27,14 +27,24 @@
|
|
| 27 |
|
| 28 |
-->
|
| 29 |
<layout version="0.1.0">
|
| 30 |
-
<
|
| 31 |
-
|
| 32 |
<action method="addCss">
|
| 33 |
<path>css/compropago/compropago.css</path>
|
| 34 |
</action>
|
| 35 |
-
<action method="addJs">
|
| 36 |
-
|
| 37 |
-
|
| 38 |
</reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
</checkout_onepage_success>
|
| 40 |
</layout>
|
| 27 |
|
| 28 |
-->
|
| 29 |
<layout version="0.1.0">
|
| 30 |
+
<checkout_onepage_index>
|
| 31 |
+
<reference name="head">
|
| 32 |
<action method="addCss">
|
| 33 |
<path>css/compropago/compropago.css</path>
|
| 34 |
</action>
|
| 35 |
+
<action method="addJs">
|
| 36 |
+
<script>compropago/compropago.js</script>
|
| 37 |
+
</action>
|
| 38 |
</reference>
|
| 39 |
+
</checkout_onepage_index>
|
| 40 |
+
<checkout_onepage_success>
|
| 41 |
+
<reference name="head">
|
| 42 |
+
<action method="addCss">
|
| 43 |
+
<path>css/compropago/compropago.css</path>
|
| 44 |
+
</action>
|
| 45 |
+
<action method="addJs">
|
| 46 |
+
<script>compropago/compropago.js</script>
|
| 47 |
+
</action>
|
| 48 |
+
</reference>
|
| 49 |
</checkout_onepage_success>
|
| 50 |
</layout>
|
app/design/frontend/base/default/template/compropago/cash.phtml
CHANGED
|
@@ -12,9 +12,8 @@
|
|
| 12 |
$_getProviders = $_model->getProviders();
|
| 13 |
?>
|
| 14 |
<link rel="stylesheet" href="<?php echo $this->getSkinUrl('css/compropago/compropago.css'); ?>" />
|
|
|
|
| 15 |
<label class="label-instructions">Selecciona un establecimiento para realizar el pago en efectivo</label>
|
| 16 |
-
<ul id="payment_form_<?php echo $_code ?>" style="<?php echo !$_model->showLogoProviders() ? 'display:none' : 'display:block' ?>" >
|
| 17 |
-
<label for="p_method_compropago" style="cursor:pointer;">
|
| 18 |
<?php if (!$_model->showLogoProviders())
|
| 19 |
{ ?>
|
| 20 |
<li>
|
|
@@ -27,19 +26,20 @@
|
|
| 27 |
</li>
|
| 28 |
<?php } else { ?>
|
| 29 |
<li>
|
| 30 |
-
<div class="row stores-compact" style="padding: 5px
|
| 31 |
<?php foreach ($_getProviders as $_provider): ?>
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
| 38 |
<?php endforeach; ?>
|
|
|
|
| 39 |
</div>
|
| 40 |
</li>
|
| 41 |
<?php } ?>
|
| 42 |
-
</label>
|
| 43 |
</ul>
|
| 44 |
<div>
|
| 45 |
<?php echo $this->getMethod()->getConfigData('message');?>
|
| 12 |
$_getProviders = $_model->getProviders();
|
| 13 |
?>
|
| 14 |
<link rel="stylesheet" href="<?php echo $this->getSkinUrl('css/compropago/compropago.css'); ?>" />
|
| 15 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none" >
|
| 16 |
<label class="label-instructions">Selecciona un establecimiento para realizar el pago en efectivo</label>
|
|
|
|
|
|
|
| 17 |
<?php if (!$_model->showLogoProviders())
|
| 18 |
{ ?>
|
| 19 |
<li>
|
| 26 |
</li>
|
| 27 |
<?php } else { ?>
|
| 28 |
<li>
|
| 29 |
+
<div class="row stores-compact" style="padding: 5px 15px; opacity: 1;" id="<?php echo $_code ?>_store">
|
| 30 |
<?php foreach ($_getProviders as $_provider): ?>
|
| 31 |
+
<!--<php if($_provider['internal_name'] == 'OXXO' || $_provider['internal_name'] == 'SEVEN_ELEVEN' || $_provider['internal_name'] == 'EXTRA' || $_provider['internal_name'] == 'CHEDRAUI'): ?>-->
|
| 32 |
+
<div class="element-box">
|
| 33 |
+
<label for="<?php echo $_code ?>_<?php echo $_provider['internal_name'] ?>" class="provider-description " onclick="seleccionar(this,'<?php echo $_provider['internal_name'] ?>');">
|
| 34 |
+
<img src="<?php echo $_provider['image_medium'] ?>" class="image_provider">
|
| 35 |
+
</label>
|
| 36 |
+
</div>
|
| 37 |
+
<!--<php endif; ?>-->
|
| 38 |
<?php endforeach; ?>
|
| 39 |
+
<input id="store_code_selected" type="hidden" name="payment[store_code]" value="">
|
| 40 |
</div>
|
| 41 |
</li>
|
| 42 |
<?php } ?>
|
|
|
|
| 43 |
</ul>
|
| 44 |
<div>
|
| 45 |
<?php echo $this->getMethod()->getConfigData('message');?>
|
js/compropago/compropago.js
CHANGED
|
@@ -5,4 +5,19 @@ function imprimir(){
|
|
| 5 |
ventana.document.close();
|
| 6 |
ventana.print();
|
| 7 |
ventana.close();
|
| 8 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
ventana.document.close();
|
| 6 |
ventana.print();
|
| 7 |
ventana.close();
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
function seleccionar(t,internal_name){
|
| 11 |
+
var class_name = t.className,
|
| 12 |
+
seleccionados = document.getElementsByClassName("seleccion_store"),
|
| 13 |
+
store_code = document.getElementById('store_code_selected');
|
| 14 |
+
|
| 15 |
+
for (i = 0; i < seleccionados.length; i++) {
|
| 16 |
+
seleccionados[i].className = seleccionados[i].className.replace(/\bseleccion_store\b/,'');
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
if(class_name.search("seleccion_store") == -1){
|
| 20 |
+
t.className += "seleccion_store";
|
| 21 |
+
store_code.value = internal_name;
|
| 22 |
+
}
|
| 23 |
+
};
|
package.xml
CHANGED
|
@@ -10,9 +10,9 @@
|
|
| 10 |
<description>It is a tool that allows us to process cash payments in shop.</description>
|
| 11 |
<notes>Fixed minor Bugs</notes>
|
| 12 |
<authors><author><name>Oswaldo Lopez Garcia</name><user>waldix</user><email>waldix@compropago.com</email></author></authors>
|
| 13 |
-
<date>
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Compropago.xml" hash="884374bb8a46b5ac9a62cd8b9f351401"/></dir></target><target name="magecommunity"><dir name="Compropago"><dir name="Block"><file name="Form.php" hash="af36f6b19af072a247cceff2b9d1f452"/><file name="OnepageSuccess.php" hash="d575b5abb647c41017b6d40efb3ee8cb"/></dir><dir name="Helper"><file name="Data.php" hash="5d3d5f4f86f2cec56315a1b02cc3d308"/></dir><dir name="Model"><file name="Api.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 10 |
<description>It is a tool that allows us to process cash payments in shop.</description>
|
| 11 |
<notes>Fixed minor Bugs</notes>
|
| 12 |
<authors><author><name>Oswaldo Lopez Garcia</name><user>waldix</user><email>waldix@compropago.com</email></author></authors>
|
| 13 |
+
<date>2016-01-25</date>
|
| 14 |
+
<time>22:17:15</time>
|
| 15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Compropago.xml" hash="884374bb8a46b5ac9a62cd8b9f351401"/></dir></target><target name="magecommunity"><dir name="Compropago"><dir name="Block"><file name="Form.php" hash="af36f6b19af072a247cceff2b9d1f452"/><file name="OnepageSuccess.php" hash="d575b5abb647c41017b6d40efb3ee8cb"/></dir><dir name="Helper"><file name="Data.php" hash="5d3d5f4f86f2cec56315a1b02cc3d308"/></dir><dir name="Model"><file name="Api.php" hash="a649577ee59ff0616937ba65817873e0"/><file name="Standard.php" hash="7be18a501ce9800d61701041c1718f59"/></dir><dir name="controllers"><file name="WebhookController.php" hash="64c404a7a78bb027a313bb1f9c08460b"/></dir><dir name="etc"><file name="config.xml" hash="26776d50679f9c07924f5ab0a7beeb76"/><file name="system.xml" hash="a3f19cb830d63fed92c03c86799bc0cb"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="compropago"><file name="cash.phtml" hash="7fa7c44e2269f57b282737d3542e71ab"/><file name="onepage_success.phtml" hash="ab674c10c9a161debe6dcd723fe13235"/></dir></dir><dir name="layout"><file name="compropago.xml" hash="54959ff0a24d2db5de8060613a1b3231"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="compropago"><file name="compropago.css" hash="7434247b33db1b2bdbb6c17e7a141bff"/></dir></dir><dir name="images"><dir name="compropago"><file name="warning.png" hash="e30bf5b88671a415ca7771b3e5dd9c19"/></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="compropago"><file name="compropago.js" hash="bc09c44b14c2dca3b35956b8a91c394a"/></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
skin/frontend/base/default/css/compropago/compropago.css
CHANGED
|
@@ -176,8 +176,8 @@ ul.cp-warning li {
|
|
| 176 |
float: left;
|
| 177 |
position: relative;
|
| 178 |
min-height: 1px;
|
| 179 |
-
padding-left:
|
| 180 |
-
padding-right:
|
| 181 |
}
|
| 182 |
|
| 183 |
.row{margin-left:-15px;margin-right:-15px;}
|
|
@@ -229,21 +229,28 @@ ul.cp-warning li {
|
|
| 229 |
}
|
| 230 |
.col-md-12{width:100%;} .col-md-11{width:91.66666666666666%;} .col-md-10{width:83.33333333333334%;} .col-md-9{width:75%;} .col-md-8{width:66.66666666666666%;} .col-md-7{width:58.333333333333336%;} .col-md-6{width:50%;} .col-md-5{width:41.66666666666667%;} .col-md-4{width:33.33333333333333%;} .col-md-3{width:25%;} .col-md-2{width:16.666666666666664%;} .col-md-1{width:8.333333333333332%;} .col-md-pull-12{right:100%;} .col-md-pull-11{right:91.66666666666666%;} .col-md-pull-10{right:83.33333333333334%;} .col-md-pull-9{right:75%;} .col-md-pull-8{right:66.66666666666666%;} .col-md-pull-7{right:58.333333333333336%;} .col-md-pull-6{right:50%;} .col-md-pull-5{right:41.66666666666667%;} .col-md-pull-4{right:33.33333333333333%;} .col-md-pull-3{right:25%;} .col-md-pull-2{right:16.666666666666664%;} .col-md-pull-1{right:8.333333333333332%;} .col-md-pull-0{right:0%;} .col-md-push-12{left:100%;} .col-md-push-11{left:91.66666666666666%;} .col-md-push-10{left:83.33333333333334%;} .col-md-push-9{left:75%;} .col-md-push-8{left:66.66666666666666%;} .col-md-push-7{left:58.333333333333336%;} .col-md-push-6{left:50%;} .col-md-push-5{left:41.66666666666667%;} .col-md-push-4{left:33.33333333333333%;} .col-md-push-3{left:25%;} .col-md-push-2{left:16.666666666666664%;} .col-md-push-1{left:8.333333333333332%;} .col-md-push-0{left:0%;} .col-md-offset-12{margin-left:100%;} .col-md-offset-11{margin-left:91.66666666666666%;} .col-md-offset-10{margin-left:83.33333333333334%;} .col-md-offset-9{margin-left:75%;} .col-md-offset-8{margin-left:66.66666666666666%;} .col-md-offset-7{margin-left:58.333333333333336%;} .col-md-offset-6{margin-left:50%;} .col-md-offset-5{margin-left:41.66666666666667%;} .col-md-offset-4{margin-left:33.33333333333333%;} .col-md-offset-3{margin-left:25%;} .col-md-offset-2{margin-left:16.666666666666664%;} .col-md-offset-1{margin-left:8.333333333333332%;} .col-md-offset-0{margin-left:0%;}}
|
| 231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
.element-box label img{
|
| 233 |
-
display:block;
|
|
|
|
| 234 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18);
|
| 235 |
border-radius:5px;
|
| 236 |
-moz-border-radius:5px;
|
| 237 |
-
-webkit-border-radius:5px;
|
| 238 |
width: 80px;
|
| 239 |
}
|
| 240 |
.element-box input{
|
| 241 |
left:-9999px;position:absolute
|
| 242 |
}
|
| 243 |
-
.element-box
|
| 244 |
-
opacity:1;
|
|
|
|
|
|
|
| 245 |
}
|
| 246 |
-
.element-box
|
| 247 |
opacity:1;
|
| 248 |
background:#40c4fa;
|
| 249 |
border-radius:6px;
|
|
@@ -251,7 +258,8 @@ ul.cp-warning li {
|
|
| 251 |
-webkit-border-radius:6px;
|
| 252 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18) inset
|
| 253 |
}
|
| 254 |
-
.element-box
|
|
|
|
| 255 |
opacity:1;
|
| 256 |
background:#00aaef;
|
| 257 |
border-radius:6px;
|
|
@@ -259,9 +267,9 @@ ul.cp-warning li {
|
|
| 259 |
-webkit-border-radius:6px;
|
| 260 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18) inset
|
| 261 |
}
|
| 262 |
-
.element-box
|
| 263 |
display:block;
|
| 264 |
-
margin:
|
| 265 |
box-shadow:none;
|
| 266 |
border-radius:5px;
|
| 267 |
-moz-border-radius:5px;
|
|
@@ -285,10 +293,10 @@ ul.cp-warning li {
|
|
| 285 |
width:480px;
|
| 286 |
}
|
| 287 |
|
| 288 |
-
.label-instructions{
|
| 289 |
-
margin-left: 38px;
|
| 290 |
top: 5px;
|
| 291 |
position: relative;
|
|
|
|
| 292 |
}
|
| 293 |
|
| 294 |
.logo-success{
|
|
@@ -297,6 +305,14 @@ ul.cp-warning li {
|
|
| 297 |
display: none;
|
| 298 |
}
|
| 299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 300 |
@media print{
|
| 301 |
.receipt{
|
| 302 |
padding: 5px
|
| 176 |
float: left;
|
| 177 |
position: relative;
|
| 178 |
min-height: 1px;
|
| 179 |
+
padding-left: 0px;
|
| 180 |
+
padding-right: 0px;
|
| 181 |
}
|
| 182 |
|
| 183 |
.row{margin-left:-15px;margin-right:-15px;}
|
| 229 |
}
|
| 230 |
.col-md-12{width:100%;} .col-md-11{width:91.66666666666666%;} .col-md-10{width:83.33333333333334%;} .col-md-9{width:75%;} .col-md-8{width:66.66666666666666%;} .col-md-7{width:58.333333333333336%;} .col-md-6{width:50%;} .col-md-5{width:41.66666666666667%;} .col-md-4{width:33.33333333333333%;} .col-md-3{width:25%;} .col-md-2{width:16.666666666666664%;} .col-md-1{width:8.333333333333332%;} .col-md-pull-12{right:100%;} .col-md-pull-11{right:91.66666666666666%;} .col-md-pull-10{right:83.33333333333334%;} .col-md-pull-9{right:75%;} .col-md-pull-8{right:66.66666666666666%;} .col-md-pull-7{right:58.333333333333336%;} .col-md-pull-6{right:50%;} .col-md-pull-5{right:41.66666666666667%;} .col-md-pull-4{right:33.33333333333333%;} .col-md-pull-3{right:25%;} .col-md-pull-2{right:16.666666666666664%;} .col-md-pull-1{right:8.333333333333332%;} .col-md-pull-0{right:0%;} .col-md-push-12{left:100%;} .col-md-push-11{left:91.66666666666666%;} .col-md-push-10{left:83.33333333333334%;} .col-md-push-9{left:75%;} .col-md-push-8{left:66.66666666666666%;} .col-md-push-7{left:58.333333333333336%;} .col-md-push-6{left:50%;} .col-md-push-5{left:41.66666666666667%;} .col-md-push-4{left:33.33333333333333%;} .col-md-push-3{left:25%;} .col-md-push-2{left:16.666666666666664%;} .col-md-push-1{left:8.333333333333332%;} .col-md-push-0{left:0%;} .col-md-offset-12{margin-left:100%;} .col-md-offset-11{margin-left:91.66666666666666%;} .col-md-offset-10{margin-left:83.33333333333334%;} .col-md-offset-9{margin-left:75%;} .col-md-offset-8{margin-left:66.66666666666666%;} .col-md-offset-7{margin-left:58.333333333333336%;} .col-md-offset-6{margin-left:50%;} .col-md-offset-5{margin-left:41.66666666666667%;} .col-md-offset-4{margin-left:33.33333333333333%;} .col-md-offset-3{margin-left:25%;} .col-md-offset-2{margin-left:16.666666666666664%;} .col-md-offset-1{margin-left:8.333333333333332%;} .col-md-offset-0{margin-left:0%;}}
|
| 231 |
|
| 232 |
+
#p_method_compropago input[type="radio"]:checked img{
|
| 233 |
+
display: none;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
.element-box label img{
|
| 237 |
+
display:block;
|
| 238 |
+
margin: 6px 6px 6px 6px;
|
| 239 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18);
|
| 240 |
border-radius:5px;
|
| 241 |
-moz-border-radius:5px;
|
| 242 |
+
-webkit-border-radius:5px;
|
| 243 |
width: 80px;
|
| 244 |
}
|
| 245 |
.element-box input{
|
| 246 |
left:-9999px;position:absolute
|
| 247 |
}
|
| 248 |
+
.element-box label{
|
| 249 |
+
opacity:1;
|
| 250 |
+
margin-bottom: 2px;
|
| 251 |
+
/*margin-left:6px*/
|
| 252 |
}
|
| 253 |
+
.element-box label:hover{
|
| 254 |
opacity:1;
|
| 255 |
background:#40c4fa;
|
| 256 |
border-radius:6px;
|
| 258 |
-webkit-border-radius:6px;
|
| 259 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18) inset
|
| 260 |
}
|
| 261 |
+
.element-box .seleccion_store{
|
| 262 |
+
margin-bottom: 2px;
|
| 263 |
opacity:1;
|
| 264 |
background:#00aaef;
|
| 265 |
border-radius:6px;
|
| 267 |
-webkit-border-radius:6px;
|
| 268 |
box-shadow:0px 1px 7px 2px rgba(0,0,0,0.18) inset
|
| 269 |
}
|
| 270 |
+
.element-box .seleccion_store img{
|
| 271 |
display:block;
|
| 272 |
+
margin: 6px 6px 6px 6px;
|
| 273 |
box-shadow:none;
|
| 274 |
border-radius:5px;
|
| 275 |
-moz-border-radius:5px;
|
| 293 |
width:480px;
|
| 294 |
}
|
| 295 |
|
| 296 |
+
.label-instructions{
|
|
|
|
| 297 |
top: 5px;
|
| 298 |
position: relative;
|
| 299 |
+
padding: 0 0 0 23px;
|
| 300 |
}
|
| 301 |
|
| 302 |
.logo-success{
|
| 305 |
display: none;
|
| 306 |
}
|
| 307 |
|
| 308 |
+
.hidden-logo{
|
| 309 |
+
display: none;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.checkout-onepage-success .col-main{
|
| 313 |
+
text-align: left !important;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
@media print{
|
| 317 |
.receipt{
|
| 318 |
padding: 5px
|
