diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b5b30ae..8d2fe6777 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.6.0] - 2020-12-01 + +### Added + - Add review rating banner + - Improve security on checkouts, xss javascript sanitizer + - Support section block added in checkout settings + +### Changed + - Fixed error that prevents configuring the Mercado Pago plugin + ## [4.5.0] - 2020-10-26 ### Added diff --git a/assets/css/admin_notice_mercadopago.css b/assets/css/admin_notice_mercadopago.css index 138e33e43..becebed32 100644 --- a/assets/css/admin_notice_mercadopago.css +++ b/assets/css/admin_notice_mercadopago.css @@ -10,9 +10,91 @@ } .mp-left-alert img { - max-width: 150px; + max-width: 30px; + min-width: 30px; + padding-right: 8px; } .mp-right-alert { padding-top: 0px; -} \ No newline at end of file +} + +.mp-rating-notice { + border: 1px solid #ccc !important; +} + +.mp-rating-frame { + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 8px; +} + +.mp-left-rating { + display: flex; + justify-content: center; + align-items: center; + padding-right: 10px; +} + +.mp-left-rating img { + max-width: 50px; + min-width: 50px; + padding-right: 16px; + padding-top: 0.4em; +} + +.mp-right-rating { + padding-top: 0px; + display: flex; +} + +.mp-rating-title { + font-weight: 600; + font-size: 14px; + margin-bottom: 0 !important; +} + +.mp-rating-subtitle { + font-size: 12px; + margin-top: 0 !important; +} + +.mp-rating-link { + background-color: #009ee3; + color: #fff; + border-radius: 4px; + font-weight: 600; + display: inline-block; + padding: 2px 36px 0; + text-align: center; + line-height: 34px; + font-size: 14px; + text-decoration: none; + width: 110px; +} + +.mp-rating-link:hover, .mp-rating-link:focus { + background-color: #007eb5; + color: #fff; +} + +@media (max-width: 767.98px) { + .mp-rating-frame { + justify-content: baseline; + } + .mp-left-rating-text { + display: none; + } + .mp-left-rating img { + padding-right: 8px; + padding-top: 0.5em; + } + .mp-right-rating { + width: 100%; + } + .mp-rating-link { + width: 100%; + padding: 2px 28px 0; + } +} diff --git a/assets/css/admin_notice_mercadopago.min.css b/assets/css/admin_notice_mercadopago.min.css index 087f5bfb8..e7ffde2dc 100644 --- a/assets/css/admin_notice_mercadopago.min.css +++ b/assets/css/admin_notice_mercadopago.min.css @@ -1 +1 @@ -.mp-alert-frame{align-items:center;display:inline-flex;justify-content:center;justify-items:center}.mp-left-alert{padding-top:5px}.mp-left-alert img{max-width:150px}.mp-right-alert{padding-top:0} \ No newline at end of file +.mp-alert-frame{align-items:center;display:inline-flex;justify-content:center;justify-items:center}.mp-left-alert{padding-top:5px}.mp-left-alert img{max-width:30px;min-width:30px;padding-right:8px}.mp-right-alert{padding-top:0}.mp-rating-notice{border:1px solid #ccc!important}.mp-rating-frame{display:flex;justify-content:space-between;align-items:center;padding-left:8px}.mp-left-rating{display:flex;justify-content:center;align-items:center;padding-right:10px}.mp-left-rating img{max-width:50px;min-width:50px;padding-right:16px;padding-top:.4em}.mp-right-rating{padding-top:0;display:flex}.mp-rating-title{font-weight:600;font-size:14px;margin-bottom:0!important}.mp-rating-subtitle{font-size:12px;margin-top:0!important}.mp-rating-link{background-color:#009ee3;color:#fff;border-radius:4px;font-weight:600;display:inline-block;padding:2px 36px 0;text-align:center;line-height:34px;font-size:14px;text-decoration:none;width:110px}.mp-rating-link:focus,.mp-rating-link:hover{background-color:#007eb5;color:#fff}@media (max-width:767.98px){.mp-rating-frame{justify-content:baseline}.mp-left-rating-text{display:none}.mp-left-rating img{padding-right:8px;padding-top:.5em}.mp-right-rating{width:100%}.mp-rating-link{width:100%;padding:2px 28px 0}} \ No newline at end of file diff --git a/assets/css/config_mercadopago.css b/assets/css/config_mercadopago.css index 4f2eda141..0d269b6a5 100644 --- a/assets/css/config_mercadopago.css +++ b/assets/css/config_mercadopago.css @@ -156,6 +156,17 @@ color: #555555; } +.mp-text-support { + font-family: sans-serif; + font-size: 12px !important; + font-weight: normal; + font-style: normal !important; + font-stretch: normal; + line-height: 16px !important; + letter-spacing: normal; + color: #555555; +} + .mp_homolog_text { font-family: sans-serif; font-size: 14px !important; @@ -326,7 +337,7 @@ .mp-hidden-field { display: none; -} +} .mp_title_header { font-family: sans-serif; @@ -351,4 +362,4 @@ .mp_subtitle_mt { margin-top: 0px !important; -} \ No newline at end of file +} diff --git a/assets/css/config_mercadopago.min.css b/assets/css/config_mercadopago.min.css index cbe5fc7df..4ec6ded69 100644 --- a/assets/css/config_mercadopago.min.css +++ b/assets/css/config_mercadopago.min.css @@ -1 +1 @@ -.mp-px-20{padding-left:20px!important;padding-right:20px!important}.mp-pt-10{padding-top:10px!important}.mp-pb-10{padding-bottom:10px!important}.mp-pb-20{padding-bottom:20px!important}.mp-mt--10{margin-top:-10px!important}.mp-mt--15{margin-top:-15px!important}.mp-mt--12{margin-top:-12px!important}.mp-mt--5{margin-top:-5px!important}.mp-mt-5{margin-top:5px!important}.mp-mt-0{margin-top:0!important}.mp-mb-0{margin-bottom:0!important}.mp-mb-20{margin-bottom:20px!important}.mp-mb-18{margin-bottom:18px!important}.mp-mg-0{margin:0!important}.mp-fw-400{font-weight:400!important}.mp-text-center{text-align:center!important}.mp-row{width:100%;display:inline-block}.mp-col-md-12{width:100%;display:inline-block;text-align:justify!important}.mp-col-md-3{width:25%;float:left}.mp-col-md-2{width:20%;float:left}.mp-mouse_pointer{cursor:pointer!important}#mp_field_text{font-family:sans-serif!important;font-size:14px!important;font-weight:600!important;font-style:normal;font-stretch:normal;line-height:1.54;letter-spacing:normal;color:#555!important}#mp_input_payments{border:1px solid #ccc;padding:15px;width:365px;font-weight:700;margin-top:-8px!important;margin-bottom:37px!important}#mp_input_payments_mt{border:1px solid #ccc;padding:15px;width:365px;margin-top:-39px!important}.mp_text{font-family:sans-serif;font-size:14px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.25;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp_subtitle{font-size:18px!important}.mp_subtitle_bd{border-top:1px solid #bbb;padding-top:20px;font-size:20px!important;margin-top:0!important;margin-bottom:20px!important}.mp_subtitle_bd_mb{border-top:1px solid #bbb;padding-top:20px;font-size:20px!important;margin-bottom:0!important}.mp_small_text{font-family:sans-serif;font-size:15px!important;font-weight:400;font-style:normal!important;font-stretch:normal;line-height:16px!important;letter-spacing:normal;color:#555}.mp_homolog_text{font-family:sans-serif;font-size:14px!important;font-weight:400;font-style:normal!important;font-stretch:normal;line-height:16px!important;letter-spacing:normal;color:#555;margin-top:0!important;margin-bottom:30px!important}.mp_title_bd{font-family:sans-serif;font-size:30px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.07;letter-spacing:normal;color:#303030;border-top:1px solid #bbb;padding-top:20px;margin-bottom:5px!important;margin-top:10px!important}.mp_title_checkout{font-family:sans-serif;font-size:30px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.07;letter-spacing:normal;color:#303030;margin-bottom:5px!important;margin-top:0!important}.mp_tienda_link{display:inline-block}.mp_tienda_link a{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;white-space:nowrap;line-height:1.42857;border-radius:2px!important;border:solid 1px #c2c2c2!important;padding:12px 50px!important;font-size:13px!important;background-color:#fafafa!important;text-decoration:none;color:#555;font-family:sans-serif}.mp_tienda_link:hover a{color:#fff!important;background-color:#00aff0!important;border-color:#008abd!important;-webkit-box-shadow:none!important;box-shadow:none}.mp_general_links{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;white-space:nowrap;line-height:1.42857;border-radius:2px!important;border:solid 1px #c2c2c2!important;padding:12px 50px!important;font-size:13px!important;background-color:#fafafa!important;text-decoration:none;color:#555;font-family:sans-serif}.mp_general_links:hover{color:#fff!important;background-color:#00aff0!important;border-color:#008abd!important;-webkit-box-shadow:none!important;box-shadow:none}.mp-btn-collapsible{float:right;font-size:25px;padding-right:5px}.mp-title-checkout-body{font-family:sans-serif!important;margin:0 0 13px!important;font-size:20px!important;font-weight:200!important;line-height:1.25;font-style:normal;font-stretch:normal;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-text-checkout-body{font-size:18px!important;font-weight:400!important;margin-top:10px!important;line-height:20px;font-style:normal;font-stretch:normal;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-text-steps{font-size:14px!important;font-weight:400!important;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-number-checkout-body{border-radius:100%;border:solid 1px #979797;display:block;width:35px;height:35px;margin:0 auto 8px!important;font-size:23px;font-weight:700}.mp-header-logo{align-items:center}.mp-left-header{min-width:120px}.mp-left-header img{max-width:150px}.mp-right-header{padding-top:20px}.mp-save-button{margin-bottom:15px!important}.mp-hidden-field{display:none}.mp_title_header{font-family:sans-serif;font-size:22px!important;font-weight:100;line-height:1.5;margin-bottom:5px!important;font-style:normal;font-stretch:normal;letter-spacing:normal}.mp_subtitle_header{font-family:sans-serif;font-size:28px!important;font-weight:600!important;line-height:35px;font-style:normal;font-stretch:normal;letter-spacing:normal}.mp_subtitle_mt{margin-top:0!important} \ No newline at end of file +.mp-px-20{padding-left:20px!important;padding-right:20px!important}.mp-pt-10{padding-top:10px!important}.mp-pb-10{padding-bottom:10px!important}.mp-pb-20{padding-bottom:20px!important}.mp-mt--10{margin-top:-10px!important}.mp-mt--15{margin-top:-15px!important}.mp-mt--12{margin-top:-12px!important}.mp-mt--5{margin-top:-5px!important}.mp-mt-5{margin-top:5px!important}.mp-mt-0{margin-top:0!important}.mp-mb-0{margin-bottom:0!important}.mp-mb-20{margin-bottom:20px!important}.mp-mb-18{margin-bottom:18px!important}.mp-mg-0{margin:0!important}.mp-fw-400{font-weight:400!important}.mp-text-center{text-align:center!important}.mp-row{width:100%;display:inline-block}.mp-col-md-12{width:100%;display:inline-block;text-align:justify!important}.mp-col-md-3{width:25%;float:left}.mp-col-md-2{width:20%;float:left}.mp-mouse_pointer{cursor:pointer!important}#mp_field_text{font-family:sans-serif!important;font-size:14px!important;font-weight:600!important;font-style:normal;font-stretch:normal;line-height:1.54;letter-spacing:normal;color:#555!important}#mp_input_payments{border:1px solid #ccc;padding:15px;width:365px;font-weight:700;margin-top:-8px!important;margin-bottom:37px!important}#mp_input_payments_mt{border:1px solid #ccc;padding:15px;width:365px;margin-top:-39px!important}.mp_text{font-family:sans-serif;font-size:14px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.25;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp_subtitle{font-size:18px!important}.mp_subtitle_bd{border-top:1px solid #bbb;padding-top:20px;font-size:20px!important;margin-top:0!important;margin-bottom:20px!important}.mp_subtitle_bd_mb{border-top:1px solid #bbb;padding-top:20px;font-size:20px!important;margin-bottom:0!important}.mp_small_text{font-family:sans-serif;font-size:15px!important;font-weight:400;font-style:normal!important;font-stretch:normal;line-height:16px!important;letter-spacing:normal;color:#555}.mp-text-support{font-family:sans-serif;font-size:12px!important;font-weight:400;font-style:normal!important;font-stretch:normal;line-height:16px!important;letter-spacing:normal;color:#555}.mp_homolog_text{font-family:sans-serif;font-size:14px!important;font-weight:400;font-style:normal!important;font-stretch:normal;line-height:16px!important;letter-spacing:normal;color:#555;margin-top:0!important;margin-bottom:30px!important}.mp_title_bd{font-family:sans-serif;font-size:30px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.07;letter-spacing:normal;color:#303030;border-top:1px solid #bbb;padding-top:20px;margin-bottom:5px!important;margin-top:10px!important}.mp_title_checkout{font-family:sans-serif;font-size:30px!important;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.07;letter-spacing:normal;color:#303030;margin-bottom:5px!important;margin-top:0!important}.mp_tienda_link{display:inline-block}.mp_tienda_link a{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;white-space:nowrap;line-height:1.42857;border-radius:2px!important;border:solid 1px #c2c2c2!important;padding:12px 50px!important;font-size:13px!important;background-color:#fafafa!important;text-decoration:none;color:#555;font-family:sans-serif}.mp_tienda_link:hover a{color:#fff!important;background-color:#00aff0!important;border-color:#008abd!important;-webkit-box-shadow:none!important;box-shadow:none}.mp_general_links{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;white-space:nowrap;line-height:1.42857;border-radius:2px!important;border:solid 1px #c2c2c2!important;padding:12px 50px!important;font-size:13px!important;background-color:#fafafa!important;text-decoration:none;color:#555;font-family:sans-serif}.mp_general_links:hover{color:#fff!important;background-color:#00aff0!important;border-color:#008abd!important;-webkit-box-shadow:none!important;box-shadow:none}.mp-btn-collapsible{float:right;font-size:25px;padding-right:5px}.mp-title-checkout-body{font-family:sans-serif!important;margin:0 0 13px!important;font-size:20px!important;font-weight:200!important;line-height:1.25;font-style:normal;font-stretch:normal;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-text-checkout-body{font-size:18px!important;font-weight:400!important;margin-top:10px!important;line-height:20px;font-style:normal;font-stretch:normal;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-text-steps{font-size:14px!important;font-weight:400!important;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:rgba(0,0,0,.8)}.mp-number-checkout-body{border-radius:100%;border:solid 1px #979797;display:block;width:35px;height:35px;margin:0 auto 8px!important;font-size:23px;font-weight:700}.mp-header-logo{align-items:center}.mp-left-header{min-width:120px}.mp-left-header img{max-width:150px}.mp-right-header{padding-top:20px}.mp-save-button{margin-bottom:15px!important}.mp-hidden-field{display:none}.mp_title_header{font-family:sans-serif;font-size:22px!important;font-weight:100;line-height:1.5;margin-bottom:5px!important;font-style:normal;font-stretch:normal;letter-spacing:normal}.mp_subtitle_header{font-family:sans-serif;font-size:28px!important;font-weight:600!important;line-height:35px;font-style:normal;font-stretch:normal;letter-spacing:normal}.mp_subtitle_mt{margin-top:0!important} \ No newline at end of file diff --git a/assets/images/minilogo.png b/assets/images/minilogo.png index 6509fbd55..eb01af6de 100644 Binary files a/assets/images/minilogo.png and b/assets/images/minilogo.png differ diff --git a/assets/js/credit-card.js b/assets/js/credit-card.js index 15203f7d5..bbddbf603 100644 --- a/assets/js/credit-card.js +++ b/assets/js/credit-card.js @@ -44,7 +44,6 @@ showPaymentsLink(); }); - $('body').on('keyup', '#mp-card-number', guessingPaymentMethod); $('body').on('change', '#mp-card-number', guessingPaymentMethod); /** @@ -84,7 +83,7 @@ * * @param {object} event */ - function guessingPaymentMethod(event) { + function guessingPaymentMethod() { hideErrors(); clearHolderName(); clearExpirationDate(); @@ -101,20 +100,10 @@ return; } - if (event.type === 'keyup') { - if (bin.length >= 6) { - Mercadopago.getPaymentMethod({ - 'bin': bin - }, paymentMethodHandler); - } - } else { - setTimeout(function () { - if (bin.length >= 6) { - Mercadopago.getPaymentMethod({ - 'bin': bin - }, paymentMethodHandler); - } - }, 100); + if (bin.length >= 6) { + Mercadopago.getPaymentMethod({ + 'bin': bin + }, paymentMethodHandler); } } @@ -191,7 +180,7 @@ document.getElementById('mp-issuer-div').style.display = 'block'; document.getElementById('installments-div').classList.remove('mp-col-md-12'); document.getElementById('installments-div').classList.add('mp-col-md-8'); - Mercadopago.getIssuers(objPaymentMethod.id, issuersHandler); + Mercadopago.getIssuers(objPaymentMethod.id, getBin(), issuersHandler); } else { clearIssuer(); setInstallments(); @@ -341,24 +330,37 @@ document.getElementById('mp-issuer').innerHTML = ''; } + /** + * Clear input and change to default layout + */ function clearDoc() { document.getElementById('mp-doc-div').style.display = 'none'; document.getElementById('mp-doc-type-div').style.display = 'none'; document.getElementById('docType').innerHTML = ''; document.getElementById('docNumber').value = ''; } + /** * Clear input */ function clearHolderName() { document.getElementById('mp-card-holder-name').value = ''; } + + /** + * Clear input + */ function clearExpirationDate() { document.getElementById('mp-card-expiration-date').value = ''; } + + /** + * Clear input + */ function clearSecurityCode() { document.getElementById('mp-security-code').value = ''; } + /** * Call insttalments with issuer ou not, depends on additionalInfoHandler() */ @@ -609,7 +611,7 @@ /** * * @param { obje } response - */ + */ function showErrors(response) { var form = getForm(); for (var x = 0; x < response.cause.length; x++) { diff --git a/assets/js/credit-card.min.js b/assets/js/credit-card.min.js index d07582fab..88d508783 100644 --- a/assets/js/credit-card.min.js +++ b/assets/js/credit-card.min.js @@ -1 +1 @@ -!function(M){"use strict";M(function(){var t=!1,d={site_id:wc_mercadopago_params.site_id,public_key:wc_mercadopago_params.public_key},e=document.createElement("script");e.src="https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js",e.onload=function(){Mercadopago.setPublishableKey(d.public_key)};var n={discount_action_url:wc_mercadopago_params.discount_action_url,payer_email:wc_mercadopago_params.payer_email,activated:wc_mercadopago_params.coupon_mode,status:!1},c={},r={};function o(){0!==document.getElementById("mp-card-number").value&&(document.getElementById("mp-card-number").value="",p(),g(),_(),f(),v())}function a(){var e=document.querySelector("#mp-frame-payments");M("#button-show-payments").on("click",function(){e.style.display="inline-block"===e.style.display?"none":"inline-block"})}function l(){return document.getElementById("mp-card-number").value.replace(/[ .-]/g,"").slice(0,6)}function u(e){k(),document.getElementById("mp-card-holder-name").value="",document.getElementById("mp-card-expiration-date").value="",document.getElementById("mp-security-code").value="",f(),g(),_(),v();var o=l();o.length<6?p():"keyup"===e.type?6<=o.length&&Mercadopago.getPaymentMethod({bin:o},i):setTimeout(function(){6<=o.length&&Mercadopago.getPaymentMethod({bin:o},i)},100)}function m(){return(document.getElementById("mp-amount").value-document.getElementById("mp-discount").value)*document.getElementById("currency_ratio").value}function i(e,o){200===e?(c=o[0],o=c.id,document.getElementById("paymentMethodId").value=o,o=c.secure_thumbnail,document.getElementById("mp-card-number").style.background="url("+o+") 98% 50% no-repeat #fff",function(e){r={issuer:!1,cardholder_name:!1,cardholder_identification_type:!1,cardholder_identification_number:!1};for(var o=0;o'+wc_mercadopago_params.choose+"...",n=[],r=0;r"+(n[c].recommended_message||n[c].installments)+"";e.innerHTML=t,"MLA"===d.site_id&&(_(),M("body").on("change","#mp-installments",y))}else g(),_()}function y(){var e=document.querySelector("#mp-installments"),o=e.options[e.selectedIndex].getAttribute("data-tax"),t="",e="";null!=o&&(t=(o=o.split("|"))[0].replace("_"," "),e=o[1].replace("_"," "),"CFT 0,00%"===t&&"TEA 0,00%"===e&&(e=t="")),document.querySelector("#mp-tax-cft-text").innerHTML=t,document.querySelector("#mp-tax-tea-text").innerHTML=e}function g(){document.getElementById("mp-installments").innerHTML=""}function _(){document.querySelector("#mp-tax-cft-text").innerHTML="",document.querySelector("#mp-tax-tea-text").innerHTML=""}function f(){document.getElementById("mp-issuer-div").style.display="none",document.getElementById("installments-div").classList.remove("mp-col-md-8"),document.getElementById("installments-div").classList.add("mp-dis-md-12"),document.getElementById("mp-issuer").innerHTML=""}function v(){document.getElementById("mp-doc-div").style.display="none",document.getElementById("mp-doc-type-div").style.display="none",document.getElementById("docType").innerHTML="",document.getElementById("docNumber").value=""}function b(){for(var e={},o=m(),t=!1,n=0;n"+w(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+" "+wc_mercadopago_params.discount_info2+" "+e.response.name+".
"+wc_mercadopago_params.discount_info3+" "+w(e.response.currency_id)+" "+Math.round(100*document.querySelector("#mp-amount").value)/100+"
"+wc_mercadopago_params.discount_info4+" "+w(e.response.currency_id)+" "+Math.round(100*m())/100+"*
"+wc_mercadopago_params.discount_info5+'
'+wc_mercadopago_params.discount_info6+"",document.querySelector("#mpCouponError").style.display="none",document.querySelector("#couponCode").style.background=null,document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.check+") 94% 50% no-repeat #fff",document.querySelector("#couponCode").style.border="1px solid #cecece",document.querySelector("#applyCoupon").value=wc_mercadopago_params.remove,document.querySelector("#campaign_id").value=e.response.id,document.querySelector("#campaign").value=e.response.name):(n.status=!1,document.querySelector("#mpCouponApplyed").style.display="none",document.querySelector("#mpCouponError").style.display="block",document.querySelector("#mpCouponError").innerHTML=e.response.message,document.querySelector("#couponCode").style.background=null,document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.error+") 94% 50% no-repeat #fff",document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#mp-discount").value=0),document.querySelector("#applyCoupon").disabled=!1}})}())}function w(e){return"ARS"===e?"$":"BRL"===e?"R$":"COP"===e||"CLP"===e||"MXN"===e?"$":"VEF"===e?"Bs":"PEN"===e?"S/":"UYU"===e?"$U":"$"}function L(){return t?!(t=!1):!document.getElementById("payment_method_woo-mercado-pago-custom").checked||!!q()&&function(){k(),document.querySelector("#mp-box-loading").style.background="url("+wc_mercadopago_params.loading+") 0 50% no-repeat #fff";var e=S();return Mercadopago.createToken(e,B),!1}()}0'+wc_mercadopago_params.choose+"...",n=[],r=0;r"+(n[c].recommended_message||n[c].installments)+"";e.innerHTML=t,"MLA"===d.site_id&&(g(),L("body").on("change","#mp-installments",s))}else y(),g()}function s(){var e=document.querySelector("#mp-installments"),o=e.options[e.selectedIndex].getAttribute("data-tax"),t="",e="";null!=o&&(t=(o=o.split("|"))[0].replace("_"," "),e=o[1].replace("_"," "),"CFT 0,00%"===t&&"TEA 0,00%"===e&&(e=t="")),document.querySelector("#mp-tax-cft-text").innerHTML=t,document.querySelector("#mp-tax-tea-text").innerHTML=e}function y(){document.getElementById("mp-installments").innerHTML=""}function g(){document.querySelector("#mp-tax-cft-text").innerHTML="",document.querySelector("#mp-tax-tea-text").innerHTML=""}function _(){document.getElementById("mp-issuer-div").style.display="none",document.getElementById("installments-div").classList.remove("mp-col-md-8"),document.getElementById("installments-div").classList.add("mp-dis-md-12"),document.getElementById("mp-issuer").innerHTML=""}function f(){document.getElementById("mp-doc-div").style.display="none",document.getElementById("mp-doc-type-div").style.display="none",document.getElementById("docType").innerHTML="",document.getElementById("docNumber").value=""}function v(){for(var e={},o=u(),t=!1,n=0;n"+C(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+" "+wc_mercadopago_params.discount_info2+" "+e.response.name+".
"+wc_mercadopago_params.discount_info3+" "+C(e.response.currency_id)+" "+Math.round(100*document.querySelector("#mp-amount").value)/100+"
"+wc_mercadopago_params.discount_info4+" "+C(e.response.currency_id)+" "+Math.round(100*u())/100+"*
"+wc_mercadopago_params.discount_info5+'
'+wc_mercadopago_params.discount_info6+"",document.querySelector("#mpCouponError").style.display="none",document.querySelector("#couponCode").style.background=null,document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.check+") 94% 50% no-repeat #fff",document.querySelector("#couponCode").style.border="1px solid #cecece",document.querySelector("#applyCoupon").value=wc_mercadopago_params.remove,document.querySelector("#campaign_id").value=e.response.id,document.querySelector("#campaign").value=e.response.name):(n.status=!1,document.querySelector("#mpCouponApplyed").style.display="none",document.querySelector("#mpCouponError").style.display="block",document.querySelector("#mpCouponError").innerHTML=e.response.message,document.querySelector("#couponCode").style.background=null,document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.error+") 94% 50% no-repeat #fff",document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#mp-discount").value=0),document.querySelector("#applyCoupon").disabled=!1}})}())}function C(e){return"ARS"===e?"$":"BRL"===e?"R$":"COP"===e||"CLP"===e||"MXN"===e?"$":"VEF"===e?"Bs":"PEN"===e?"S/":"UYU"===e?"$U":"$"}function w(){return t?!(t=!1):!document.getElementById("payment_method_woo-mercado-pago-custom").checked||!!S()&&function(){E(),document.querySelector("#mp-box-loading").style.background="url("+wc_mercadopago_params.loading+") 0 50% no-repeat #fff";var e=h();return Mercadopago.createToken(e,k),!1}()}0 bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_CL.mo b/i18n/languages/woocommerce-mercadopago-es_CL.mo index 0e37838e8..0ab576624 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_CL.mo and b/i18n/languages/woocommerce-mercadopago-es_CL.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_CL.po b/i18n/languages/woocommerce-mercadopago-es_CL.po index 29946737a..092fa00b6 100644 --- a/i18n/languages/woocommerce-mercadopago-es_CL.po +++ b/i18n/languages/woocommerce-mercadopago-es_CL.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:28-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:00-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_CO.mo b/i18n/languages/woocommerce-mercadopago-es_CO.mo index 1d0cf7dbd..f77b99972 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_CO.mo and b/i18n/languages/woocommerce-mercadopago-es_CO.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_CO.po b/i18n/languages/woocommerce-mercadopago-es_CO.po index 2428f3116..5d1ff1e9f 100644 --- a/i18n/languages/woocommerce-mercadopago-es_CO.po +++ b/i18n/languages/woocommerce-mercadopago-es_CO.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:28-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:00-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_ES.mo b/i18n/languages/woocommerce-mercadopago-es_ES.mo index 3afbaf0a3..01c3e94ab 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_ES.mo and b/i18n/languages/woocommerce-mercadopago-es_ES.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_ES.po b/i18n/languages/woocommerce-mercadopago-es_ES.po index 75767a558..2148dc82d 100644 --- a/i18n/languages/woocommerce-mercadopago-es_ES.po +++ b/i18n/languages/woocommerce-mercadopago-es_ES.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:28-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:01-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_MX.mo b/i18n/languages/woocommerce-mercadopago-es_MX.mo index 65624b617..b75901751 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_MX.mo and b/i18n/languages/woocommerce-mercadopago-es_MX.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_MX.po b/i18n/languages/woocommerce-mercadopago-es_MX.po index 864f6547b..dba6c688f 100644 --- a/i18n/languages/woocommerce-mercadopago-es_MX.po +++ b/i18n/languages/woocommerce-mercadopago-es_MX.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:27-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:01-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_PE.mo b/i18n/languages/woocommerce-mercadopago-es_PE.mo index ceb35d942..0586137bc 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_PE.mo and b/i18n/languages/woocommerce-mercadopago-es_PE.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_PE.po b/i18n/languages/woocommerce-mercadopago-es_PE.po index 73c9fdb40..22821b0e3 100644 --- a/i18n/languages/woocommerce-mercadopago-es_PE.po +++ b/i18n/languages/woocommerce-mercadopago-es_PE.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:27-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:01-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_UY.mo b/i18n/languages/woocommerce-mercadopago-es_UY.mo index 5eec4101a..36977c0ad 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_UY.mo and b/i18n/languages/woocommerce-mercadopago-es_UY.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_UY.po b/i18n/languages/woocommerce-mercadopago-es_UY.po index 8613aefba..9c96a6ae5 100644 --- a/i18n/languages/woocommerce-mercadopago-es_UY.po +++ b/i18n/languages/woocommerce-mercadopago-es_UY.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:27-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:02-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-es_VE.mo b/i18n/languages/woocommerce-mercadopago-es_VE.mo index 9f22b7ca6..3357a813c 100644 Binary files a/i18n/languages/woocommerce-mercadopago-es_VE.mo and b/i18n/languages/woocommerce-mercadopago-es_VE.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-es_VE.po b/i18n/languages/woocommerce-mercadopago-es_VE.po index 8a4ab949a..c2c2ab760 100644 --- a/i18n/languages/woocommerce-mercadopago-es_VE.po +++ b/i18n/languages/woocommerce-mercadopago-es_VE.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:27-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-24 18:02-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -453,6 +453,26 @@ msgstr "Visitar mi tienda" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,
trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "¿Tienes alguna duda?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentación" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulario de contacto." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox" @@ -1231,6 +1251,18 @@ msgstr "Pago aprobado." msgid "discount of" msgstr "descuento de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Valorar el plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Servicio de envío utilizado por la tienda." diff --git a/i18n/languages/woocommerce-mercadopago-pt_BR.mo b/i18n/languages/woocommerce-mercadopago-pt_BR.mo index 5b0665e1e..a3e6a403b 100644 Binary files a/i18n/languages/woocommerce-mercadopago-pt_BR.mo and b/i18n/languages/woocommerce-mercadopago-pt_BR.mo differ diff --git a/i18n/languages/woocommerce-mercadopago-pt_BR.po b/i18n/languages/woocommerce-mercadopago-pt_BR.po index 916485e35..74c270f12 100644 --- a/i18n/languages/woocommerce-mercadopago-pt_BR.po +++ b/i18n/languages/woocommerce-mercadopago-pt_BR.po @@ -2,15 +2,15 @@ # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin. msgid "" msgstr "" -"Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n" +"Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n" -"PO-Revision-Date: 2020-10-19 15:27-0300\n" -"X-Generator: Poedit 2.4.1\n" +"PO-Revision-Date: 2020-11-27 11:51-0300\n" +"X-Generator: Poedit 2.4.2\n" "X-Domain: woocommerce-mercadopago\n" "Last-Translator: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" @@ -113,7 +113,7 @@ msgstr "CI" #. Author URI of the plugin msgid "https://developers.mercadopago.com/" -msgstr "https://developers.mercadopago.com.br/" +msgstr "https://developers.mercadopago.com/" #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1168 msgid "Visit your store and simulate a payment to check that everything is fine." @@ -453,6 +453,26 @@ msgstr "Visitar minha loja" msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "Visite sua loja como se você fosse um de seus clientes e verifique se está tudo bem. Se você já foi à Produção,
traga seus clientes e aumente suas vendas com a melhor experiência de compra on-line." +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +msgid "Questions?" +msgstr "Dúvidas?" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "Revise o passo a passo de como integrar o Plugin do Mercado Pago para WooCommerce no nosso site de desenvolvedores." + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171 +msgid "Review documentation" +msgstr "Revisar documentação" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189 +msgid "Still having problems? Contact our support team through their %s" +msgstr "Continua com problemas? Fale com a nossa equipe de suporte pelo %s" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190 +msgid "contact form." +msgstr "formulário de contato." + #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "Tudo configurado? Vá para sua loja no modo Sandbox" @@ -642,7 +662,7 @@ msgstr "Em qual país a sua conta do Mercado Pago opera?" #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462 msgid "approved account" -msgstr "Homologue sua conta" +msgstr "homologue sua conta" #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461 msgid "Credentials are the keys we provide you to integrate quickly
and securely. You must have a %s in Mercado Pago to obtain and collect them
on your website. You do not need to know how to design or program to do it" @@ -1231,6 +1251,18 @@ msgstr "Pagamento aprovado." msgid "discount of" msgstr "desconto de" +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:169 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "você tem um minuto para compartilhar sua experiência com o nosso plugin?" + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:172 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "Sua opinião é muito importante para poder te oferecer a melhor solução de pagamentos possível e continuar melhorando." + +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:181 +msgid "Rate the plugin" +msgstr "Avaliar o plugin" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214 msgid "Shipping service used by the store." msgstr "Serviço de envio usado pela loja." diff --git a/i18n/languages/woocommerce-mercadopago.pot b/i18n/languages/woocommerce-mercadopago.pot index 8d03b608e..81621ae4e 100644 --- a/i18n/languages/woocommerce-mercadopago.pot +++ b/i18n/languages/woocommerce-mercadopago.pot @@ -22,11 +22,11 @@ msgstr "" msgid "Convert Currency" msgstr "" -#: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:332, includes/payments/WC_WooMercadoPago_BasicGateway.php:500, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:573, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:657, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:943, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1050, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1085, includes/payments/WC_WooMercadoPago_TicketGateway.php:276 +#: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:332, includes/payments/WC_WooMercadoPago_BasicGateway.php:505, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:593, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:677, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:963, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1070, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1105, includes/payments/WC_WooMercadoPago_TicketGateway.php:281 msgid "No" msgstr "" -#: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:333, includes/payments/WC_WooMercadoPago_BasicGateway.php:499, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:574, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:658, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:944, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1051, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1084, includes/payments/WC_WooMercadoPago_TicketGateway.php:277 +#: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:333, includes/payments/WC_WooMercadoPago_BasicGateway.php:504, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:594, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:678, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:964, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1071, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1104, includes/payments/WC_WooMercadoPago_TicketGateway.php:282 msgid "Yes" msgstr "" @@ -42,31 +42,31 @@ msgstr "" msgid "Attention: The currency settings you have in WooCommerce are not compatible with the currency you use in your Mercado Pago account. Please activate the currency conversion." msgstr "" -#: includes/module/WC_WooMercadoPago_Configs.php:101 +#: includes/module/WC_WooMercadoPago_Configs.php:103 msgid "Update your credentials with the Access Token and Public Key, you need them to continue receiving payments!" msgstr "" -#: includes/module/WC_WooMercadoPago_Configs.php:111 +#: includes/module/WC_WooMercadoPago_Configs.php:113 msgid "The store should have HTTPS in order to activate both Checkout Personalizado and Ticket Checkout." msgstr "" -#: includes/module/WC_WooMercadoPago_Init.php:38 +#: includes/module/WC_WooMercadoPago_Init.php:37 msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version." msgstr "" -#: includes/module/WC_WooMercadoPago_Init.php:48 +#: includes/module/WC_WooMercadoPago_Init.php:47 msgid "Mercado Pago Error: PHP Extension CURL is not installed." msgstr "" -#: includes/module/WC_WooMercadoPago_Init.php:60 +#: includes/module/WC_WooMercadoPago_Init.php:59 msgid "The Mercado Pago module needs an active version of %s in order to work!" msgstr "" -#: includes/module/WC_WooMercadoPago_Init.php:68 +#: includes/module/WC_WooMercadoPago_Init.php:67 msgid "Cancel order" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:241, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:364 +#: includes/module/WC_WooMercadoPago_Module.php:241, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:363 msgid "Fill in your credentials to enable payment methods." msgstr "" @@ -154,27 +154,27 @@ msgstr "" msgid "for" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:557, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:516 +#: includes/module/WC_WooMercadoPago_Module.php:557, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:536 msgid "Colombia" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:559, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:513 +#: includes/module/WC_WooMercadoPago_Module.php:559, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:533 msgid "Argentina" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:514 +#: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:534 msgid "Brazil" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:515 +#: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:535 msgid "Chile" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:517 +#: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:537 msgid "Mexico" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:519 +#: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:539 msgid "Uruguay" msgstr "" @@ -182,7 +182,7 @@ msgstr "" msgid "Venezuela" msgstr "" -#: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:518 +#: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:538 msgid "Peru" msgstr "" @@ -266,123 +266,123 @@ msgstr "" msgid "Pay with the payment method you prefer" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:241 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:246 msgid "Mercado Pago checkout %s" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:244 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:249 msgid "Accept all method of payment and take your charges to another level" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:248 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:253 msgid "Turn your online store into your customers preferred payment gateway. Choose if the final payment experience will be inside or outside your store." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:265, includes/payments/WC_WooMercadoPago_TicketGateway.php:219 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:270, includes/payments/WC_WooMercadoPago_TicketGateway.php:224 msgid "Configure Mercado Pago for WooCommerce" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:278 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:283 msgid "Enable the experience of the Mercado Pago Checkout in your online store, select the means of payment available to your customers and
define the maximum fees in which they can pay you." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:291 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:296 msgid "Set payment preferences in your store" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:304 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:309 msgid "Advanced settings" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:317 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:322 msgid "Payment experience" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:319 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:324 msgid "Define what payment experience your customers will have, whether inside or outside your store." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:322 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:327 msgid "Redirect" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:323 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:328 msgid "Modal" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:339 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:344 msgid "Choose the URL that we will show your customers when they finish their purchase." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:337, includes/payments/WC_WooMercadoPago_BasicGateway.php:357, includes/payments/WC_WooMercadoPago_BasicGateway.php:378 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:342, includes/payments/WC_WooMercadoPago_BasicGateway.php:362, includes/payments/WC_WooMercadoPago_BasicGateway.php:383 msgid "This seems to be an invalid URL." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:342 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:347 msgid "Success URL" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:359 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:364 msgid "Choose the URL that we will show to your customers when we refuse their purchase. Make sure it includes a message appropriate to the situation and give them useful information so they can solve it." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:362 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:367 msgid "Payment URL rejected" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:380 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:385 msgid "Choose the URL that we will show to your customers when they have a payment pending approval." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:383 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:388 msgid "Payment URL pending" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:463 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:468 msgid "Select offline payments" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:452 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:457 msgid "Select debit cards" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:441 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:446 msgid "Select credit cards" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:470, includes/payments/WC_WooMercadoPago_TicketGateway.php:326 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:475, includes/payments/WC_WooMercadoPago_TicketGateway.php:331 msgid "Payment methods" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:471, includes/payments/WC_WooMercadoPago_TicketGateway.php:327 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:476, includes/payments/WC_WooMercadoPago_TicketGateway.php:332 msgid "Choose the available payment methods in your store." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:474, includes/payments/WC_WooMercadoPago_TicketGateway.php:330 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:479, includes/payments/WC_WooMercadoPago_TicketGateway.php:335 msgid "Activate the available payment methods to your clients." msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:494 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:499 msgid "Return to the store" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:497 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:502 msgid "Do you want your customer to automatically return to the store after payment?" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:526 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:531 msgid "installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:530 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:535 msgid "installment" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:598, includes/payments/WC_WooMercadoPago_BasicGateway.php:598, includes/payments/WC_WooMercadoPago_BasicGateway.php:585, includes/payments/WC_WooMercadoPago_BasicGateway.php:585, includes/payments/WC_WooMercadoPago_CustomGateway.php:347, includes/payments/WC_WooMercadoPago_CustomGateway.php:347, includes/payments/WC_WooMercadoPago_CustomGateway.php:335, includes/payments/WC_WooMercadoPago_CustomGateway.php:335, includes/payments/WC_WooMercadoPago_TicketGateway.php:446, includes/payments/WC_WooMercadoPago_TicketGateway.php:446, includes/payments/WC_WooMercadoPago_TicketGateway.php:433, includes/payments/WC_WooMercadoPago_TicketGateway.php:433, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:100, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:98 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:603, includes/payments/WC_WooMercadoPago_BasicGateway.php:603, includes/payments/WC_WooMercadoPago_BasicGateway.php:590, includes/payments/WC_WooMercadoPago_BasicGateway.php:590, includes/payments/WC_WooMercadoPago_CustomGateway.php:352, includes/payments/WC_WooMercadoPago_CustomGateway.php:352, includes/payments/WC_WooMercadoPago_CustomGateway.php:340, includes/payments/WC_WooMercadoPago_CustomGateway.php:340, includes/payments/WC_WooMercadoPago_TicketGateway.php:451, includes/payments/WC_WooMercadoPago_TicketGateway.php:451, includes/payments/WC_WooMercadoPago_TicketGateway.php:438, includes/payments/WC_WooMercadoPago_TicketGateway.php:438, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:100, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:98 msgid "discount of" msgstr "" -#: includes/payments/WC_WooMercadoPago_BasicGateway.php:603, includes/payments/WC_WooMercadoPago_BasicGateway.php:603, includes/payments/WC_WooMercadoPago_BasicGateway.php:590, includes/payments/WC_WooMercadoPago_BasicGateway.php:590, includes/payments/WC_WooMercadoPago_CustomGateway.php:352, includes/payments/WC_WooMercadoPago_CustomGateway.php:352, includes/payments/WC_WooMercadoPago_CustomGateway.php:340, includes/payments/WC_WooMercadoPago_CustomGateway.php:340, includes/payments/WC_WooMercadoPago_TicketGateway.php:451, includes/payments/WC_WooMercadoPago_TicketGateway.php:451, includes/payments/WC_WooMercadoPago_TicketGateway.php:438, includes/payments/WC_WooMercadoPago_TicketGateway.php:438, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:102 +#: includes/payments/WC_WooMercadoPago_BasicGateway.php:608, includes/payments/WC_WooMercadoPago_BasicGateway.php:608, includes/payments/WC_WooMercadoPago_BasicGateway.php:595, includes/payments/WC_WooMercadoPago_BasicGateway.php:595, includes/payments/WC_WooMercadoPago_CustomGateway.php:357, includes/payments/WC_WooMercadoPago_CustomGateway.php:357, includes/payments/WC_WooMercadoPago_CustomGateway.php:345, includes/payments/WC_WooMercadoPago_CustomGateway.php:345, includes/payments/WC_WooMercadoPago_TicketGateway.php:456, includes/payments/WC_WooMercadoPago_TicketGateway.php:456, includes/payments/WC_WooMercadoPago_TicketGateway.php:443, includes/payments/WC_WooMercadoPago_TicketGateway.php:443, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:102 msgid "fee of" msgstr "" @@ -398,455 +398,475 @@ msgstr "" msgid "Pay with debit and credit cards" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:158 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:163 msgid "Checkout of payments with debit and credit cards %s" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:161 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:166 msgid "Accept payments instantly and maximize the conversion of your business" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:165 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:170 msgid "Turn your online store into a secure and easy-to-use payment gateway for your customers. With personalized checkout your customers pay without leaving your store!" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:182 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:187 msgid "Set up the payment experience in your store" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:195 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:200 msgid "Configure the personalized payment experience in your store" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:208 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:213 msgid "Advanced configuration of the personalized payment experience\"" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:223 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:228 msgid "That’s it, payment accepted!" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:225 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:230 msgid "We are processing your payment. In less than an hour we will send you the result by email." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:227 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:232 msgid "We are processing your payment. In less than 2 days we will send you by email if the payment has been approved or if additional information is needed." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:229 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:234 msgid "Check the card number." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:231 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:236 msgid "Check the expiration date." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:233 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:238 msgid "Check the information provided." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:235, templates/checkout/custom_checkout.php:107, templates/checkout/custom_checkout.php:108 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:240, templates/checkout/custom_checkout.php:107, templates/checkout/custom_checkout.php:108 msgid "Check the informed security code." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:237, includes/payments/WC_WooMercadoPago_CustomGateway.php:243 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:242, includes/payments/WC_WooMercadoPago_CustomGateway.php:248 msgid "Your payment cannot be processed." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:239 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:244 msgid "You must authorize payments for your orders." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:241 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:246 msgid "Contact your card issuer to activate it. The phone is on the back of your card." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:245 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:250 msgid "You have already made a payment of this amount. If you have to pay again, use another card or other method of payment." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:247 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:252 msgid "Your payment was declined. Please select another payment method. It is recommended in cash." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:249 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:254 msgid "Your payment does not have sufficient funds." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:251 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:256 msgid "Payment cannot process the selected fee." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:253 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:258 msgid "You have reached the limit of allowed attempts. Choose another card or other payment method." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:255, includes/payments/WC_WooMercadoPago_CustomGateway.php:257, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:64 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:260, includes/payments/WC_WooMercadoPago_CustomGateway.php:262, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:64 msgid "This payment method cannot process your payment." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:446 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:451 msgid "A problem was occurred when processing your payment. Please, try again." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:437 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:442 msgid "A problem was occurred when processing your payment. Are you sure you have correctly filled all information in the checkout form?" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:398 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:403 msgid "See your order form" msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:410 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:415 msgid "Your payment was declined. You can try again." msgstr "" -#: includes/payments/WC_WooMercadoPago_CustomGateway.php:415, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83 +#: includes/payments/WC_WooMercadoPago_CustomGateway.php:420, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83 msgid "Click to try again" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:282 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:298 msgid "%s, it only takes a few minutes" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:282 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:298 msgid "Approve your account" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:359 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:379 msgid "Title" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:374 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:394 msgid "Description" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:409 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:429 msgid "Follow these steps to activate Mercado Pago in your store:" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:414 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:434 msgid "Upload your credentials depending on the country in which you are registered." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:421 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:441 msgid "Approve your account to be able to charge." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:428 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:448 msgid "Add the basic information of your business in the plugin configuration." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:435 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:455 msgid "Configure the payment preferences for your customers." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:442 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462 msgid "Go to advanced settings only when you want to change the presets." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:481 msgid "Credentials are the keys we provide you to integrate quickly
and securely. You must have a %s in Mercado Pago to obtain and collect them
on your website. You do not need to know how to design or program to do it" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:482 msgid "approved account" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:479 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:499 msgid "In which country does your Mercado Pago account operate?" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:508 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:528 msgid "Select your country" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:510 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:530 msgid "Select the country in which you operate with Mercado Pago" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:546, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:550 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:566, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:570 msgid "Save Changes" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:568 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:588 msgid "Activate checkout" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:571 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:591 msgid "Activate the Mercado Pago experience at the checkout of your store." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:586 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:606 msgid "Enter your credentials and choose how to operate" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:599 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:619 msgid "Test Mode" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:612 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:632 msgid "By default, we activate the Sandbox test environment for you to test before you start selling." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:625 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:645 msgid "Production Mode" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:638 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:658 msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:652 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:672 msgid "Production" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:654 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:674 msgid "Choose “Yes” only when you’re ready to sell. Switch to “No” to activate Testing mode." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:676 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:696 msgid "Load credentials" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:680 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:700 msgid "Search my credentials" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:699 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:719 msgid "Test credentials" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:711 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:731 msgid "With these keys you can do the tests you want.." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:724, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:781 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:744, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:801 msgid "Public key" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:740, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:798 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:760, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:818 msgid "Access token" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:756 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:776 msgid "Production credentials" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:768 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:788 msgid "With these keys you can receive real payments from your customers." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:815 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:835 msgid "Approve your account, it will only take a few minutes" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:828 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:848 msgid "Complete this process to secure your customers data and comply with the regulations
and legal provisions of each country." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:842, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1186 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:862, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1268 msgid "%s" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:843 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:863 msgid "Homologate account in Mercado Pago" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:857 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:877 msgid "Store name" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:859 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:879 msgid "This name will appear on your customers invoice." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:860 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:880 msgid "Mercado Pago" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:876 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:896 msgid "Store Category" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:878 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:898 msgid "What category do your products belong to? Choose the one that best characterizes them (choose \"other\" if your product is too specific)." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:879 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:899 msgid "Categories" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:891 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:911 msgid "Store ID" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:893 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:913 msgid "Use a number or prefix to identify orders and payments from this store." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:906 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:926 msgid "Integrator ID" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:909 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:929 msgid "Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:910 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:930 msgid "request it now." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:924 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:944 msgid "Advanced adjustment" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:937 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:957 msgid "Debug and Log mode" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:940 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:960 msgid "Record your store actions in our changes file to have more support information." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:941 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:961 msgid "We debug the information in our change file." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:956 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:976 msgid "Basic Configuration" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:969 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:989 msgid "Max of installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:971 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:991 msgid "What is the maximum quota with which a customer can buy?" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:974 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:994 msgid "1x installment" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:975 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:995 msgid "2x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:976 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:996 msgid "3x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:977 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:997 msgid "4x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:978 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:998 msgid "5x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:979 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:999 msgid "6x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:980 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1000 msgid "10x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:981 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1001 msgid "12x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:982 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1002 msgid "15x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:983 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1003 msgid "18x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:984 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1004 msgid "24x installments" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1013 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1033 msgid "URL for IPN" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1016 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1036 msgid "Enter a URL to receive payment notifications. In %s you can check more information." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1017 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1037 msgid "our guides" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1032 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1052 msgid "Edit these advanced fields only when you want to modify the preset values." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1045 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1065 msgid "Discount coupons" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1048 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1068 msgid "Will you offer discount coupons to customers who buy with Mercado Pago?" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1063 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1083 msgid "It appears that your credentials are not properly configured.
Please, go to %s and configure it." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1064 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1084 msgid "Market Payment Configuration" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1078 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1098 msgid "Binary mode" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1081 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1101 msgid "Accept and reject payments automatically. Do you want us to activate it?" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1097 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1117 msgid "Discounts per purchase with Mercado Pago" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1099 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1119 msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1116 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1136 msgid "Commission for purchase with Mercado Pago" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1118 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1138 msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1159 +msgid "Questions?" +msgstr "" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1173 +msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website." +msgstr "" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1187 +msgid "Review documentation" +msgstr "" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1205 +msgid "Still having problems? Contact our support team through their %s" +msgstr "" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1206 +msgid "contact form." +msgstr "" + +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1225 msgid "Everything set up? Go to your store in Sandbox mode" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1141 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1223 msgid "Everything ready for the takeoff of your sales?" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1162 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1244 msgid "Visit your store and simulate a payment to check that everything is fine." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1160 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1242 msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,
bring your customers and increase your sales with the best online shopping experience." msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1181 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1263 msgid "I want to test my sales" msgstr "" -#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1179 +#: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1261 msgid "Visit my store" msgstr "" @@ -858,71 +878,71 @@ msgstr "" msgid "Pay with cash" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:195 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:200 msgid "Checkout of payments with cash %s" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:198 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:203 msgid "Accept face-to-face payments, do not leave anyone out!" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:202 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:207 msgid "Include this preferred purchase option by some customers." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:232 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:237 msgid "Enable Mercado Pago for cash payments in your store and
select the options available to your customers." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:245 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:250 msgid "Set payment preferences with cash" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:258 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:263 msgid "Advanced configuration of the cash payment experience" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:271 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:276 msgid "Reduce inventory" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:274 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:279 msgid "Activates inventory reduction during the creation of an order, whether or not the final payment is credited. Disable this option to reduce it only when payments are approved." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:288 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:293 msgid "Payment Due" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:290 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:295 msgid "In how many days will cash payments expire." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:319 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:324 msgid "All payment methods" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:468, includes/payments/WC_WooMercadoPago_TicketGateway.php:486 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:473, includes/payments/WC_WooMercadoPago_TicketGateway.php:491 msgid "There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:555 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:560 msgid "A problem occurred when processing your payment. Please try again." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:541 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:546 msgid "A problem occurred when processing your payment. Are you sure you have correctly filled in all the information on the checkout form?" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:518 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:523 msgid "The customer has not paid yet." msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:523 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:528 msgid "To print the ticket again click" msgstr "" -#: includes/payments/WC_WooMercadoPago_TicketGateway.php:526 +#: includes/payments/WC_WooMercadoPago_TicketGateway.php:531 msgid "here" msgstr "" @@ -1141,22 +1161,34 @@ msgstr "" msgid "Select the issuer with whom you want to process the payment" msgstr "" -#: includes/admin/notices/WC_WooMercadoPago_Notices.php:80, includes/admin/notices/WC_WooMercadoPago_Notices.php:135 +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:88, includes/admin/notices/WC_WooMercadoPago_Notices.php:143, includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:120 msgid "Discard" msgstr "" -#: includes/admin/notices/WC_WooMercadoPago_Notices.php:111 +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:119 msgid "See WooCommerce" msgstr "" -#: includes/admin/notices/WC_WooMercadoPago_Notices.php:109 +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:117 msgid "Install WooCommerce" msgstr "" -#: includes/admin/notices/WC_WooMercadoPago_Notices.php:106 +#: includes/admin/notices/WC_WooMercadoPago_Notices.php:114 msgid "Activate WooCommerce" msgstr "" +#: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:103 +msgid "do you have a minute to share your experience with our plugin?" +msgstr "" + +#: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:106 +msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve." +msgstr "" + +#: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:115 +msgid "Rate the plugin" +msgstr "" + #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:225 msgid "Shipping service used by the store." msgstr "" @@ -1173,19 +1205,19 @@ msgstr "" msgid " and fee of" msgstr "" -#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:324 +#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:323 msgid "Public Key production credential is invalid. Review the field to receive real payments." msgstr "" -#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:334 +#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:333 msgid "Public Key test credential is invalid. Review the field to perform tests in your store." msgstr "" -#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:344 +#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:343 msgid "Access Token production credential is invalid. Remember that it must be complete to receive real payments." msgstr "" -#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:354 +#: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:353 msgid "Access Token test credential is invalid. Review the field to perform tests in your store." msgstr "" diff --git a/includes/admin/notices/WC_WooMercadoPago_Notices.php b/includes/admin/notices/WC_WooMercadoPago_Notices.php index 3adb8ce8e..821b7917c 100644 --- a/includes/admin/notices/WC_WooMercadoPago_Notices.php +++ b/includes/admin/notices/WC_WooMercadoPago_Notices.php @@ -25,10 +25,10 @@ private function __construct() } /** - * @return WC_WooMercadoPago_Module|null + * @return WC_WooMercadoPago_Notices|null * Singleton */ - public static function initMercadopagoNnotice() + public static function initMercadopagoNotice() { if (self::$instance === null) { self::$instance = new self; @@ -37,12 +37,20 @@ public static function initMercadopagoNnotice() } /** - * + * Get sufix to static files + */ + public function getSufix() + { + return defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; + } + + /** + * Load admin notices CSS */ public function loadAdminNoticeCss() { if (is_admin()) { - $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; + $suffix = $this->getSufix(); wp_enqueue_style( 'woocommerce-mercadopago-admin-notice', diff --git a/includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php b/includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php new file mode 100644 index 000000000..a1ddda506 --- /dev/null +++ b/includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php @@ -0,0 +1,144 @@ +getSufix(); + + wp_enqueue_style( + 'woocommerce-mercadopago-admin-notice', + plugins_url('../../assets/css/admin_notice_mercadopago' . $suffix . '.css', plugin_dir_path(__FILE__)) + ); + } + } + + /** + * Load admin notices JS + */ + public function loadAdminNoticeJs() + { + if (is_admin()) { + $suffix = $this->getSufix(); + + wp_enqueue_script( + 'woocommerce-mercadopago-admin-notice-review', + plugins_url('../../assets/js/review'.$suffix.'.js', plugin_dir_path(__FILE__)), + array(), + WC_WooMercadoPago_Constants::VERSION + ); + } + } + + /** + * @return string + */ + public static function getPluginReviewBanner() + { + $inline = null; + if ( + (class_exists('WC_WooMercadoPago_Module') && WC_WooMercadoPago_Module::isWcNewVersion()) && + (isset($_GET['page']) && $_GET['page'] == "wc-settings") + ) { + $inline = "inline"; + } + + $notice = '
+
+
+
+ +
+
+

' . + wp_get_current_user()->user_login . ', ' . + __('do you have a minute to share your experience with our plugin?', 'woocommerce-mercadopago') . + '

+

' . + __('Your opinion is very important so that we can offer you the best possible payment solution and continue to improve.', 'woocommerce-mercadopago') . + '

+
+
+ + + +
+
'; + + if (class_exists('WC_WooMercadoPago_Module')) { + WC_WooMercadoPago_Module::$notices[] = $notice; + } + + return $notice; + } + + /** + * Dismiss the review admin notice + */ + public function reviewDismiss() { + $dismissedReview = (int) get_option('_mp_dismiss_review', 0); + + if ($dismissedReview == 0) { + update_option('_mp_dismiss_review', 1, true); + } + + wp_send_json_success(); + } +} diff --git a/includes/module/WC_WooMercadoPago_Configs.php b/includes/module/WC_WooMercadoPago_Configs.php index 1e2b3c883..13c29f794 100755 --- a/includes/module/WC_WooMercadoPago_Configs.php +++ b/includes/module/WC_WooMercadoPago_Configs.php @@ -1,7 +1,7 @@ id, $pagesToShow, true) || $dismissedReview != 0) { + return false; + } + + echo WC_WooMercadoPago_ReviewNotice::getPluginReviewBanner(); + } + /** * UpdateToken */ @@ -224,25 +238,25 @@ public function getCategories() { return array( 'store_categories_id' => - [ - "art", "baby", "coupons", "donations", "computing", "cameras", "video games", "television", - "car electronics", "electronics", "automotive", "entertainment", "fashion", "games", "home", - "musical", "phones", "services", "learnings", "tickets", "travels", "virtual goods", "others" - ], + [ + "art", "baby", "coupons", "donations", "computing", "cameras", "video games", "television", + "car electronics", "electronics", "automotive", "entertainment", "fashion", "games", "home", + "musical", "phones", "services", "learnings", "tickets", "travels", "virtual goods", "others" + ], 'store_categories_description' => - [ - "Collectibles & Art", "Toys for Baby, Stroller, Stroller Accessories, Car Safety Seats", "Coupons", - "Donations", "Computers & Tablets", "Cameras & Photography", "Video Games & Consoles", - "LCD, LED, Smart TV, Plasmas, TVs", "Car Audio, Car Alarm Systems & Security, Car DVRs, Car Video Players, Car PC", - "Audio & Surveillance, Video & GPS, Others", "Parts & Accessories", "Music, Movies & Series, Books, Magazines & Comics, Board Games & Toys", - "Men's, Women's, Kids & baby, Handbags & Accessories, Health & Beauty, Shoes, Jewelry & Watches", - "Online Games & Credits", "Home appliances. Home & Garden", "Instruments & Gear", - "Cell Phones & Accessories", "General services", "Trainings, Conferences, Workshops", - "Tickets for Concerts, Sports, Arts, Theater, Family, Excursions tickets, Events & more", - "Plane tickets, Hotel vouchers, Travel vouchers", - "E-books, Music Files, Software, Digital Images, PDF Files and any item which can be electronically stored in a file, Mobile Recharge, DTH Recharge and any Online Recharge", - "Other categories" - ] + [ + "Collectibles & Art", "Toys for Baby, Stroller, Stroller Accessories, Car Safety Seats", "Coupons", + "Donations", "Computers & Tablets", "Cameras & Photography", "Video Games & Consoles", + "LCD, LED, Smart TV, Plasmas, TVs", "Car Audio, Car Alarm Systems & Security, Car DVRs, Car Video Players, Car PC", + "Audio & Surveillance, Video & GPS, Others", "Parts & Accessories", "Music, Movies & Series, Books, Magazines & Comics, Board Games & Toys", + "Men's, Women's, Kids & baby, Handbags & Accessories, Health & Beauty, Shoes, Jewelry & Watches", + "Online Games & Credits", "Home appliances. Home & Garden", "Instruments & Gear", + "Cell Phones & Accessories", "General services", "Trainings, Conferences, Workshops", + "Tickets for Concerts, Sports, Arts, Theater, Family, Excursions tickets, Events & more", + "Plane tickets, Hotel vouchers, Travel vouchers", + "E-books, Music Files, Software, Digital Images, PDF Files and any item which can be electronically stored in a file, Mobile Recharge, DTH Recharge and any Online Recharge", + "Other categories" + ] ); } @@ -252,20 +266,18 @@ public function getCategories() */ public function setPaymentGateway($methods = null) { - $mp_methods = array('WC_WooMercadoPago_BasicGateway', - 'WC_WooMercadoPago_CustomGateway', - 'WC_WooMercadoPago_TicketGateway'); - global $wp; if (!empty($wp) && isset($wp->query_vars['wc-api'])) { $api_request = wc_clean($wp->query_vars['wc-api']); - if (!empty($api_request) && in_array($api_request, $mp_methods)) { + if (!empty($api_request) && in_array($api_request, ['WC_WooMercadoPago_BasicGateway', 'WC_WooMercadoPago_CustomGateway', 'WC_WooMercadoPago_TicketGateway'])) { $methods[] = $api_request; - return $methods; } + return $methods; } - $methods = array_merge($mp_methods, $methods == null ? [] : $methods); + $methods[] = 'WC_WooMercadoPago_BasicGateway'; + $methods[] = 'WC_WooMercadoPago_CustomGateway'; + $methods[] = 'WC_WooMercadoPago_TicketGateway'; return $methods; } } diff --git a/includes/module/WC_WooMercadoPago_Init.php b/includes/module/WC_WooMercadoPago_Init.php index c4278a0d0..b9db77a03 100644 --- a/includes/module/WC_WooMercadoPago_Init.php +++ b/includes/module/WC_WooMercadoPago_Init.php @@ -6,7 +6,6 @@ class WC_WooMercadoPago_Init { - /** * Load plugin text domain. * @@ -85,12 +84,25 @@ public static function mp_show_admin_notices() } } - public static function woocommerce_mercadopago_init() + /** + * Activation plugin hook + */ + public static function mercadopago_plugin_activation() { + $dismissedReview = (int) get_option('_mp_dismiss_review'); + if (!isset($dismissedReview) || $dismissedReview == 1) { + update_option('_mp_dismiss_review', 0, true); + } + } + /** + * Init the plugin + */ + public static function woocommerce_mercadopago_init() + { self::woocommerce_mercadopago_load_plugin_textdomain(); require_once dirname(__FILE__) . '../../admin/notices/WC_WooMercadoPago_Notices.php'; - WC_WooMercadoPago_Notices::initMercadopagoNnotice(); + WC_WooMercadoPago_Notices::initMercadopagoNotice(); // Check for PHP version and throw notice. if (version_compare(PHP_VERSION, '5.6', '<=')) { @@ -114,8 +126,10 @@ public static function woocommerce_mercadopago_init() require_once dirname(__FILE__) . '/log/WC_WooMercadoPago_Log.php'; require_once dirname(__FILE__) . '/WC_WooMercadoPago_Module.php'; require_once dirname(__FILE__) . '/WC_WooMercadoPago_Credentials.php'; + require_once dirname(__FILE__) . '../../admin/notices/WC_WooMercadoPago_ReviewNotice.php'; WC_WooMercadoPago_Module::init_mercado_pago_class(); + WC_WooMercadoPago_ReviewNotice::initMercadopagoReviewNotice(); add_action('woocommerce_order_actions', array(__CLASS__, 'add_mp_order_meta_box_actions')); } else { diff --git a/includes/module/config/WC_WooMercadoPago_Constants.php b/includes/module/config/WC_WooMercadoPago_Constants.php index 520a26511..7ad7f5924 100644 --- a/includes/module/config/WC_WooMercadoPago_Constants.php +++ b/includes/module/config/WC_WooMercadoPago_Constants.php @@ -12,7 +12,7 @@ class WC_WooMercadoPago_Constants const PRODUCT_ID_DESKTOP = 'BT7OF5FEOO6G01NJK3QG'; const PRODUCT_ID_MOBILE = 'BT7OFH09QS3001K5A0H0'; const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0'; - const VERSION = '4.5.0'; + const VERSION = '4.6.0'; const MIN_PHP = 5.6; const API_MP_BASE_URL = 'https://api.mercadopago.com'; } diff --git a/includes/payments/WC_WooMercadoPago_BasicGateway.php b/includes/payments/WC_WooMercadoPago_BasicGateway.php index 27ee35012..b320f2c31 100755 --- a/includes/payments/WC_WooMercadoPago_BasicGateway.php +++ b/includes/payments/WC_WooMercadoPago_BasicGateway.php @@ -169,6 +169,11 @@ public function get_fields_sequence() 'binary_mode', 'gateway_discount', 'commission', + // Support session + 'checkout_support_title', + 'checkout_support_description', + 'checkout_support_description_link', + 'checkout_support_problem', // Everything ready for the takeoff of your sales? 'checkout_ready_title', 'checkout_ready_description', diff --git a/includes/payments/WC_WooMercadoPago_CustomGateway.php b/includes/payments/WC_WooMercadoPago_CustomGateway.php index d1fee1fcb..e47225355 100755 --- a/includes/payments/WC_WooMercadoPago_CustomGateway.php +++ b/includes/payments/WC_WooMercadoPago_CustomGateway.php @@ -141,6 +141,11 @@ public function get_fields_sequence() 'binary_mode', 'gateway_discount', 'commission', + // Support session + 'checkout_support_title', + 'checkout_support_description', + 'checkout_support_description_link', + 'checkout_support_problem', // Everything ready for the takeoff of your sales? 'checkout_ready_title', 'checkout_ready_description', @@ -305,7 +310,7 @@ public function payment_fields() 'public_key' => $this->getPublicKey(), 'coupon_mode' => isset($this->logged_user_email) ? $this->coupon_mode : 'no', 'discount_action_url' => $this->discount_action_url, - 'payer_email' => $this->logged_user_email, + 'payer_email' => esc_js($this->logged_user_email), 'images_path' => plugins_url('../assets/images/', plugin_dir_path(__FILE__)), 'currency_ratio' => $currency_ratio, 'woocommerce_currency' => get_woocommerce_currency(), diff --git a/includes/payments/WC_WooMercadoPago_PaymentAbstract.php b/includes/payments/WC_WooMercadoPago_PaymentAbstract.php index cc7764069..c82bf31a0 100755 --- a/includes/payments/WC_WooMercadoPago_PaymentAbstract.php +++ b/includes/payments/WC_WooMercadoPago_PaymentAbstract.php @@ -32,6 +32,12 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway '_mp_access_token_prod' ); + const ALLOWED_CLASSES = [ + 'wc_woomercadopago_basicgateway', + 'wc_woomercadopago_customgateway', + 'wc_woomercadopago_ticketgateway' + ]; + public $field_forms_order; public $id; public $method_title; @@ -206,7 +212,14 @@ public function normalizeCommonAdminFields() */ public function validateSection() { - if (isset($_GET['section']) && !empty($_GET['section']) && ($this->id != $_GET['section'])) { + if ( + isset($_GET['section']) + && !empty($_GET['section']) + && ( + $this->id !== $_GET['section']) + && !in_array($_GET['section'], self::ALLOWED_CLASSES) + ) + { return false; } @@ -218,7 +231,10 @@ public function validateSection() */ public function isManageSection() { - if (!isset($_GET['section']) || ($this->id !== $_GET['section'])) { + if (!isset($_GET['section']) || ( + $this->id !== $_GET['section']) + && !in_array($_GET['section'], self::ALLOWED_CLASSES) + ) { return false; } @@ -336,6 +352,10 @@ public function getFormFields($label) $form_fields['gateway_discount'] = $this->field_gateway_discount(); $form_fields['commission'] = $this->field_commission(); $form_fields['checkout_payments_advanced_description'] = $this->field_checkout_payments_advanced_description(); + $form_fields['checkout_support_title'] = $this->field_checkout_support_title(); + $form_fields['checkout_support_description'] = $this->field_checkout_support_description(); + $form_fields['checkout_support_description_link'] = $this->field_checkout_support_description_link(); + $form_fields['checkout_support_problem'] = $this->field_checkout_support_problem(); $form_fields['checkout_ready_title'] = $this->field_checkout_ready_title(); $form_fields['checkout_ready_description'] = $this->field_checkout_ready_description(); $form_fields['checkout_ready_description_link'] = $this->field_checkout_ready_description_link(); @@ -1131,6 +1151,68 @@ public function field_currency_conversion(WC_WooMercadoPago_PaymentAbstract $met return WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->getField($method); } + /** + * @return array + */ + public function field_checkout_support_title() + { + $message_support_title = __('Questions?', 'woocommerce-mercadopago'); + $checkout_options_title = array( + 'title' => $message_support_title, + 'type' => 'title', + 'class' => 'mp_subtitle_bd_mb mp-mg-0' + ); + return $checkout_options_title; + } + + /** + * @return array + */ + public function field_checkout_support_description() + { + $message_support_description = __('Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website.', 'woocommerce-mercadopago'); + $checkout_options_subtitle = array( + 'title' => $message_support_description, + 'type' => 'title', + 'class' => 'mp_small_text' + ); + return $checkout_options_subtitle; + } + + /** + * @return array + */ + public function field_checkout_support_description_link() + { + $message_link = __('Review documentation', 'woocommerce-mercadopago'); + $checkout_options_subtitle = array( + 'title' => sprintf( + __('%s', 'woocommerce-mercadopago'), + '' . $message_link . '' + ), + 'type' => 'title', + 'class' => 'mp_tienda_link' + ); + return $checkout_options_subtitle; + } + + /** + * @return array + */ + public function field_checkout_support_problem() + { + $message_support_problem = sprintf( + __('Still having problems? Contact our support team through their %s', 'woocommerce-mercadopago'), + '' . __('contact form.', 'woocommerce-mercadopago') . '' + ); + $checkout_options_title = array( + 'title' => $message_support_problem, + 'type' => 'title', + 'class' => 'mp-text-support' + ); + return $checkout_options_title; + } + /** * @return array */ diff --git a/includes/payments/WC_WooMercadoPago_TicketGateway.php b/includes/payments/WC_WooMercadoPago_TicketGateway.php index 9c44f3a46..a0f27c553 100755 --- a/includes/payments/WC_WooMercadoPago_TicketGateway.php +++ b/includes/payments/WC_WooMercadoPago_TicketGateway.php @@ -154,6 +154,11 @@ public function get_fields_sequence() 'stock_reduce_mode', 'gateway_discount', 'commission', + // Support session + 'checkout_support_title', + 'checkout_support_description', + 'checkout_support_description_link', + 'checkout_support_problem', // Everything ready for the takeoff of your sales? 'checkout_ready_title', 'checkout_ready_description', @@ -384,20 +389,20 @@ public function payment_fields() 'site_id' => $this->getOption('_site_id_v1'), 'coupon_mode' => isset($logged_user_email) ? $this->coupon_mode : 'no', 'discount_action_url' => $this->discount_action_url, - 'payer_email' => $logged_user_email, + 'payer_email' => esc_js($logged_user_email), 'currency_ratio' => $currency_ratio, 'woocommerce_currency' => get_woocommerce_currency(), 'account_currency' => $this->site_data['currency'], 'febraban' => (wp_get_current_user()->ID != 0) ? array( - 'firstname' => wp_get_current_user()->user_firstname, - 'lastname' => wp_get_current_user()->user_lastname, + 'firstname' => esc_js(wp_get_current_user()->user_firstname), + 'lastname' => esc_js(wp_get_current_user()->user_lastname), 'docNumber' => '', - 'address' => $address, + 'address' => esc_js($address), 'number' => '', - 'city' => get_user_meta(wp_get_current_user()->ID, 'billing_city', true), - 'state' => get_user_meta(wp_get_current_user()->ID, 'billing_state', true), - 'zipcode' => get_user_meta(wp_get_current_user()->ID, 'billing_postcode', true) + 'city' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_city', true)), + 'state' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_state', true)), + 'zipcode' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_postcode', true)) ) : array( 'firstname' => '', diff --git a/includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php b/includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php index cfea20cbb..b367ffb3b 100755 --- a/includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php +++ b/includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php @@ -109,7 +109,7 @@ public function get_payment_method_title($title, $id) */ public function add_mp_settings_script() { - if (!empty($this->publicKey) && !$this->testUser) { + if (!empty($this->publicKey) && !$this->testUser && isset(WC()->payment_gateways)) { $woo = WC_WooMercadoPago_Module::woocommerce_instance(); $gateways = $woo->payment_gateways->get_available_payment_gateways(); @@ -173,7 +173,6 @@ public function custom_process_admin_options() } update_option($key, $value, true); } - $value = $this->payment->get_field_value($key, $field, $post_data); $this->payment->settings[$key] = $value; } diff --git a/includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php b/includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php index b4494eb24..dcb466223 100644 --- a/includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php +++ b/includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php @@ -76,7 +76,7 @@ public function add_checkout_scripts_custom() 'public_key' => $this->payment->getPublicKey(), 'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no', 'discount_action_url' => $this->payment->discount_action_url, - 'payer_email' => $this->payment->logged_user_email, + 'payer_email' => esc_js($this->payment->logged_user_email), 'apply' => __('Apply', 'woocommerce-mercadopago'), 'remove' => __('Remove', 'woocommerce-mercadopago'), 'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'), diff --git a/includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php b/includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php index 042ab720b..995cfb67e 100644 --- a/includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php +++ b/includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php @@ -78,7 +78,7 @@ public function add_checkout_scripts_ticket() 'site_id' => $this->payment->getOption('_site_id_v1'), 'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no', 'discount_action_url' => $this->payment->discount_action_url, - 'payer_email' => $this->payment->logged_user_email, + 'payer_email' => esc_js($this->payment->logged_user_email), 'apply' => __('Apply', 'woocommerce-mercadopago'), 'remove' => __('Remove', 'woocommerce-mercadopago'), 'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'), diff --git a/readme.txt b/readme.txt index 512c4bdf5..0d4012e00 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce Requires at least: 4.9.10 Tested up to: 5.5 Requires PHP: 5.6 -Stable tag: 4.5.0 +Stable tag: 4.6.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -12,61 +12,62 @@ Offer to your clients the best experience in e-Commerce by using Mercado Pago as == Description == -Mercado Pago leads the technological transformation of finance in Latin America and develops tools to take its collections to another level. Integrate a payment avenue in your website with our official WooCommerce plugin. With out checkout options you can offer the payment methods that everyone prefers, with the best possible financing: purchases in up to 24 installments, credit and debit cards, in-person payments and money in the Mercado Pago account. +The official Mercado Pago plugin allows you to process payments for your online store, allowing users to finalize their purchase with their preferred payment method. -= Why choose Mercado Pago? = +To install it, **you don't need to have technical knowledge:** you can follow the [step by step of how to integrate it](https://www.mercadopago.com.ar/developers/es/guides/plugins/woocommerce/introduction/). from our developer website and start selling today. -We operate in Argentina, Brazil, Mexico, Peru, Chile, Uruguay and Colombia with businesses of all sizes. They choose us, from entrepreneurs who are just beginning to consolidated big brands in the market. +### What to do with the Mercado Pago Plugin? +* Activate **Checkout Pro** to offer logged-in payments with money in Mercado Pago account, saved cards and off means. +* Offer payments without the need of having a Mercado Pago account, through the **Custom Checkout** for cards and off means (cash or bank transfer). +* Automatically convert the currency of your products: from Mexican pesos to U.S. dollars and vice versa. +* Sell in **installments** and offer the current promotions in Checkout Pro or apply your own discount coupon in Custom Checkout. +* Test your store before going into production with our Sandbox environment. +* **Receive the money** from your sales on the same day. +* **IMPORTANT:** At the moment the Mercado Envíos service is deactivated. -We process more than 6 million transactions with Visa and Mastercard cards every year and we do so protecting your money, always. Accept payments with the most used cards and offer installments with the best possible financing. With our ready-to-use solutions, going further is in your hands. +### Adapted to your business -You can trust us as you trust a strategic partner. Use the money from your sales once it is available in your Mercado Pago account, with our prepaid card, or withdraw it to your bank at no additional cost. View our fees and have the money from your sales instantly. +Prepared for any type of store and category: electronics, clothing, kitchen, bazaar, whatever you want! +Just focus on selling and **we'll take care of the security:** keep your store's payments protected with our fraud prevention and analysis tool. -= Main Functionalities of Mercado Pago = -* Processing via IPN / Webhook online and in real time; -* High approval rates thanks to a robust fraud analysis; -* Potential clients: more than 120 million users in Latin America trust us; -* Sandbox test environment; -* Log and debug options; -* PCI level 1 Certification; -* Accept the payment methods everyone prefers; -* Installment payments; -* Payments in advance from 2 to 14 business days, according to our Terms and Conditions; -* One-click payments with the basic and personalized Mercado Pago checkouts; -* Payments via tickets (Boletos); -* Seller Protection Program. - -= Compatibility = -- WooCommerce 3.0 or higher. +Boost your sales with Mercado Pago payments for WooCommerce! == Screenshots == -1. `High approval rates.` -2. `Your money available instantly.` -3. `All payment methods.` -4. `You do not need to write a single line of code to receive payments.` -5. `01 Create an account in Mercado Pago.` -6. `02 Activate the module in your store.` -7. `03 Receive the money from your sales.` +1. RECEIVE THE MONEY FROM YOUR SALES ON THE SAME DAY +2. This is what the Checkout Pro looks like in your store. You can choose between a modal experience or a redirect experience. +3. This is what the Customized Checkout looks like in your store. You can activate payments with cards and also cash. +4. Once you install the Mercado Pago Plugin, you will find the 3 checkouts available in the Payment settings in WooCommerce. You can activate them simultaneously or choose one of them. Remember that they must be configured before enabling them. +5. To configure it, follow the step by step indicated in each Checkout. Remember that you can review the official documentation of our plugin on the Mercado Pago developer website. +6. ACCEPT ALL PAYMENT METHODS == Frequently Asked Questions == -= How do we protect the sellers = += I had a question during setup, where can I check the documentation? = + +In our developer website you will find the step by step of [how to integrate the Mercado Pago Plugin](https://www.mercadopago.com.ar/developers/es/guides/plugins/woocommerce/introduction/) in your online store. + += What are the requirements for the plugin to work properly? = + +You must have an SSL certificate, connecting your website with the HTTPS protocol. + +If you need to check the protocol configuration, [test it here](https://www.ssllabs.com/ssltest/). + +Finally, remember that the plugin receives IPN (Instant Payment Notification) notifications automatically, you don't need to configure it! -We take care of the money with maximum security -We help you in case of problems -We protect your sales against chargebacks += I already finished the configuration but the Sandbox environment is not working. = -= Where can I find the documentation? = +Remember that to test the Checkout Pro you must log out of your Mercado Pago account, as it is not possible to use it to sell and buy at the same time. -Check out our official documentation for installing and configuring the Mercado Pago plugin in your store. +Please note that with the Test Environment enabled, the Checkout Pro does not send notifications as does the Custom Checkout. -= Where and how can I contribute? = += How do I configure the sending of emails to my customers? = -Suggest documentation improvement on [our website](https://www.mercadopago.com.br/developers/es/plugins_sdks/plugins/official/woo-commerce/) for integrators and developers, -Subscribe to the [development log](https://plugins.trac.wordpress.org/log/woocommerce-mercadopago/) by [RSS](https://plugins.trac.wordpress.org/log/woocommerce-mercadopago/?limit=100&mode=stop_on_copy&format=rss), -[Review the code](https://plugins.trac.wordpress.org/browser/woocommerce-mercadopago/) and visit the [SVN repository](https://plugins.svn.wordpress.org/woocommerce-mercadopago/), -Help us translate WordPress: [Translate](https://translate.wordpress.org/projects/wp-plugins/woocommerce-mercadopago/) the plugin for your country. +The configuration of sending emails must be done from the WooCommerce administrator. The Mercado Pago Plugin only contemplates sending transactions made in the Checkout Pro. + += I reviewed the documentation and these FAQs but still have problems in my store, what can I do? = + +If you have already reviewed the documentation and have not found a solution, you can contact our support team through their [contact form](https://www.mercadopago.com.ar/developers/es/support/). Please note that we guarantee a response within {7 days} of your query. == Installation == @@ -115,6 +116,15 @@ Set up both the plugin and the checkouts you want to activate on your payment av Check out our official documentation for more information on the specific fields to configure. == Changelog == += v4.6.0 (01/12/2020) = +* Features + - Add review rating banner + - Improve security on checkouts, xss javascript sanitizer + - Support section block added in checkout settings + +* Bug fixes + - Fixed error that prevents configuring the Mercado Pago plugin + = v4.5.0 (26/10/2020) = * Features - Compatibility with WooCommerce v4.6.x diff --git a/woocommerce-mercadopago.php b/woocommerce-mercadopago.php index c39cee23d..062f0e642 100644 --- a/woocommerce-mercadopago.php +++ b/woocommerce-mercadopago.php @@ -4,13 +4,13 @@ * Plugin Name: Mercado Pago payments for WooCommerce * Plugin URI: https://github.com/mercadopago/cart-woocommerce * Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account. - * Version: 4.5.0 + * Version: 4.6.0 * Author: Mercado Pago * Author URI: https://developers.mercadopago.com/ * Text Domain: woocommerce-mercadopago * Domain Path: /i18n/languages/ * WC requires at least: 3.0.0 - * WC tested up to: 4.6.0 + * WC tested up to: 4.7.0 * @package MercadoPago * @category Core * @author Mercado Pago @@ -31,5 +31,7 @@ if (!class_exists('WC_WooMercadoPago_Init')) { include_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Init.php'; + + register_activation_hook(__FILE__, array('WC_WooMercadoPago_Init', 'mercadopago_plugin_activation')); add_action('plugins_loaded', array('WC_WooMercadoPago_Init', 'woocommerce_mercadopago_init')); }