WooCommerce MercadoPago - Version 4.6.0

Version Description

Download this release

Release Info

Developer mercadopago
Plugin Icon 128x128 WooCommerce MercadoPago
Version 4.6.0
Comparing to
See all releases

Code changes from version 4.5.0 to 4.6.0

Files changed (42) hide show
  1. assets/css/admin_notice_mercadopago.css +84 -2
  2. assets/css/admin_notice_mercadopago.min.css +1 -1
  3. assets/css/config_mercadopago.css +13 -2
  4. assets/css/config_mercadopago.min.css +1 -1
  5. assets/images/minilogo.png +0 -0
  6. assets/js/credit-card.js +20 -18
  7. assets/js/credit-card.min.js +1 -1
  8. assets/js/review.js +7 -0
  9. assets/js/review.min.js +1 -0
  10. i18n/languages/woocommerce-mercadopago-es_AR.mo +0 -0
  11. i18n/languages/woocommerce-mercadopago-es_AR.po +35 -3
  12. i18n/languages/woocommerce-mercadopago-es_CL.mo +0 -0
  13. i18n/languages/woocommerce-mercadopago-es_CL.po +35 -3
  14. i18n/languages/woocommerce-mercadopago-es_CO.mo +0 -0
  15. i18n/languages/woocommerce-mercadopago-es_CO.po +35 -3
  16. i18n/languages/woocommerce-mercadopago-es_ES.mo +0 -0
  17. i18n/languages/woocommerce-mercadopago-es_ES.po +35 -3
  18. i18n/languages/woocommerce-mercadopago-es_MX.mo +0 -0
  19. i18n/languages/woocommerce-mercadopago-es_MX.po +35 -3
  20. i18n/languages/woocommerce-mercadopago-es_PE.mo +0 -0
  21. i18n/languages/woocommerce-mercadopago-es_PE.po +35 -3
  22. i18n/languages/woocommerce-mercadopago-es_UY.mo +0 -0
  23. i18n/languages/woocommerce-mercadopago-es_UY.po +35 -3
  24. i18n/languages/woocommerce-mercadopago-es_VE.mo +0 -0
  25. i18n/languages/woocommerce-mercadopago-es_VE.po +35 -3
  26. i18n/languages/woocommerce-mercadopago-pt_BR.mo +0 -0
  27. i18n/languages/woocommerce-mercadopago-pt_BR.po +37 -5
  28. i18n/languages/woocommerce-mercadopago.pot +216 -184
  29. includes/admin/notices/WC_WooMercadoPago_Notices.php +12 -4
  30. includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php +144 -0
  31. includes/module/WC_WooMercadoPago_Configs.php +39 -27
  32. includes/module/WC_WooMercadoPago_Init.php +17 -3
  33. includes/module/config/WC_WooMercadoPago_Constants.php +1 -1
  34. includes/payments/WC_WooMercadoPago_BasicGateway.php +5 -0
  35. includes/payments/WC_WooMercadoPago_CustomGateway.php +6 -1
  36. includes/payments/WC_WooMercadoPago_PaymentAbstract.php +84 -2
  37. includes/payments/WC_WooMercadoPago_TicketGateway.php +12 -7
  38. includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php +1 -2
  39. includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php +1 -1
  40. includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php +1 -1
  41. readme.txt +10 -1
  42. woocommerce-mercadopago.php +4 -2
assets/css/admin_notice_mercadopago.css CHANGED
@@ -10,9 +10,91 @@
10
  }
11
 
12
  .mp-left-alert img {
13
- max-width: 150px;
 
 
14
  }
15
 
16
  .mp-right-alert {
17
  padding-top: 0px;
18
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }
11
 
12
  .mp-left-alert img {
13
+ max-width: 30px;
14
+ min-width: 30px;
15
+ padding-right: 8px;
16
  }
17
 
18
  .mp-right-alert {
19
  padding-top: 0px;
20
+ }
21
+
22
+ .mp-rating-notice {
23
+ border: 1px solid #ccc !important;
24
+ }
25
+
26
+ .mp-rating-frame {
27
+ display: flex;
28
+ justify-content: space-between;
29
+ align-items: center;
30
+ padding-left: 8px;
31
+ }
32
+
33
+ .mp-left-rating {
34
+ display: flex;
35
+ justify-content: center;
36
+ align-items: center;
37
+ padding-right: 10px;
38
+ }
39
+
40
+ .mp-left-rating img {
41
+ max-width: 50px;
42
+ min-width: 50px;
43
+ padding-right: 16px;
44
+ padding-top: 0.4em;
45
+ }
46
+
47
+ .mp-right-rating {
48
+ padding-top: 0px;
49
+ display: flex;
50
+ }
51
+
52
+ .mp-rating-title {
53
+ font-weight: 600;
54
+ font-size: 14px;
55
+ margin-bottom: 0 !important;
56
+ }
57
+
58
+ .mp-rating-subtitle {
59
+ font-size: 12px;
60
+ margin-top: 0 !important;
61
+ }
62
+
63
+ .mp-rating-link {
64
+ background-color: #009ee3;
65
+ color: #fff;
66
+ border-radius: 4px;
67
+ font-weight: 600;
68
+ display: inline-block;
69
+ padding: 2px 36px 0;
70
+ text-align: center;
71
+ line-height: 34px;
72
+ font-size: 14px;
73
+ text-decoration: none;
74
+ width: 110px;
75
+ }
76
+
77
+ .mp-rating-link:hover, .mp-rating-link:focus {
78
+ background-color: #007eb5;
79
+ color: #fff;
80
+ }
81
+
82
+ @media (max-width: 767.98px) {
83
+ .mp-rating-frame {
84
+ justify-content: baseline;
85
+ }
86
+ .mp-left-rating-text {
87
+ display: none;
88
+ }
89
+ .mp-left-rating img {
90
+ padding-right: 8px;
91
+ padding-top: 0.5em;
92
+ }
93
+ .mp-right-rating {
94
+ width: 100%;
95
+ }
96
+ .mp-rating-link {
97
+ width: 100%;
98
+ padding: 2px 28px 0;
99
+ }
100
+ }
assets/css/admin_notice_mercadopago.min.css CHANGED
@@ -1 +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}
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: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}}
assets/css/config_mercadopago.css CHANGED
@@ -156,6 +156,17 @@
156
  color: #555555;
157
  }
158
 
 
 
 
 
 
 
 
 
 
 
 
159
  .mp_homolog_text {
160
  font-family: sans-serif;
161
  font-size: 14px !important;
@@ -326,7 +337,7 @@
326
 
327
  .mp-hidden-field {
328
  display: none;
329
- }
330
 
331
  .mp_title_header {
332
  font-family: sans-serif;
@@ -351,4 +362,4 @@
351
 
352
  .mp_subtitle_mt {
353
  margin-top: 0px !important;
354
- }
156
  color: #555555;
157
  }
158
 
159
+ .mp-text-support {
160
+ font-family: sans-serif;
161
+ font-size: 12px !important;
162
+ font-weight: normal;
163
+ font-style: normal !important;
164
+ font-stretch: normal;
165
+ line-height: 16px !important;
166
+ letter-spacing: normal;
167
+ color: #555555;
168
+ }
169
+
170
  .mp_homolog_text {
171
  font-family: sans-serif;
172
  font-size: 14px !important;
337
 
338
  .mp-hidden-field {
339
  display: none;
340
+ }
341
 
342
  .mp_title_header {
343
  font-family: sans-serif;
362
 
363
  .mp_subtitle_mt {
364
  margin-top: 0px !important;
365
+ }
assets/css/config_mercadopago.min.css CHANGED
@@ -1 +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}
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-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}
assets/images/minilogo.png CHANGED
Binary file
assets/js/credit-card.js CHANGED
@@ -44,7 +44,6 @@
44
  showPaymentsLink();
45
  });
46
 
47
- $('body').on('keyup', '#mp-card-number', guessingPaymentMethod);
48
  $('body').on('change', '#mp-card-number', guessingPaymentMethod);
49
 
50
  /**
@@ -84,7 +83,7 @@
84
  *
85
  * @param {object} event
86
  */
87
- function guessingPaymentMethod(event) {
88
  hideErrors();
89
  clearHolderName();
90
  clearExpirationDate();
@@ -101,20 +100,10 @@
101
  return;
102
  }
103
 
104
- if (event.type === 'keyup') {
105
- if (bin.length >= 6) {
106
- Mercadopago.getPaymentMethod({
107
- 'bin': bin
108
- }, paymentMethodHandler);
109
- }
110
- } else {
111
- setTimeout(function () {
112
- if (bin.length >= 6) {
113
- Mercadopago.getPaymentMethod({
114
- 'bin': bin
115
- }, paymentMethodHandler);
116
- }
117
- }, 100);
118
  }
119
  }
120
 
@@ -191,7 +180,7 @@
191
  document.getElementById('mp-issuer-div').style.display = 'block';
192
  document.getElementById('installments-div').classList.remove('mp-col-md-12');
193
  document.getElementById('installments-div').classList.add('mp-col-md-8');
194
- Mercadopago.getIssuers(objPaymentMethod.id, issuersHandler);
195
  } else {
196
  clearIssuer();
197
  setInstallments();
@@ -341,24 +330,37 @@
341
  document.getElementById('mp-issuer').innerHTML = '';
342
  }
343
 
 
 
 
344
  function clearDoc() {
345
  document.getElementById('mp-doc-div').style.display = 'none';
346
  document.getElementById('mp-doc-type-div').style.display = 'none';
347
  document.getElementById('docType').innerHTML = '';
348
  document.getElementById('docNumber').value = '';
349
  }
 
350
  /**
351
  * Clear input
352
  */
353
  function clearHolderName() {
354
  document.getElementById('mp-card-holder-name').value = '';
355
  }
 
 
 
 
356
  function clearExpirationDate() {
357
  document.getElementById('mp-card-expiration-date').value = '';
358
  }
 
 
 
 
359
  function clearSecurityCode() {
360
  document.getElementById('mp-security-code').value = '';
361
  }
 
362
  /**
363
  * Call insttalments with issuer ou not, depends on additionalInfoHandler()
364
  */
@@ -609,7 +611,7 @@
609
  /**
610
  *
611
  * @param { obje } response
612
- */
613
  function showErrors(response) {
614
  var form = getForm();
615
  for (var x = 0; x < response.cause.length; x++) {
44
  showPaymentsLink();
45
  });
46
 
 
47
  $('body').on('change', '#mp-card-number', guessingPaymentMethod);
48
 
49
  /**
83
  *
84
  * @param {object} event
85
  */
86
+ function guessingPaymentMethod() {
87
  hideErrors();
88
  clearHolderName();
89
  clearExpirationDate();
100
  return;
101
  }
102
 
103
+ if (bin.length >= 6) {
104
+ Mercadopago.getPaymentMethod({
105
+ 'bin': bin
106
+ }, paymentMethodHandler);
 
 
 
 
 
 
 
 
 
 
107
  }
108
  }
109
 
180
  document.getElementById('mp-issuer-div').style.display = 'block';
181
  document.getElementById('installments-div').classList.remove('mp-col-md-12');
182
  document.getElementById('installments-div').classList.add('mp-col-md-8');
183
+ Mercadopago.getIssuers(objPaymentMethod.id, getBin(), issuersHandler);
184
  } else {
185
  clearIssuer();
186
  setInstallments();
330
  document.getElementById('mp-issuer').innerHTML = '';
331
  }
332
 
333
+ /**
334
+ * Clear input and change to default layout
335
+ */
336
  function clearDoc() {
337
  document.getElementById('mp-doc-div').style.display = 'none';
338
  document.getElementById('mp-doc-type-div').style.display = 'none';
339
  document.getElementById('docType').innerHTML = '';
340
  document.getElementById('docNumber').value = '';
341
  }
342
+
343
  /**
344
  * Clear input
345
  */
346
  function clearHolderName() {
347
  document.getElementById('mp-card-holder-name').value = '';
348
  }
349
+
350
+ /**
351
+ * Clear input
352
+ */
353
  function clearExpirationDate() {
354
  document.getElementById('mp-card-expiration-date').value = '';
355
  }
356
+
357
+ /**
358
+ * Clear input
359
+ */
360
  function clearSecurityCode() {
361
  document.getElementById('mp-security-code').value = '';
362
  }
363
+
364
  /**
365
  * Call insttalments with issuer ou not, depends on additionalInfoHandler()
366
  */
611
  /**
612
  *
613
  * @param { obje } response
614
+ */
615
  function showErrors(response) {
616
  var form = getForm();
617
  for (var x = 0; x < response.cause.length; x++) {
assets/js/credit-card.min.js CHANGED
@@ -1 +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<e.length;o++)"issuer_id"===e[o]&&(r.issuer=!0),"cardholder_name"===e[o]&&(r.cardholder_name=!0),"cardholder_identification_type"===e[o]&&(r.cardholder_identification_type=!0),"cardholder_identification_number"===e[o]&&(r.cardholder_identification_number=!0)}(c.additional_info_needed),function(){r.cardholder_name?document.getElementById("mp-card-holder-div").style.display="block":document.getElementById("mp-card-holder-div").style.display="none";r.issuer?(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(c.id,h)):(f(),b());r.cardholder_identification_type?(document.getElementById("mp-doc-div").style.display="inline-block",document.getElementById("mp-doc-type-div").style.display="block",Mercadopago.getIdentificationTypes()):document.getElementById("mp-doc-type-div").style.display="none";r.cardholder_identification_number?(document.getElementById("mp-doc-div").style.display="inline-block",document.getElementById("mp-doc-number-div").style.display="block"):document.getElementById("mp-doc-number-div").style.display="none";r.cardholder_identification_type||r.cardholder_identification_number||(document.getElementById("mp-doc-div").style.display="none")}(),document.getElementById("mp-card-number").classList.remove("mp-form-control-error"),document.getElementById("mp-error-E301").style.display="none"):(p(),document.getElementById("mp-card-number").classList.add("mp-form-control-error"),document.getElementById("mp-error-E301").style.display="inline-block")}function p(){document.getElementById("mp-card-number").style.background="no-repeat #fff"}function s(e,o){if(200===e){for(var e=document.getElementById("mp-installments"),t='<option value="-1">'+wc_mercadopago_params.choose+"...</option>",n=[],r=0;r<o.length;r++)"aggregator"===o[r].processing_mode&&(n=o[r].payer_costs);for(var c=0;c<n.length;c++)t+='<option value="'+n[c].installments+'" '+function(e){var o="";if("MLA"!==d.site_id)return o;for(var t=0;t<e.length;t++)-1!==e[t].indexOf("CFT_")&&(o='data-tax="'+e[t]+'"');return o}(n[c].labels)+">"+(n[c].recommended_message||n[c].installments)+"</option>";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<c.additional_info_needed.length;n++)"issuer_id"===c.additional_info_needed[n]&&(t=!0);if(t){var r=document.getElementById("mp-issuer").value,e={bin:l(),amount:o,issuer_id:r};if("-1"===r)return}else e={bin:l(),amount:o};Mercadopago.getInstallments(e,s)}function h(e,o){if(200===e){var t=document.getElementById("mp-issuer"),n=document.createDocumentFragment();t.options.length=0;e=new Option(wc_mercadopago_params.choose+"...","-1");n.appendChild(e);for(var r=0;r<o.length;r++){var c="default"===o[r].name?"Otro":o[r].name;n.appendChild(new Option(c,o[r].id))}t.appendChild(n),t.removeAttribute("disabled"),M("body").on("change","#mp-issuer",b)}else f()}function S(){return document.querySelector("#mercadopago-form")}function q(){k();var e,o,t,n=function(){for(var e=!1,o=S(),t=o.querySelectorAll("[data-checkout]"),n=["installments","securityCode","cardExpirationDate","cardNumber"],r=0;r<t.length;r++){var c,d=t[r];-1<n.indexOf(d.getAttribute("data-checkout"))&&("-1"!==d.value&&""!==d.value||(0<(c=o.querySelectorAll('span[data-main="#'+d.id+'"]')).length&&(c[0].style.display="inline-block"),d.classList.add("mp-form-control-error"),e=!0))}return e||e}(),t=(t=!1,r.issuer&&("-1"!==(e=document.getElementById("mp-issuer")).value&&""!==e.value||(e.classList.add("mp-form-control-error"),t=!0)),r.cardholder_name&&("-1"!==(e=document.getElementById("mp-card-holder-name")).value&&""!==e.value||(e.classList.add("mp-form-control-error"),t=!0)),r.cardholder_identification_type&&("-1"!==(o=document.getElementById("docType")).value&&""!==o.value||(o.classList.add("mp-form-control-error"),t=!0)),r.cardholder_identification_number&&("-1"!==(o=document.getElementById("docNumber")).value&&""!==o.value||(o.classList.add("mp-form-control-error"),document.getElementById("mp-error-324").style.display="inline-block",t=!0)),t||t);return!n&&!t||(I(),void E())}function E(){void 0!==document.querySelectorAll(".mp-form-control-error")&&document.querySelectorAll(".mp-form-control-error")[0].focus()}function k(){for(var e=0;e<document.querySelectorAll("[data-checkout]").length;e++){var o=document.querySelectorAll("[data-checkout]")[e];o.classList.remove("mp-error-input"),o.classList.remove("mp-form-control-error")}for(var t=0;t<document.querySelectorAll(".mp-error").length;t++){document.querySelectorAll(".mp-error")[t].style.display="none"}}function I(){0<M("form#order_review").length&&M(".blockOverlay").css("display","none")}function B(e,o){document.querySelector("#mp-box-loading").style.background="",200!==e&&201!==e?(function(e){for(var o=S(),t=0;t<e.cause.length;t++){var n=e.cause[t],r=void 0;void 0!==(r="208"===n.code||"209"===n.code||"325"===n.code||"326"===n.code?o.querySelector("#mp-error-208"):o.querySelector("#mp-error-"+n.code))&&(n=o.querySelector(r.getAttribute("data-main")),r.style.display="inline-block",n.classList.add("mp-form-control-error"))}}(o),I(),E()):(document.querySelector("#token").value=o.id,t=!0,M("form.checkout, form#order_review").submit())}function C(){o(),document.querySelector("#mpCouponApplyed").style.display="none",""===document.querySelector("#couponCode").value?(n.status=!1,document.querySelector("#mpCouponError").style.display="block",document.querySelector("#mpCouponError").innerHTML=wc_mercadopago_params.coupon_empty,document.querySelector("#couponCode").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#mp-discount").value=0):n.status?(n.status=!1,document.querySelector("#mpCouponError").style.display="none",document.querySelector("#applyCoupon").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#couponCode").value="",document.querySelector("#couponCode").style.background=null,document.querySelector("#mp-discount").value=0):(document.querySelector("#mpCouponError").style.display="none",document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.loading+") 98% 50% no-repeat #fff",document.querySelector("#couponCode").style.border="1px solid #cecece",document.querySelector("#applyCoupon").disabled=!0,function(){var e=n.discount_action_url,o="?";0<=e.indexOf("?")&&(o="&");e+=o+"site_id="+wc_mercadopago_params.site_id,e+="&coupon_id="+document.querySelector("#couponCode").value,e+="&amount="+document.querySelector("#mp-amount").value,e+="&payer="+n.payer_email,M.ajax({url:e,method:"GET",timeout:5e3,error:function(){n.status=!1,document.querySelector("#mpCouponApplyed").style.display="none",document.querySelector("#mpCouponError").style.display="none",document.querySelector("#applyCoupon").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#couponCode").value="",document.querySelector("#couponCode").style.background=null,document.querySelector("#mp-discount").value=0},success:function(e){200===e.status?(n.status=!0,document.querySelector("#mpCouponApplyed").style.display="block",document.querySelector("#mp-discount").value=e.response.coupon_amount,document.querySelector("#mpCouponApplyed").innerHTML=wc_mercadopago_params.discount_info1+" <strong>"+w(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+"</strong> "+wc_mercadopago_params.discount_info2+" "+e.response.name+".<br>"+wc_mercadopago_params.discount_info3+" <strong>"+w(e.response.currency_id)+" "+Math.round(100*document.querySelector("#mp-amount").value)/100+"</strong><br>"+wc_mercadopago_params.discount_info4+" <strong>"+w(e.response.currency_id)+" "+Math.round(100*m())/100+"*</strong><br><i>"+wc_mercadopago_params.discount_info5+'</i><br><a href="https://api.mercadolibre.com/campaigns/'+e.response.id+'/terms_and_conditions?format_type=html" target="_blank">'+wc_mercadopago_params.discount_info6+"</a>",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<M("form#order_review").length&&("yes"===n.activated&&M("#applyCoupon").on("click",C),a()),M("body").on("updated_checkout",function(){"yes"===n.activated&&M("#applyCoupon").on("click",C),o(),a()}),M("body").on("keyup","#mp-card-number",u),M("body").on("change","#mp-card-number",u),M("form.checkout").on("checkout_place_order_woo-mercado-pago-custom",L),M("form#order_review").submit(L),window.onload=function(){document.querySelector("body").append(e)}})}(jQuery);
1
+ !function(L){"use strict";L(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="",i(),y(),g(),_(),f())}function a(){var e=document.querySelector("#mp-frame-payments");L("#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(){return(document.getElementById("mp-amount").value-document.getElementById("mp-discount").value)*document.getElementById("currency_ratio").value}function m(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<e.length;o++)"issuer_id"===e[o]&&(r.issuer=!0),"cardholder_name"===e[o]&&(r.cardholder_name=!0),"cardholder_identification_type"===e[o]&&(r.cardholder_identification_type=!0),"cardholder_identification_number"===e[o]&&(r.cardholder_identification_number=!0)}(c.additional_info_needed),function(){r.cardholder_name?document.getElementById("mp-card-holder-div").style.display="block":document.getElementById("mp-card-holder-div").style.display="none";r.issuer?(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(c.id,l(),b)):(_(),v());r.cardholder_identification_type?(document.getElementById("mp-doc-div").style.display="inline-block",document.getElementById("mp-doc-type-div").style.display="block",Mercadopago.getIdentificationTypes()):document.getElementById("mp-doc-type-div").style.display="none";r.cardholder_identification_number?(document.getElementById("mp-doc-div").style.display="inline-block",document.getElementById("mp-doc-number-div").style.display="block"):document.getElementById("mp-doc-number-div").style.display="none";r.cardholder_identification_type||r.cardholder_identification_number||(document.getElementById("mp-doc-div").style.display="none")}(),document.getElementById("mp-card-number").classList.remove("mp-form-control-error"),document.getElementById("mp-error-E301").style.display="none"):(i(),document.getElementById("mp-card-number").classList.add("mp-form-control-error"),document.getElementById("mp-error-E301").style.display="inline-block")}function i(){document.getElementById("mp-card-number").style.background="no-repeat #fff"}function p(e,o){if(200===e){for(var e=document.getElementById("mp-installments"),t='<option value="-1">'+wc_mercadopago_params.choose+"...</option>",n=[],r=0;r<o.length;r++)"aggregator"===o[r].processing_mode&&(n=o[r].payer_costs);for(var c=0;c<n.length;c++)t+='<option value="'+n[c].installments+'" '+function(e){var o="";if("MLA"!==d.site_id)return o;for(var t=0;t<e.length;t++)-1!==e[t].indexOf("CFT_")&&(o='data-tax="'+e[t]+'"');return o}(n[c].labels)+">"+(n[c].recommended_message||n[c].installments)+"</option>";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.additional_info_needed.length;n++)"issuer_id"===c.additional_info_needed[n]&&(t=!0);if(t){var r=document.getElementById("mp-issuer").value,e={bin:l(),amount:o,issuer_id:r};if("-1"===r)return}else e={bin:l(),amount:o};Mercadopago.getInstallments(e,p)}function b(e,o){if(200===e){var t=document.getElementById("mp-issuer"),n=document.createDocumentFragment();t.options.length=0;e=new Option(wc_mercadopago_params.choose+"...","-1");n.appendChild(e);for(var r=0;r<o.length;r++){var c="default"===o[r].name?"Otro":o[r].name;n.appendChild(new Option(c,o[r].id))}t.appendChild(n),t.removeAttribute("disabled"),L("body").on("change","#mp-issuer",v)}else _()}function h(){return document.querySelector("#mercadopago-form")}function S(){E();var e,o,t,n=function(){for(var e=!1,o=h(),t=o.querySelectorAll("[data-checkout]"),n=["installments","securityCode","cardExpirationDate","cardNumber"],r=0;r<t.length;r++){var c,d=t[r];-1<n.indexOf(d.getAttribute("data-checkout"))&&("-1"!==d.value&&""!==d.value||(0<(c=o.querySelectorAll('span[data-main="#'+d.id+'"]')).length&&(c[0].style.display="inline-block"),d.classList.add("mp-form-control-error"),e=!0))}return e||e}(),t=(t=!1,r.issuer&&("-1"!==(e=document.getElementById("mp-issuer")).value&&""!==e.value||(e.classList.add("mp-form-control-error"),t=!0)),r.cardholder_name&&("-1"!==(e=document.getElementById("mp-card-holder-name")).value&&""!==e.value||(e.classList.add("mp-form-control-error"),t=!0)),r.cardholder_identification_type&&("-1"!==(o=document.getElementById("docType")).value&&""!==o.value||(o.classList.add("mp-form-control-error"),t=!0)),r.cardholder_identification_number&&("-1"!==(o=document.getElementById("docNumber")).value&&""!==o.value||(o.classList.add("mp-form-control-error"),document.getElementById("mp-error-324").style.display="inline-block",t=!0)),t||t);return!n&&!t||(I(),void q())}function q(){void 0!==document.querySelectorAll(".mp-form-control-error")&&document.querySelectorAll(".mp-form-control-error")[0].focus()}function E(){for(var e=0;e<document.querySelectorAll("[data-checkout]").length;e++){var o=document.querySelectorAll("[data-checkout]")[e];o.classList.remove("mp-error-input"),o.classList.remove("mp-form-control-error")}for(var t=0;t<document.querySelectorAll(".mp-error").length;t++){document.querySelectorAll(".mp-error")[t].style.display="none"}}function I(){0<L("form#order_review").length&&L(".blockOverlay").css("display","none")}function k(e,o){document.querySelector("#mp-box-loading").style.background="",200!==e&&201!==e?(function(e){for(var o=h(),t=0;t<e.cause.length;t++){var n=e.cause[t],r=void 0;void 0!==(r="208"===n.code||"209"===n.code||"325"===n.code||"326"===n.code?o.querySelector("#mp-error-208"):o.querySelector("#mp-error-"+n.code))&&(n=o.querySelector(r.getAttribute("data-main")),r.style.display="inline-block",n.classList.add("mp-form-control-error"))}}(o),I(),q()):(document.querySelector("#token").value=o.id,t=!0,L("form.checkout, form#order_review").submit())}function B(){o(),document.querySelector("#mpCouponApplyed").style.display="none",""===document.querySelector("#couponCode").value?(n.status=!1,document.querySelector("#mpCouponError").style.display="block",document.querySelector("#mpCouponError").innerHTML=wc_mercadopago_params.coupon_empty,document.querySelector("#couponCode").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#mp-discount").value=0):n.status?(n.status=!1,document.querySelector("#mpCouponError").style.display="none",document.querySelector("#applyCoupon").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#couponCode").value="",document.querySelector("#couponCode").style.background=null,document.querySelector("#mp-discount").value=0):(document.querySelector("#mpCouponError").style.display="none",document.querySelector("#couponCode").style.background="url("+wc_mercadopago_params.loading+") 98% 50% no-repeat #fff",document.querySelector("#couponCode").style.border="1px solid #cecece",document.querySelector("#applyCoupon").disabled=!0,function(){var e=n.discount_action_url,o="?";0<=e.indexOf("?")&&(o="&");e+=o+"site_id="+wc_mercadopago_params.site_id,e+="&coupon_id="+document.querySelector("#couponCode").value,e+="&amount="+document.querySelector("#mp-amount").value,e+="&payer="+n.payer_email,L.ajax({url:e,method:"GET",timeout:5e3,error:function(){n.status=!1,document.querySelector("#mpCouponApplyed").style.display="none",document.querySelector("#mpCouponError").style.display="none",document.querySelector("#applyCoupon").style.background=null,document.querySelector("#applyCoupon").value=wc_mercadopago_params.apply,document.querySelector("#couponCode").value="",document.querySelector("#couponCode").style.background=null,document.querySelector("#mp-discount").value=0},success:function(e){200===e.status?(n.status=!0,document.querySelector("#mpCouponApplyed").style.display="block",document.querySelector("#mp-discount").value=e.response.coupon_amount,document.querySelector("#mpCouponApplyed").innerHTML=wc_mercadopago_params.discount_info1+" <strong>"+C(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+"</strong> "+wc_mercadopago_params.discount_info2+" "+e.response.name+".<br>"+wc_mercadopago_params.discount_info3+" <strong>"+C(e.response.currency_id)+" "+Math.round(100*document.querySelector("#mp-amount").value)/100+"</strong><br>"+wc_mercadopago_params.discount_info4+" <strong>"+C(e.response.currency_id)+" "+Math.round(100*u())/100+"*</strong><br><i>"+wc_mercadopago_params.discount_info5+'</i><br><a href="https://api.mercadolibre.com/campaigns/'+e.response.id+'/terms_and_conditions?format_type=html" target="_blank">'+wc_mercadopago_params.discount_info6+"</a>",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<L("form#order_review").length&&("yes"===n.activated&&L("#applyCoupon").on("click",B),a()),L("body").on("updated_checkout",function(){"yes"===n.activated&&L("#applyCoupon").on("click",B),o(),a()}),L("body").on("change","#mp-card-number",function(){E(),document.getElementById("mp-card-holder-name").value="",document.getElementById("mp-card-expiration-date").value="",document.getElementById("mp-security-code").value="",_(),y(),g(),f();var e=l();if(e.length<6)return void i();6<=e.length&&Mercadopago.getPaymentMethod({bin:e},m)}),L("form.checkout").on("checkout_place_order_woo-mercado-pago-custom",w),L("form#order_review").submit(w),window.onload=function(){document.querySelector("body").append(e)}})}(jQuery);
assets/js/review.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /* globals ajaxurl */
2
+ jQuery(document).ready(function ($) {
3
+ $(document).on('click', '.mp-rating-notice button', function () {
4
+ $.post( ajaxurl, { action: 'mercadopago_review_dismiss' } );
5
+ }
6
+ );
7
+ });
assets/js/review.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(n){n(document).on("click",".mp-rating-notice button",function(){n.post(ajaxurl,{action:"mercadopago_review_dismiss"})})});
i18n/languages/woocommerce-mercadopago-es_AR.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_AR.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:28-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:00-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_CL.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_CL.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:28-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:00-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_CO.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_CO.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:28-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:00-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_ES.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_ES.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:28-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:01-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_MX.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_MX.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:27-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:01-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_PE.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_PE.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:27-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:01-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_UY.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_UY.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:27-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:02-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-es_VE.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_VE.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:27-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -453,6 +453,26 @@ msgstr "Visitar mi tienda"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
@@ -1231,6 +1251,18 @@ msgstr "Pago aprobado."
1231
  msgid "discount of"
1232
  msgstr "descuento de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Servicio de envío utilizado por la tienda."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-24 18:02-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visita tu tienda como si fueras uno de tus clientes y revisa que todo esté bien. Si ya saliste a Producción,<br> trae a tus clientes y aumenta tus ventas con la mejor experiencia de compra online."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "¿Tienes alguna duda?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revisa el paso a paso de cómo integrar el Plugin de Mercado Pago para WooCommerce en nuestro sitio de desarrolladores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentación"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "¿Sigues con problemas? Comunícate con nuestro equipo de soporte a través de su %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulario de contacto."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "¿Todo configurado? Ve a tu tienda en modo Sandbox"
1251
  msgid "discount of"
1252
  msgstr "descuento de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "¿tienes un minuto para compartir tu experiencia con nuestro plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Tu opinión es muy importante para poder ofrecerte la mejor solución de pagos posible y seguir mejorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Valorar el plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Servicio de envío utilizado por la tienda."
i18n/languages/woocommerce-mercadopago-pt_BR.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-pt_BR.po CHANGED
@@ -2,15 +2,15 @@
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Mercado Pago payments for WooCommerce 4.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
- "PO-Revision-Date: 2020-10-19 15:27-0300\n"
13
- "X-Generator: Poedit 2.4.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
@@ -113,7 +113,7 @@ msgstr "CI"
113
 
114
  #. Author URI of the plugin
115
  msgid "https://developers.mercadopago.com/"
116
- msgstr "https://developers.mercadopago.com.br/"
117
 
118
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1168
119
  msgid "Visit your store and simulate a payment to check that everything is fine."
@@ -453,6 +453,26 @@ msgstr "Visitar minha loja"
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visite sua loja como se você fosse um de seus clientes e verifique se está tudo bem. Se você já foi à Produção,<br> traga seus clientes e aumente suas vendas com a melhor experiência de compra on-line."
455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
457
  msgid "Everything set up? Go to your store in Sandbox mode"
458
  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?"
642
 
643
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462
644
  msgid "approved account"
645
- msgstr "Homologue sua conta"
646
 
647
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461
648
  msgid "Credentials are the keys we provide you to integrate quickly <br>and securely. You must have a %s in Mercado Pago to obtain and collect them <br>on your website. You do not need to know how to design or program to do it"
@@ -1231,6 +1251,18 @@ msgstr "Pagamento aprovado."
1231
  msgid "discount of"
1232
  msgstr "desconto de"
1233
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1235
  msgid "Shipping service used by the store."
1236
  msgstr "Serviço de envio usado pela loja."
2
  # This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Mercado Pago payments for WooCommerce 4.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "POT-Creation-Date: 2019-09-05T23:48:06-04:00\n"
12
+ "PO-Revision-Date: 2020-11-27 11:51-0300\n"
13
+ "X-Generator: Poedit 2.4.2\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
113
 
114
  #. Author URI of the plugin
115
  msgid "https://developers.mercadopago.com/"
116
+ msgstr "https://developers.mercadopago.com/"
117
 
118
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1168
119
  msgid "Visit your store and simulate a payment to check that everything is fine."
453
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
454
  msgstr "Visite sua loja como se você fosse um de seus clientes e verifique se está tudo bem. Se você já foi à Produção,<br> traga seus clientes e aumente suas vendas com a melhor experiência de compra on-line."
455
 
456
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
457
+ msgid "Questions?"
458
+ msgstr "Dúvidas?"
459
+
460
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1157
461
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
462
+ msgstr "Revise o passo a passo de como integrar o Plugin do Mercado Pago para WooCommerce no nosso site de desenvolvedores."
463
+
464
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1171
465
+ msgid "Review documentation"
466
+ msgstr "Revisar documentação"
467
+
468
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1189
469
+ msgid "Still having problems? Contact our support team through their %s"
470
+ msgstr "Continua com problemas? Fale com a nossa equipe de suporte pelo %s"
471
+
472
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190
473
+ msgid "contact form."
474
+ msgstr "formulário de contato."
475
+
476
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
477
  msgid "Everything set up? Go to your store in Sandbox mode"
478
  msgstr "Tudo configurado? Vá para sua loja no modo Sandbox"
662
 
663
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462
664
  msgid "approved account"
665
+ msgstr "homologue sua conta"
666
 
667
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461
668
  msgid "Credentials are the keys we provide you to integrate quickly <br>and securely. You must have a %s in Mercado Pago to obtain and collect them <br>on your website. You do not need to know how to design or program to do it"
1251
  msgid "discount of"
1252
  msgstr "desconto de"
1253
 
1254
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:169
1255
+ msgid "do you have a minute to share your experience with our plugin?"
1256
+ msgstr "você tem um minuto para compartilhar sua experiência com o nosso plugin?"
1257
+
1258
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:172
1259
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1260
+ msgstr "Sua opinião é muito importante para poder te oferecer a melhor solução de pagamentos possível e continuar melhorando."
1261
+
1262
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:181
1263
+ msgid "Rate the plugin"
1264
+ msgstr "Avaliar o plugin"
1265
+
1266
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:214
1267
  msgid "Shipping service used by the store."
1268
  msgstr "Serviço de envio usado pela loja."
i18n/languages/woocommerce-mercadopago.pot CHANGED
@@ -22,11 +22,11 @@ msgstr ""
22
  msgid "Convert Currency"
23
  msgstr ""
24
 
25
- #: 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
26
  msgid "No"
27
  msgstr ""
28
 
29
- #: 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
30
  msgid "Yes"
31
  msgstr ""
32
 
@@ -42,31 +42,31 @@ msgstr ""
42
  msgid "<b>Attention:</b> 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."
43
  msgstr ""
44
 
45
- #: includes/module/WC_WooMercadoPago_Configs.php:101
46
  msgid "Update your credentials with the Access Token and Public Key, you need them to continue receiving payments!"
47
  msgstr ""
48
 
49
- #: includes/module/WC_WooMercadoPago_Configs.php:111
50
  msgid "The store should have HTTPS in order to activate both Checkout Personalizado and Ticket Checkout."
51
  msgstr ""
52
 
53
- #: includes/module/WC_WooMercadoPago_Init.php:38
54
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
55
  msgstr ""
56
 
57
- #: includes/module/WC_WooMercadoPago_Init.php:48
58
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
59
  msgstr ""
60
 
61
- #: includes/module/WC_WooMercadoPago_Init.php:60
62
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
63
  msgstr ""
64
 
65
- #: includes/module/WC_WooMercadoPago_Init.php:68
66
  msgid "Cancel order"
67
  msgstr ""
68
 
69
- #: includes/module/WC_WooMercadoPago_Module.php:241, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:364
70
  msgid "Fill in your credentials to enable payment methods."
71
  msgstr ""
72
 
@@ -154,27 +154,27 @@ msgstr ""
154
  msgid "for"
155
  msgstr ""
156
 
157
- #: includes/module/WC_WooMercadoPago_Module.php:557, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:516
158
  msgid "Colombia"
159
  msgstr ""
160
 
161
- #: includes/module/WC_WooMercadoPago_Module.php:559, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:513
162
  msgid "Argentina"
163
  msgstr ""
164
 
165
- #: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:514
166
  msgid "Brazil"
167
  msgstr ""
168
 
169
- #: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:515
170
  msgid "Chile"
171
  msgstr ""
172
 
173
- #: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:517
174
  msgid "Mexico"
175
  msgstr ""
176
 
177
- #: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:519
178
  msgid "Uruguay"
179
  msgstr ""
180
 
@@ -182,7 +182,7 @@ msgstr ""
182
  msgid "Venezuela"
183
  msgstr ""
184
 
185
- #: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:518
186
  msgid "Peru"
187
  msgstr ""
188
 
@@ -266,123 +266,123 @@ msgstr ""
266
  msgid "Pay with the payment method you prefer"
267
  msgstr ""
268
 
269
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:241
270
  msgid "Mercado Pago checkout %s"
271
  msgstr ""
272
 
273
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:244
274
  msgid "Accept all method of payment and take your charges to another level"
275
  msgstr ""
276
 
277
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:248
278
  msgid "Turn your online store into your customers preferred payment gateway. Choose if the final payment experience will be inside or outside your store."
279
  msgstr ""
280
 
281
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:265, includes/payments/WC_WooMercadoPago_TicketGateway.php:219
282
  msgid "Configure Mercado Pago for WooCommerce"
283
  msgstr ""
284
 
285
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:278
286
  msgid "Enable the experience of the Mercado Pago Checkout in your online store, select the means of payment available to your customers and<br> define the maximum fees in which they can pay you."
287
  msgstr ""
288
 
289
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:291
290
  msgid "Set payment preferences in your store"
291
  msgstr ""
292
 
293
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:304
294
  msgid "Advanced settings"
295
  msgstr ""
296
 
297
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:317
298
  msgid "Payment experience"
299
  msgstr ""
300
 
301
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:319
302
  msgid "Define what payment experience your customers will have, whether inside or outside your store."
303
  msgstr ""
304
 
305
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:322
306
  msgid "Redirect"
307
  msgstr ""
308
 
309
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:323
310
  msgid "Modal"
311
  msgstr ""
312
 
313
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:339
314
  msgid "Choose the URL that we will show your customers when they finish their purchase."
315
  msgstr ""
316
 
317
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:337, includes/payments/WC_WooMercadoPago_BasicGateway.php:357, includes/payments/WC_WooMercadoPago_BasicGateway.php:378
318
  msgid "This seems to be an invalid URL."
319
  msgstr ""
320
 
321
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:342
322
  msgid "Success URL"
323
  msgstr ""
324
 
325
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:359
326
  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."
327
  msgstr ""
328
 
329
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:362
330
  msgid "Payment URL rejected"
331
  msgstr ""
332
 
333
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:380
334
  msgid "Choose the URL that we will show to your customers when they have a payment pending approval."
335
  msgstr ""
336
 
337
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:383
338
  msgid "Payment URL pending"
339
  msgstr ""
340
 
341
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:463
342
  msgid "Select offline payments"
343
  msgstr ""
344
 
345
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:452
346
  msgid "Select debit cards"
347
  msgstr ""
348
 
349
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:441
350
  msgid "Select credit cards"
351
  msgstr ""
352
 
353
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:470, includes/payments/WC_WooMercadoPago_TicketGateway.php:326
354
  msgid "Payment methods"
355
  msgstr ""
356
 
357
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:471, includes/payments/WC_WooMercadoPago_TicketGateway.php:327
358
  msgid "Choose the available payment methods in your store."
359
  msgstr ""
360
 
361
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:474, includes/payments/WC_WooMercadoPago_TicketGateway.php:330
362
  msgid "Activate the available payment methods to your clients."
363
  msgstr ""
364
 
365
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:494
366
  msgid "Return to the store"
367
  msgstr ""
368
 
369
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:497
370
  msgid "Do you want your customer to automatically return to the store after payment?"
371
  msgstr ""
372
 
373
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:526
374
  msgid "installments"
375
  msgstr ""
376
 
377
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:530
378
  msgid "installment"
379
  msgstr ""
380
 
381
- #: 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
382
  msgid "discount of"
383
  msgstr ""
384
 
385
- #: 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
386
  msgid "fee of"
387
  msgstr ""
388
 
@@ -398,455 +398,475 @@ msgstr ""
398
  msgid "Pay with debit and credit cards"
399
  msgstr ""
400
 
401
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:158
402
  msgid "Checkout of payments with debit and credit cards %s"
403
  msgstr ""
404
 
405
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:161
406
  msgid "Accept payments instantly and maximize the conversion of your business"
407
  msgstr ""
408
 
409
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:165
410
  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!"
411
  msgstr ""
412
 
413
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:182
414
  msgid "Set up the payment experience in your store"
415
  msgstr ""
416
 
417
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:195
418
  msgid "Configure the personalized payment experience in your store"
419
  msgstr ""
420
 
421
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:208
422
  msgid "Advanced configuration of the personalized payment experience\""
423
  msgstr ""
424
 
425
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:223
426
  msgid "That’s it, payment accepted!"
427
  msgstr ""
428
 
429
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:225
430
  msgid "We are processing your payment. In less than an hour we will send you the result by email."
431
  msgstr ""
432
 
433
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:227
434
  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."
435
  msgstr ""
436
 
437
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:229
438
  msgid "Check the card number."
439
  msgstr ""
440
 
441
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:231
442
  msgid "Check the expiration date."
443
  msgstr ""
444
 
445
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:233
446
  msgid "Check the information provided."
447
  msgstr ""
448
 
449
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:235, templates/checkout/custom_checkout.php:107, templates/checkout/custom_checkout.php:108
450
  msgid "Check the informed security code."
451
  msgstr ""
452
 
453
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:237, includes/payments/WC_WooMercadoPago_CustomGateway.php:243
454
  msgid "Your payment cannot be processed."
455
  msgstr ""
456
 
457
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:239
458
  msgid "You must authorize payments for your orders."
459
  msgstr ""
460
 
461
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:241
462
  msgid "Contact your card issuer to activate it. The phone is on the back of your card."
463
  msgstr ""
464
 
465
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:245
466
  msgid "You have already made a payment of this amount. If you have to pay again, use another card or other method of payment."
467
  msgstr ""
468
 
469
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:247
470
  msgid "Your payment was declined. Please select another payment method. It is recommended in cash."
471
  msgstr ""
472
 
473
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:249
474
  msgid "Your payment does not have sufficient funds."
475
  msgstr ""
476
 
477
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:251
478
  msgid "Payment cannot process the selected fee."
479
  msgstr ""
480
 
481
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:253
482
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
483
  msgstr ""
484
 
485
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:255, includes/payments/WC_WooMercadoPago_CustomGateway.php:257, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:64
486
  msgid "This payment method cannot process your payment."
487
  msgstr ""
488
 
489
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:446
490
  msgid "A problem was occurred when processing your payment. Please, try again."
491
  msgstr ""
492
 
493
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:437
494
  msgid "A problem was occurred when processing your payment. Are you sure you have correctly filled all information in the checkout form?"
495
  msgstr ""
496
 
497
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:398
498
  msgid "See your order form"
499
  msgstr ""
500
 
501
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:410
502
  msgid "Your payment was declined. You can try again."
503
  msgstr ""
504
 
505
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:415, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83
506
  msgid "Click to try again"
507
  msgstr ""
508
 
509
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:282
510
  msgid "%s, it only takes a few minutes"
511
  msgstr ""
512
 
513
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:282
514
  msgid "Approve your account"
515
  msgstr ""
516
 
517
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:359
518
  msgid "Title"
519
  msgstr ""
520
 
521
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:374
522
  msgid "Description"
523
  msgstr ""
524
 
525
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:409
526
  msgid "<b>Follow these steps to activate Mercado Pago in your store:</b>"
527
  msgstr ""
528
 
529
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:414
530
  msgid "<b>Upload your credentials</b> depending on the country in which you are registered."
531
  msgstr ""
532
 
533
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:421
534
  msgid "<b>Approve your account</b> to be able to charge."
535
  msgstr ""
536
 
537
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:428
538
  msgid "<b>Add the basic information of your business</b> in the plugin configuration."
539
  msgstr ""
540
 
541
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:435
542
  msgid "<b>Configure the payment preferences</b> for your customers."
543
  msgstr ""
544
 
545
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:442
546
  msgid "<b>Go to advanced settings</b> only when you want to change the presets."
547
  msgstr ""
548
 
549
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461
550
  msgid "Credentials are the keys we provide you to integrate quickly <br>and securely. You must have a %s in Mercado Pago to obtain and collect them <br>on your website. You do not need to know how to design or program to do it"
551
  msgstr ""
552
 
553
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462
554
  msgid "approved account"
555
  msgstr ""
556
 
557
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:479
558
  msgid "In which country does your Mercado Pago account operate?"
559
  msgstr ""
560
 
561
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:508
562
  msgid "Select your country"
563
  msgstr ""
564
 
565
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:510
566
  msgid "Select the country in which you operate with Mercado Pago"
567
  msgstr ""
568
 
569
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:546, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:550
570
  msgid "Save Changes"
571
  msgstr ""
572
 
573
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:568
574
  msgid "Activate checkout"
575
  msgstr ""
576
 
577
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:571
578
  msgid "Activate the Mercado Pago experience at the checkout of your store."
579
  msgstr ""
580
 
581
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:586
582
  msgid "Enter your credentials and choose how to operate"
583
  msgstr ""
584
 
585
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:599
586
  msgid "Test Mode"
587
  msgstr ""
588
 
589
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:612
590
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
591
  msgstr ""
592
 
593
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:625
594
  msgid "Production Mode"
595
  msgstr ""
596
 
597
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:638
598
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
599
  msgstr ""
600
 
601
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:652
602
  msgid "Production"
603
  msgstr ""
604
 
605
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:654
606
  msgid "Choose “Yes” only when you’re ready to sell. Switch to “No” to activate Testing mode."
607
  msgstr ""
608
 
609
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:676
610
  msgid "Load credentials"
611
  msgstr ""
612
 
613
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:680
614
  msgid "Search my credentials"
615
  msgstr ""
616
 
617
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:699
618
  msgid "Test credentials"
619
  msgstr ""
620
 
621
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:711
622
  msgid "With these keys you can do the tests you want.."
623
  msgstr ""
624
 
625
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:724, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:781
626
  msgid "Public key"
627
  msgstr ""
628
 
629
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:740, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:798
630
  msgid "Access token"
631
  msgstr ""
632
 
633
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:756
634
  msgid "Production credentials"
635
  msgstr ""
636
 
637
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:768
638
  msgid "With these keys you can receive real payments from your customers."
639
  msgstr ""
640
 
641
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:815
642
  msgid "Approve your account, it will only take a few minutes"
643
  msgstr ""
644
 
645
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:828
646
  msgid "Complete this process to secure your customers data and comply with the regulations<br> and legal provisions of each country."
647
  msgstr ""
648
 
649
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:842, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1186
650
  msgid "%s"
651
  msgstr ""
652
 
653
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:843
654
  msgid "Homologate account in Mercado Pago"
655
  msgstr ""
656
 
657
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:857
658
  msgid "Store name"
659
  msgstr ""
660
 
661
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:859
662
  msgid "This name will appear on your customers invoice."
663
  msgstr ""
664
 
665
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:860
666
  msgid "Mercado Pago"
667
  msgstr ""
668
 
669
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:876
670
  msgid "Store Category"
671
  msgstr ""
672
 
673
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:878
674
  msgid "What category do your products belong to? Choose the one that best characterizes them (choose \"other\" if your product is too specific)."
675
  msgstr ""
676
 
677
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:879
678
  msgid "Categories"
679
  msgstr ""
680
 
681
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:891
682
  msgid "Store ID"
683
  msgstr ""
684
 
685
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:893
686
  msgid "Use a number or prefix to identify orders and payments from this store."
687
  msgstr ""
688
 
689
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:906
690
  msgid "Integrator ID"
691
  msgstr ""
692
 
693
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:909
694
  msgid "Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s"
695
  msgstr ""
696
 
697
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:910
698
  msgid "request it now."
699
  msgstr ""
700
 
701
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:924
702
  msgid "Advanced adjustment"
703
  msgstr ""
704
 
705
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:937
706
  msgid "Debug and Log mode"
707
  msgstr ""
708
 
709
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:940
710
  msgid "Record your store actions in our changes file to have more support information."
711
  msgstr ""
712
 
713
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:941
714
  msgid "We debug the information in our change file."
715
  msgstr ""
716
 
717
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:956
718
  msgid "Basic Configuration"
719
  msgstr ""
720
 
721
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:969
722
  msgid "Max of installments"
723
  msgstr ""
724
 
725
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:971
726
  msgid "What is the maximum quota with which a customer can buy?"
727
  msgstr ""
728
 
729
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:974
730
  msgid "1x installment"
731
  msgstr ""
732
 
733
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:975
734
  msgid "2x installments"
735
  msgstr ""
736
 
737
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:976
738
  msgid "3x installments"
739
  msgstr ""
740
 
741
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:977
742
  msgid "4x installments"
743
  msgstr ""
744
 
745
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:978
746
  msgid "5x installments"
747
  msgstr ""
748
 
749
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:979
750
  msgid "6x installments"
751
  msgstr ""
752
 
753
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:980
754
  msgid "10x installments"
755
  msgstr ""
756
 
757
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:981
758
  msgid "12x installments"
759
  msgstr ""
760
 
761
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:982
762
  msgid "15x installments"
763
  msgstr ""
764
 
765
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:983
766
  msgid "18x installments"
767
  msgstr ""
768
 
769
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:984
770
  msgid "24x installments"
771
  msgstr ""
772
 
773
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1013
774
  msgid "URL for IPN"
775
  msgstr ""
776
 
777
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1016
778
  msgid "Enter a URL to receive payment notifications. In %s you can check more information."
779
  msgstr ""
780
 
781
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1017
782
  msgid "our guides"
783
  msgstr ""
784
 
785
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1032
786
  msgid "Edit these advanced fields only when you want to modify the preset values."
787
  msgstr ""
788
 
789
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1045
790
  msgid "Discount coupons"
791
  msgstr ""
792
 
793
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1048
794
  msgid "Will you offer discount coupons to customers who buy with Mercado Pago?"
795
  msgstr ""
796
 
797
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1063
798
  msgid "It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it."
799
  msgstr ""
800
 
801
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1064
802
  msgid "Market Payment Configuration"
803
  msgstr ""
804
 
805
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1078
806
  msgid "Binary mode"
807
  msgstr ""
808
 
809
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1081
810
  msgid "Accept and reject payments automatically. Do you want us to activate it?"
811
  msgstr ""
812
 
813
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1097
814
  msgid "Discounts per purchase with Mercado Pago"
815
  msgstr ""
816
 
817
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1099
818
  msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago."
819
  msgstr ""
820
 
821
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1116
822
  msgid "Commission for purchase with Mercado Pago"
823
  msgstr ""
824
 
825
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1118
826
  msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago."
827
  msgstr ""
828
 
829
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
830
  msgid "Everything set up? Go to your store in Sandbox mode"
831
  msgstr ""
832
 
833
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1141
834
  msgid "Everything ready for the takeoff of your sales?"
835
  msgstr ""
836
 
837
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1162
838
  msgid "Visit your store and simulate a payment to check that everything is fine."
839
  msgstr ""
840
 
841
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1160
842
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
843
  msgstr ""
844
 
845
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1181
846
  msgid "I want to test my sales"
847
  msgstr ""
848
 
849
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1179
850
  msgid "Visit my store"
851
  msgstr ""
852
 
@@ -858,71 +878,71 @@ msgstr ""
858
  msgid "Pay with cash"
859
  msgstr ""
860
 
861
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:195
862
  msgid "Checkout of payments with cash %s"
863
  msgstr ""
864
 
865
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:198
866
  msgid "Accept face-to-face payments, do not leave anyone out!"
867
  msgstr ""
868
 
869
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:202
870
  msgid "Include this preferred purchase option by some customers."
871
  msgstr ""
872
 
873
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:232
874
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
875
  msgstr ""
876
 
877
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:245
878
  msgid "Set payment preferences with cash"
879
  msgstr ""
880
 
881
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:258
882
  msgid "Advanced configuration of the cash payment experience"
883
  msgstr ""
884
 
885
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:271
886
  msgid "Reduce inventory"
887
  msgstr ""
888
 
889
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:274
890
  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."
891
  msgstr ""
892
 
893
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:288
894
  msgid "Payment Due"
895
  msgstr ""
896
 
897
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:290
898
  msgid "In how many days will cash payments expire."
899
  msgstr ""
900
 
901
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:319
902
  msgid "All payment methods"
903
  msgstr ""
904
 
905
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:468, includes/payments/WC_WooMercadoPago_TicketGateway.php:486
906
  msgid "There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?"
907
  msgstr ""
908
 
909
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:555
910
  msgid "A problem occurred when processing your payment. Please try again."
911
  msgstr ""
912
 
913
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:541
914
  msgid "A problem occurred when processing your payment. Are you sure you have correctly filled in all the information on the checkout form?"
915
  msgstr ""
916
 
917
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:518
918
  msgid "The customer has not paid yet."
919
  msgstr ""
920
 
921
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:523
922
  msgid "To print the ticket again click"
923
  msgstr ""
924
 
925
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:526
926
  msgid "here"
927
  msgstr ""
928
 
@@ -1141,22 +1161,34 @@ msgstr ""
1141
  msgid "Select the issuer with whom you want to process the payment"
1142
  msgstr ""
1143
 
1144
- #: includes/admin/notices/WC_WooMercadoPago_Notices.php:80, includes/admin/notices/WC_WooMercadoPago_Notices.php:135
1145
  msgid "Discard"
1146
  msgstr ""
1147
 
1148
- #: includes/admin/notices/WC_WooMercadoPago_Notices.php:111
1149
  msgid "See WooCommerce"
1150
  msgstr ""
1151
 
1152
- #: includes/admin/notices/WC_WooMercadoPago_Notices.php:109
1153
  msgid "Install WooCommerce"
1154
  msgstr ""
1155
 
1156
- #: includes/admin/notices/WC_WooMercadoPago_Notices.php:106
1157
  msgid "Activate WooCommerce"
1158
  msgstr ""
1159
 
 
 
 
 
 
 
 
 
 
 
 
 
1160
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:225
1161
  msgid "Shipping service used by the store."
1162
  msgstr ""
@@ -1173,19 +1205,19 @@ msgstr ""
1173
  msgid " and fee of"
1174
  msgstr ""
1175
 
1176
- #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:324
1177
  msgid "<b>Public Key</b> production credential is invalid. Review the field to receive real payments."
1178
  msgstr ""
1179
 
1180
- #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:334
1181
  msgid "<b>Public Key</b> test credential is invalid. Review the field to perform tests in your store."
1182
  msgstr ""
1183
 
1184
- #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:344
1185
  msgid "<b>Access Token</b> production credential is invalid. Remember that it must be complete to receive real payments."
1186
  msgstr ""
1187
 
1188
- #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:354
1189
  msgid "<b>Access Token</b> test credential is invalid. Review the field to perform tests in your store."
1190
  msgstr ""
1191
 
22
  msgid "Convert Currency"
23
  msgstr ""
24
 
25
+ #: 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
26
  msgid "No"
27
  msgstr ""
28
 
29
+ #: 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
30
  msgid "Yes"
31
  msgstr ""
32
 
42
  msgid "<b>Attention:</b> 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."
43
  msgstr ""
44
 
45
+ #: includes/module/WC_WooMercadoPago_Configs.php:103
46
  msgid "Update your credentials with the Access Token and Public Key, you need them to continue receiving payments!"
47
  msgstr ""
48
 
49
+ #: includes/module/WC_WooMercadoPago_Configs.php:113
50
  msgid "The store should have HTTPS in order to activate both Checkout Personalizado and Ticket Checkout."
51
  msgstr ""
52
 
53
+ #: includes/module/WC_WooMercadoPago_Init.php:37
54
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
55
  msgstr ""
56
 
57
+ #: includes/module/WC_WooMercadoPago_Init.php:47
58
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
59
  msgstr ""
60
 
61
+ #: includes/module/WC_WooMercadoPago_Init.php:59
62
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
63
  msgstr ""
64
 
65
+ #: includes/module/WC_WooMercadoPago_Init.php:67
66
  msgid "Cancel order"
67
  msgstr ""
68
 
69
+ #: includes/module/WC_WooMercadoPago_Module.php:241, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:363
70
  msgid "Fill in your credentials to enable payment methods."
71
  msgstr ""
72
 
154
  msgid "for"
155
  msgstr ""
156
 
157
+ #: includes/module/WC_WooMercadoPago_Module.php:557, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:536
158
  msgid "Colombia"
159
  msgstr ""
160
 
161
+ #: includes/module/WC_WooMercadoPago_Module.php:559, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:533
162
  msgid "Argentina"
163
  msgstr ""
164
 
165
+ #: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:534
166
  msgid "Brazil"
167
  msgstr ""
168
 
169
+ #: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:535
170
  msgid "Chile"
171
  msgstr ""
172
 
173
+ #: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:537
174
  msgid "Mexico"
175
  msgstr ""
176
 
177
+ #: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:539
178
  msgid "Uruguay"
179
  msgstr ""
180
 
182
  msgid "Venezuela"
183
  msgstr ""
184
 
185
+ #: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:538
186
  msgid "Peru"
187
  msgstr ""
188
 
266
  msgid "Pay with the payment method you prefer"
267
  msgstr ""
268
 
269
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:246
270
  msgid "Mercado Pago checkout %s"
271
  msgstr ""
272
 
273
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:249
274
  msgid "Accept all method of payment and take your charges to another level"
275
  msgstr ""
276
 
277
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:253
278
  msgid "Turn your online store into your customers preferred payment gateway. Choose if the final payment experience will be inside or outside your store."
279
  msgstr ""
280
 
281
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:270, includes/payments/WC_WooMercadoPago_TicketGateway.php:224
282
  msgid "Configure Mercado Pago for WooCommerce"
283
  msgstr ""
284
 
285
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:283
286
  msgid "Enable the experience of the Mercado Pago Checkout in your online store, select the means of payment available to your customers and<br> define the maximum fees in which they can pay you."
287
  msgstr ""
288
 
289
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:296
290
  msgid "Set payment preferences in your store"
291
  msgstr ""
292
 
293
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:309
294
  msgid "Advanced settings"
295
  msgstr ""
296
 
297
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:322
298
  msgid "Payment experience"
299
  msgstr ""
300
 
301
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:324
302
  msgid "Define what payment experience your customers will have, whether inside or outside your store."
303
  msgstr ""
304
 
305
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:327
306
  msgid "Redirect"
307
  msgstr ""
308
 
309
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:328
310
  msgid "Modal"
311
  msgstr ""
312
 
313
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:344
314
  msgid "Choose the URL that we will show your customers when they finish their purchase."
315
  msgstr ""
316
 
317
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:342, includes/payments/WC_WooMercadoPago_BasicGateway.php:362, includes/payments/WC_WooMercadoPago_BasicGateway.php:383
318
  msgid "This seems to be an invalid URL."
319
  msgstr ""
320
 
321
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:347
322
  msgid "Success URL"
323
  msgstr ""
324
 
325
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:364
326
  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."
327
  msgstr ""
328
 
329
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:367
330
  msgid "Payment URL rejected"
331
  msgstr ""
332
 
333
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:385
334
  msgid "Choose the URL that we will show to your customers when they have a payment pending approval."
335
  msgstr ""
336
 
337
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:388
338
  msgid "Payment URL pending"
339
  msgstr ""
340
 
341
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:468
342
  msgid "Select offline payments"
343
  msgstr ""
344
 
345
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:457
346
  msgid "Select debit cards"
347
  msgstr ""
348
 
349
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:446
350
  msgid "Select credit cards"
351
  msgstr ""
352
 
353
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:475, includes/payments/WC_WooMercadoPago_TicketGateway.php:331
354
  msgid "Payment methods"
355
  msgstr ""
356
 
357
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:476, includes/payments/WC_WooMercadoPago_TicketGateway.php:332
358
  msgid "Choose the available payment methods in your store."
359
  msgstr ""
360
 
361
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:479, includes/payments/WC_WooMercadoPago_TicketGateway.php:335
362
  msgid "Activate the available payment methods to your clients."
363
  msgstr ""
364
 
365
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:499
366
  msgid "Return to the store"
367
  msgstr ""
368
 
369
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:502
370
  msgid "Do you want your customer to automatically return to the store after payment?"
371
  msgstr ""
372
 
373
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:531
374
  msgid "installments"
375
  msgstr ""
376
 
377
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:535
378
  msgid "installment"
379
  msgstr ""
380
 
381
+ #: 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
382
  msgid "discount of"
383
  msgstr ""
384
 
385
+ #: 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
386
  msgid "fee of"
387
  msgstr ""
388
 
398
  msgid "Pay with debit and credit cards"
399
  msgstr ""
400
 
401
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:163
402
  msgid "Checkout of payments with debit and credit cards %s"
403
  msgstr ""
404
 
405
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:166
406
  msgid "Accept payments instantly and maximize the conversion of your business"
407
  msgstr ""
408
 
409
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:170
410
  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!"
411
  msgstr ""
412
 
413
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:187
414
  msgid "Set up the payment experience in your store"
415
  msgstr ""
416
 
417
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:200
418
  msgid "Configure the personalized payment experience in your store"
419
  msgstr ""
420
 
421
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:213
422
  msgid "Advanced configuration of the personalized payment experience\""
423
  msgstr ""
424
 
425
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:228
426
  msgid "That’s it, payment accepted!"
427
  msgstr ""
428
 
429
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:230
430
  msgid "We are processing your payment. In less than an hour we will send you the result by email."
431
  msgstr ""
432
 
433
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:232
434
  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."
435
  msgstr ""
436
 
437
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:234
438
  msgid "Check the card number."
439
  msgstr ""
440
 
441
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:236
442
  msgid "Check the expiration date."
443
  msgstr ""
444
 
445
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:238
446
  msgid "Check the information provided."
447
  msgstr ""
448
 
449
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:240, templates/checkout/custom_checkout.php:107, templates/checkout/custom_checkout.php:108
450
  msgid "Check the informed security code."
451
  msgstr ""
452
 
453
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:242, includes/payments/WC_WooMercadoPago_CustomGateway.php:248
454
  msgid "Your payment cannot be processed."
455
  msgstr ""
456
 
457
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:244
458
  msgid "You must authorize payments for your orders."
459
  msgstr ""
460
 
461
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:246
462
  msgid "Contact your card issuer to activate it. The phone is on the back of your card."
463
  msgstr ""
464
 
465
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:250
466
  msgid "You have already made a payment of this amount. If you have to pay again, use another card or other method of payment."
467
  msgstr ""
468
 
469
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:252
470
  msgid "Your payment was declined. Please select another payment method. It is recommended in cash."
471
  msgstr ""
472
 
473
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:254
474
  msgid "Your payment does not have sufficient funds."
475
  msgstr ""
476
 
477
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:256
478
  msgid "Payment cannot process the selected fee."
479
  msgstr ""
480
 
481
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:258
482
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
483
  msgstr ""
484
 
485
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:260, includes/payments/WC_WooMercadoPago_CustomGateway.php:262, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:64
486
  msgid "This payment method cannot process your payment."
487
  msgstr ""
488
 
489
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:451
490
  msgid "A problem was occurred when processing your payment. Please, try again."
491
  msgstr ""
492
 
493
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:442
494
  msgid "A problem was occurred when processing your payment. Are you sure you have correctly filled all information in the checkout form?"
495
  msgstr ""
496
 
497
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:403
498
  msgid "See your order form"
499
  msgstr ""
500
 
501
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:415
502
  msgid "Your payment was declined. You can try again."
503
  msgstr ""
504
 
505
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:420, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83
506
  msgid "Click to try again"
507
  msgstr ""
508
 
509
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:298
510
  msgid "%s, it only takes a few minutes"
511
  msgstr ""
512
 
513
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:298
514
  msgid "Approve your account"
515
  msgstr ""
516
 
517
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:379
518
  msgid "Title"
519
  msgstr ""
520
 
521
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:394
522
  msgid "Description"
523
  msgstr ""
524
 
525
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:429
526
  msgid "<b>Follow these steps to activate Mercado Pago in your store:</b>"
527
  msgstr ""
528
 
529
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:434
530
  msgid "<b>Upload your credentials</b> depending on the country in which you are registered."
531
  msgstr ""
532
 
533
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:441
534
  msgid "<b>Approve your account</b> to be able to charge."
535
  msgstr ""
536
 
537
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:448
538
  msgid "<b>Add the basic information of your business</b> in the plugin configuration."
539
  msgstr ""
540
 
541
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:455
542
  msgid "<b>Configure the payment preferences</b> for your customers."
543
  msgstr ""
544
 
545
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:462
546
  msgid "<b>Go to advanced settings</b> only when you want to change the presets."
547
  msgstr ""
548
 
549
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:481
550
  msgid "Credentials are the keys we provide you to integrate quickly <br>and securely. You must have a %s in Mercado Pago to obtain and collect them <br>on your website. You do not need to know how to design or program to do it"
551
  msgstr ""
552
 
553
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:482
554
  msgid "approved account"
555
  msgstr ""
556
 
557
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:499
558
  msgid "In which country does your Mercado Pago account operate?"
559
  msgstr ""
560
 
561
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:528
562
  msgid "Select your country"
563
  msgstr ""
564
 
565
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:530
566
  msgid "Select the country in which you operate with Mercado Pago"
567
  msgstr ""
568
 
569
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:566, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:570
570
  msgid "Save Changes"
571
  msgstr ""
572
 
573
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:588
574
  msgid "Activate checkout"
575
  msgstr ""
576
 
577
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:591
578
  msgid "Activate the Mercado Pago experience at the checkout of your store."
579
  msgstr ""
580
 
581
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:606
582
  msgid "Enter your credentials and choose how to operate"
583
  msgstr ""
584
 
585
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:619
586
  msgid "Test Mode"
587
  msgstr ""
588
 
589
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:632
590
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
591
  msgstr ""
592
 
593
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:645
594
  msgid "Production Mode"
595
  msgstr ""
596
 
597
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:658
598
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
599
  msgstr ""
600
 
601
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:672
602
  msgid "Production"
603
  msgstr ""
604
 
605
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:674
606
  msgid "Choose “Yes” only when you’re ready to sell. Switch to “No” to activate Testing mode."
607
  msgstr ""
608
 
609
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:696
610
  msgid "Load credentials"
611
  msgstr ""
612
 
613
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:700
614
  msgid "Search my credentials"
615
  msgstr ""
616
 
617
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:719
618
  msgid "Test credentials"
619
  msgstr ""
620
 
621
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:731
622
  msgid "With these keys you can do the tests you want.."
623
  msgstr ""
624
 
625
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:744, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:801
626
  msgid "Public key"
627
  msgstr ""
628
 
629
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:760, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:818
630
  msgid "Access token"
631
  msgstr ""
632
 
633
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:776
634
  msgid "Production credentials"
635
  msgstr ""
636
 
637
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:788
638
  msgid "With these keys you can receive real payments from your customers."
639
  msgstr ""
640
 
641
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:835
642
  msgid "Approve your account, it will only take a few minutes"
643
  msgstr ""
644
 
645
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:848
646
  msgid "Complete this process to secure your customers data and comply with the regulations<br> and legal provisions of each country."
647
  msgstr ""
648
 
649
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:862, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1190, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1268
650
  msgid "%s"
651
  msgstr ""
652
 
653
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:863
654
  msgid "Homologate account in Mercado Pago"
655
  msgstr ""
656
 
657
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:877
658
  msgid "Store name"
659
  msgstr ""
660
 
661
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:879
662
  msgid "This name will appear on your customers invoice."
663
  msgstr ""
664
 
665
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:880
666
  msgid "Mercado Pago"
667
  msgstr ""
668
 
669
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:896
670
  msgid "Store Category"
671
  msgstr ""
672
 
673
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:898
674
  msgid "What category do your products belong to? Choose the one that best characterizes them (choose \"other\" if your product is too specific)."
675
  msgstr ""
676
 
677
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:899
678
  msgid "Categories"
679
  msgstr ""
680
 
681
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:911
682
  msgid "Store ID"
683
  msgstr ""
684
 
685
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:913
686
  msgid "Use a number or prefix to identify orders and payments from this store."
687
  msgstr ""
688
 
689
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:926
690
  msgid "Integrator ID"
691
  msgstr ""
692
 
693
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:929
694
  msgid "Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s"
695
  msgstr ""
696
 
697
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:930
698
  msgid "request it now."
699
  msgstr ""
700
 
701
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:944
702
  msgid "Advanced adjustment"
703
  msgstr ""
704
 
705
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:957
706
  msgid "Debug and Log mode"
707
  msgstr ""
708
 
709
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:960
710
  msgid "Record your store actions in our changes file to have more support information."
711
  msgstr ""
712
 
713
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:961
714
  msgid "We debug the information in our change file."
715
  msgstr ""
716
 
717
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:976
718
  msgid "Basic Configuration"
719
  msgstr ""
720
 
721
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:989
722
  msgid "Max of installments"
723
  msgstr ""
724
 
725
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:991
726
  msgid "What is the maximum quota with which a customer can buy?"
727
  msgstr ""
728
 
729
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:994
730
  msgid "1x installment"
731
  msgstr ""
732
 
733
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:995
734
  msgid "2x installments"
735
  msgstr ""
736
 
737
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:996
738
  msgid "3x installments"
739
  msgstr ""
740
 
741
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:997
742
  msgid "4x installments"
743
  msgstr ""
744
 
745
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:998
746
  msgid "5x installments"
747
  msgstr ""
748
 
749
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:999
750
  msgid "6x installments"
751
  msgstr ""
752
 
753
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1000
754
  msgid "10x installments"
755
  msgstr ""
756
 
757
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1001
758
  msgid "12x installments"
759
  msgstr ""
760
 
761
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1002
762
  msgid "15x installments"
763
  msgstr ""
764
 
765
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1003
766
  msgid "18x installments"
767
  msgstr ""
768
 
769
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1004
770
  msgid "24x installments"
771
  msgstr ""
772
 
773
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1033
774
  msgid "URL for IPN"
775
  msgstr ""
776
 
777
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1036
778
  msgid "Enter a URL to receive payment notifications. In %s you can check more information."
779
  msgstr ""
780
 
781
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1037
782
  msgid "our guides"
783
  msgstr ""
784
 
785
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1052
786
  msgid "Edit these advanced fields only when you want to modify the preset values."
787
  msgstr ""
788
 
789
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1065
790
  msgid "Discount coupons"
791
  msgstr ""
792
 
793
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1068
794
  msgid "Will you offer discount coupons to customers who buy with Mercado Pago?"
795
  msgstr ""
796
 
797
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1083
798
  msgid "It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it."
799
  msgstr ""
800
 
801
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1084
802
  msgid "Market Payment Configuration"
803
  msgstr ""
804
 
805
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1098
806
  msgid "Binary mode"
807
  msgstr ""
808
 
809
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1101
810
  msgid "Accept and reject payments automatically. Do you want us to activate it?"
811
  msgstr ""
812
 
813
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1117
814
  msgid "Discounts per purchase with Mercado Pago"
815
  msgstr ""
816
 
817
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1119
818
  msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago."
819
  msgstr ""
820
 
821
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1136
822
  msgid "Commission for purchase with Mercado Pago"
823
  msgstr ""
824
 
825
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1138
826
  msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago."
827
  msgstr ""
828
 
829
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1159
830
+ msgid "Questions?"
831
+ msgstr ""
832
+
833
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1173
834
+ msgid "Check out the step-by-step of how to integrate the Mercado Pago Plugin for WooCommerce in our developer website."
835
+ msgstr ""
836
+
837
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1187
838
+ msgid "Review documentation"
839
+ msgstr ""
840
+
841
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1205
842
+ msgid "Still having problems? Contact our support team through their %s"
843
+ msgstr ""
844
+
845
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1206
846
+ msgid "contact form."
847
+ msgstr ""
848
+
849
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1225
850
  msgid "Everything set up? Go to your store in Sandbox mode"
851
  msgstr ""
852
 
853
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1223
854
  msgid "Everything ready for the takeoff of your sales?"
855
  msgstr ""
856
 
857
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1244
858
  msgid "Visit your store and simulate a payment to check that everything is fine."
859
  msgstr ""
860
 
861
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1242
862
  msgid "Visit your store as if you were one of your customers and check that everything is fine. If you already went to Production,<br> bring your customers and increase your sales with the best online shopping experience."
863
  msgstr ""
864
 
865
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1263
866
  msgid "I want to test my sales"
867
  msgstr ""
868
 
869
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1261
870
  msgid "Visit my store"
871
  msgstr ""
872
 
878
  msgid "Pay with cash"
879
  msgstr ""
880
 
881
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:200
882
  msgid "Checkout of payments with cash %s"
883
  msgstr ""
884
 
885
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
886
  msgid "Accept face-to-face payments, do not leave anyone out!"
887
  msgstr ""
888
 
889
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:207
890
  msgid "Include this preferred purchase option by some customers."
891
  msgstr ""
892
 
893
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:237
894
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
895
  msgstr ""
896
 
897
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:250
898
  msgid "Set payment preferences with cash"
899
  msgstr ""
900
 
901
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:263
902
  msgid "Advanced configuration of the cash payment experience"
903
  msgstr ""
904
 
905
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:276
906
  msgid "Reduce inventory"
907
  msgstr ""
908
 
909
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:279
910
  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."
911
  msgstr ""
912
 
913
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:293
914
  msgid "Payment Due"
915
  msgstr ""
916
 
917
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:295
918
  msgid "In how many days will cash payments expire."
919
  msgstr ""
920
 
921
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:324
922
  msgid "All payment methods"
923
  msgstr ""
924
 
925
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:473, includes/payments/WC_WooMercadoPago_TicketGateway.php:491
926
  msgid "There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?"
927
  msgstr ""
928
 
929
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:560
930
  msgid "A problem occurred when processing your payment. Please try again."
931
  msgstr ""
932
 
933
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:546
934
  msgid "A problem occurred when processing your payment. Are you sure you have correctly filled in all the information on the checkout form?"
935
  msgstr ""
936
 
937
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:523
938
  msgid "The customer has not paid yet."
939
  msgstr ""
940
 
941
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:528
942
  msgid "To print the ticket again click"
943
  msgstr ""
944
 
945
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:531
946
  msgid "here"
947
  msgstr ""
948
 
1161
  msgid "Select the issuer with whom you want to process the payment"
1162
  msgstr ""
1163
 
1164
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:88, includes/admin/notices/WC_WooMercadoPago_Notices.php:143, includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:120
1165
  msgid "Discard"
1166
  msgstr ""
1167
 
1168
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:119
1169
  msgid "See WooCommerce"
1170
  msgstr ""
1171
 
1172
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:117
1173
  msgid "Install WooCommerce"
1174
  msgstr ""
1175
 
1176
+ #: includes/admin/notices/WC_WooMercadoPago_Notices.php:114
1177
  msgid "Activate WooCommerce"
1178
  msgstr ""
1179
 
1180
+ #: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:103
1181
+ msgid "do you have a minute to share your experience with our plugin?"
1182
+ msgstr ""
1183
+
1184
+ #: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:106
1185
+ msgid "Your opinion is very important so that we can offer you the best possible payment solution and continue to improve."
1186
+ msgstr ""
1187
+
1188
+ #: includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php:115
1189
+ msgid "Rate the plugin"
1190
+ msgstr ""
1191
+
1192
  #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:225
1193
  msgid "Shipping service used by the store."
1194
  msgstr ""
1205
  msgid " and fee of"
1206
  msgstr ""
1207
 
1208
+ #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:323
1209
  msgid "<b>Public Key</b> production credential is invalid. Review the field to receive real payments."
1210
  msgstr ""
1211
 
1212
+ #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:333
1213
  msgid "<b>Public Key</b> test credential is invalid. Review the field to perform tests in your store."
1214
  msgstr ""
1215
 
1216
+ #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:343
1217
  msgid "<b>Access Token</b> production credential is invalid. Remember that it must be complete to receive real payments."
1218
  msgstr ""
1219
 
1220
+ #: includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:353
1221
  msgid "<b>Access Token</b> test credential is invalid. Review the field to perform tests in your store."
1222
  msgstr ""
1223
 
includes/admin/notices/WC_WooMercadoPago_Notices.php CHANGED
@@ -25,10 +25,10 @@ class WC_WooMercadoPago_Notices
25
  }
26
 
27
  /**
28
- * @return WC_WooMercadoPago_Module|null
29
  * Singleton
30
  */
31
- public static function initMercadopagoNnotice()
32
  {
33
  if (self::$instance === null) {
34
  self::$instance = new self;
@@ -37,12 +37,20 @@ class WC_WooMercadoPago_Notices
37
  }
38
 
39
  /**
40
- *
 
 
 
 
 
 
 
 
41
  */
42
  public function loadAdminNoticeCss()
43
  {
44
  if (is_admin()) {
45
- $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
46
 
47
  wp_enqueue_style(
48
  'woocommerce-mercadopago-admin-notice',
25
  }
26
 
27
  /**
28
+ * @return WC_WooMercadoPago_Notices|null
29
  * Singleton
30
  */
31
+ public static function initMercadopagoNotice()
32
  {
33
  if (self::$instance === null) {
34
  self::$instance = new self;
37
  }
38
 
39
  /**
40
+ * Get sufix to static files
41
+ */
42
+ public function getSufix()
43
+ {
44
+ return defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
45
+ }
46
+
47
+ /**
48
+ * Load admin notices CSS
49
  */
50
  public function loadAdminNoticeCss()
51
  {
52
  if (is_admin()) {
53
+ $suffix = $this->getSufix();
54
 
55
  wp_enqueue_style(
56
  'woocommerce-mercadopago-admin-notice',
includes/admin/notices/WC_WooMercadoPago_ReviewNotice.php ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Part of Woo Mercado Pago Module
5
+ * Author - Mercado Pago
6
+ * Developer
7
+ * Copyright - Copyright(c) MercadoPago [https://www.mercadopago.com]
8
+ * License - https://www.gnu.org/licenses/gpl.html GPL version 2 or higher
9
+ */
10
+
11
+ if (!defined('ABSPATH')) {
12
+ exit;
13
+ }
14
+
15
+ /**
16
+ * Class WC_WooMercadoPago_ReviewNotice
17
+ */
18
+ class WC_WooMercadoPago_ReviewNotice
19
+ {
20
+ public static $instance = null;
21
+
22
+ private function __construct()
23
+ {
24
+ add_action('admin_enqueue_scripts', [$this, 'loadAdminNoticeCss']);
25
+ add_action('admin_enqueue_scripts', [$this, 'loadAdminNoticeJs']);
26
+ add_action('wp_ajax_mercadopago_review_dismiss', [$this, 'reviewDismiss']);
27
+ }
28
+
29
+ /**
30
+ * @return WC_WooMercadoPago_ReviewNotice|null
31
+ * Singleton
32
+ */
33
+ public static function initMercadopagoReviewNotice()
34
+ {
35
+ if (self::$instance === null) {
36
+ self::$instance = new self;
37
+ }
38
+ return self::$instance;
39
+ }
40
+
41
+ /**
42
+ * Get sufix to static files
43
+ */
44
+ public function getSufix()
45
+ {
46
+ return defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
47
+ }
48
+
49
+ /**
50
+ * Load admin notices CSS
51
+ */
52
+ public function loadAdminNoticeCss()
53
+ {
54
+ if (is_admin()) {
55
+ $suffix = $this->getSufix();
56
+
57
+ wp_enqueue_style(
58
+ 'woocommerce-mercadopago-admin-notice',
59
+ plugins_url('../../assets/css/admin_notice_mercadopago' . $suffix . '.css', plugin_dir_path(__FILE__))
60
+ );
61
+ }
62
+ }
63
+
64
+ /**
65
+ * Load admin notices JS
66
+ */
67
+ public function loadAdminNoticeJs()
68
+ {
69
+ if (is_admin()) {
70
+ $suffix = $this->getSufix();
71
+
72
+ wp_enqueue_script(
73
+ 'woocommerce-mercadopago-admin-notice-review',
74
+ plugins_url('../../assets/js/review'.$suffix.'.js', plugin_dir_path(__FILE__)),
75
+ array(),
76
+ WC_WooMercadoPago_Constants::VERSION
77
+ );
78
+ }
79
+ }
80
+
81
+ /**
82
+ * @return string
83
+ */
84
+ public static function getPluginReviewBanner()
85
+ {
86
+ $inline = null;
87
+ if (
88
+ (class_exists('WC_WooMercadoPago_Module') && WC_WooMercadoPago_Module::isWcNewVersion()) &&
89
+ (isset($_GET['page']) && $_GET['page'] == "wc-settings")
90
+ ) {
91
+ $inline = "inline";
92
+ }
93
+
94
+ $notice = '<div id="message" class="notice is-dismissible mp-rating-notice ' . $inline . '">
95
+ <div class="mp-rating-frame">
96
+ <div class="mp-left-rating">
97
+ <div>
98
+ <img src="' . plugins_url('../../assets/images/minilogo.png', plugin_dir_path(__FILE__)) . '">
99
+ </div>
100
+ <div class="mp-left-rating-text">
101
+ <p class="mp-rating-title">' .
102
+ wp_get_current_user()->user_login . ', ' .
103
+ __('do you have a minute to share your experience with our plugin?', 'woocommerce-mercadopago') .
104
+ '</p>
105
+ <p class="mp-rating-subtitle">' .
106
+ __('Your opinion is very important so that we can offer you the best possible payment solution and continue to improve.', 'woocommerce-mercadopago') .
107
+ '</p>
108
+ </div>
109
+ </div>
110
+ <div class="mp-right-rating">
111
+ <a
112
+ class="mp-rating-link"
113
+ href="https://wordpress.org/support/plugin/woocommerce-mercadopago/reviews/?filter=5#new-post" target="blank"
114
+ >'
115
+ . __('Rate the plugin', 'woocommerce-mercadopago') .
116
+ '</a>
117
+ </div>
118
+
119
+ <button type="button" class="notice-dismiss">
120
+ <span class="screen-reader-text">' . __('Discard', 'woocommerce-mercadopago') . '</span>
121
+ </button>
122
+ </div>
123
+ </div>';
124
+
125
+ if (class_exists('WC_WooMercadoPago_Module')) {
126
+ WC_WooMercadoPago_Module::$notices[] = $notice;
127
+ }
128
+
129
+ return $notice;
130
+ }
131
+
132
+ /**
133
+ * Dismiss the review admin notice
134
+ */
135
+ public function reviewDismiss() {
136
+ $dismissedReview = (int) get_option('_mp_dismiss_review', 0);
137
+
138
+ if ($dismissedReview == 0) {
139
+ update_option('_mp_dismiss_review', 1, true);
140
+ }
141
+
142
+ wp_send_json_success();
143
+ }
144
+ }
includes/module/WC_WooMercadoPago_Configs.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
  }
6
 
7
  /**
@@ -24,6 +24,8 @@ class WC_WooMercadoPago_Configs
24
  */
25
  private function showNotices()
26
  {
 
 
27
  if (empty(get_option('_mp_public_key_prod')) && empty(get_option('_mp_access_token_prod'))) {
28
  if (!empty(get_option('_mp_client_id')) && !empty(get_option('_mp_client_secret'))) {
29
  add_action('admin_notices', array($this, 'noticeUpdateAccessToken'));
@@ -112,6 +114,18 @@ class WC_WooMercadoPago_Configs
112
  echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
113
  }
114
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  /**
116
  * UpdateToken
117
  */
@@ -224,25 +238,25 @@ class WC_WooMercadoPago_Configs
224
  {
225
  return array(
226
  'store_categories_id' =>
227
- [
228
- "art", "baby", "coupons", "donations", "computing", "cameras", "video games", "television",
229
- "car electronics", "electronics", "automotive", "entertainment", "fashion", "games", "home",
230
- "musical", "phones", "services", "learnings", "tickets", "travels", "virtual goods", "others"
231
- ],
232
  'store_categories_description' =>
233
- [
234
- "Collectibles & Art", "Toys for Baby, Stroller, Stroller Accessories, Car Safety Seats", "Coupons",
235
- "Donations", "Computers & Tablets", "Cameras & Photography", "Video Games & Consoles",
236
- "LCD, LED, Smart TV, Plasmas, TVs", "Car Audio, Car Alarm Systems & Security, Car DVRs, Car Video Players, Car PC",
237
- "Audio & Surveillance, Video & GPS, Others", "Parts & Accessories", "Music, Movies & Series, Books, Magazines & Comics, Board Games & Toys",
238
- "Men's, Women's, Kids & baby, Handbags & Accessories, Health & Beauty, Shoes, Jewelry & Watches",
239
- "Online Games & Credits", "Home appliances. Home & Garden", "Instruments & Gear",
240
- "Cell Phones & Accessories", "General services", "Trainings, Conferences, Workshops",
241
- "Tickets for Concerts, Sports, Arts, Theater, Family, Excursions tickets, Events & more",
242
- "Plane tickets, Hotel vouchers, Travel vouchers",
243
- "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",
244
- "Other categories"
245
- ]
246
  );
247
  }
248
 
@@ -252,20 +266,18 @@ class WC_WooMercadoPago_Configs
252
  */
253
  public function setPaymentGateway($methods = null)
254
  {
255
- $mp_methods = array('WC_WooMercadoPago_BasicGateway',
256
- 'WC_WooMercadoPago_CustomGateway',
257
- 'WC_WooMercadoPago_TicketGateway');
258
-
259
  global $wp;
260
  if (!empty($wp) && isset($wp->query_vars['wc-api'])) {
261
  $api_request = wc_clean($wp->query_vars['wc-api']);
262
- if (!empty($api_request) && in_array($api_request, $mp_methods)) {
263
  $methods[] = $api_request;
264
- return $methods;
265
  }
 
266
  }
267
 
268
- $methods = array_merge($mp_methods, $methods == null ? [] : $methods);
 
 
269
  return $methods;
270
  }
271
  }
1
  <?php
2
 
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
  }
6
 
7
  /**
24
  */
25
  private function showNotices()
26
  {
27
+ add_action('admin_notices', array($this, 'plugin_review'));
28
+
29
  if (empty(get_option('_mp_public_key_prod')) && empty(get_option('_mp_access_token_prod'))) {
30
  if (!empty(get_option('_mp_client_id')) && !empty(get_option('_mp_client_secret'))) {
31
  add_action('admin_notices', array($this, 'noticeUpdateAccessToken'));
114
  echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
115
  }
116
 
117
+ public function plugin_review()
118
+ {
119
+ $pagesToShow = array('dashboard', 'plugins', 'woocommerce_page_wc-settings');
120
+ $dismissedReview = (int) get_option('_mp_dismiss_review', 0);
121
+
122
+ if (!in_array(get_current_screen()->id, $pagesToShow, true) || $dismissedReview != 0) {
123
+ return false;
124
+ }
125
+
126
+ echo WC_WooMercadoPago_ReviewNotice::getPluginReviewBanner();
127
+ }
128
+
129
  /**
130
  * UpdateToken
131
  */
238
  {
239
  return array(
240
  'store_categories_id' =>
241
+ [
242
+ "art", "baby", "coupons", "donations", "computing", "cameras", "video games", "television",
243
+ "car electronics", "electronics", "automotive", "entertainment", "fashion", "games", "home",
244
+ "musical", "phones", "services", "learnings", "tickets", "travels", "virtual goods", "others"
245
+ ],
246
  'store_categories_description' =>
247
+ [
248
+ "Collectibles & Art", "Toys for Baby, Stroller, Stroller Accessories, Car Safety Seats", "Coupons",
249
+ "Donations", "Computers & Tablets", "Cameras & Photography", "Video Games & Consoles",
250
+ "LCD, LED, Smart TV, Plasmas, TVs", "Car Audio, Car Alarm Systems & Security, Car DVRs, Car Video Players, Car PC",
251
+ "Audio & Surveillance, Video & GPS, Others", "Parts & Accessories", "Music, Movies & Series, Books, Magazines & Comics, Board Games & Toys",
252
+ "Men's, Women's, Kids & baby, Handbags & Accessories, Health & Beauty, Shoes, Jewelry & Watches",
253
+ "Online Games & Credits", "Home appliances. Home & Garden", "Instruments & Gear",
254
+ "Cell Phones & Accessories", "General services", "Trainings, Conferences, Workshops",
255
+ "Tickets for Concerts, Sports, Arts, Theater, Family, Excursions tickets, Events & more",
256
+ "Plane tickets, Hotel vouchers, Travel vouchers",
257
+ "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",
258
+ "Other categories"
259
+ ]
260
  );
261
  }
262
 
266
  */
267
  public function setPaymentGateway($methods = null)
268
  {
 
 
 
 
269
  global $wp;
270
  if (!empty($wp) && isset($wp->query_vars['wc-api'])) {
271
  $api_request = wc_clean($wp->query_vars['wc-api']);
272
+ if (!empty($api_request) && in_array($api_request, ['WC_WooMercadoPago_BasicGateway', 'WC_WooMercadoPago_CustomGateway', 'WC_WooMercadoPago_TicketGateway'])) {
273
  $methods[] = $api_request;
 
274
  }
275
+ return $methods;
276
  }
277
 
278
+ $methods[] = 'WC_WooMercadoPago_BasicGateway';
279
+ $methods[] = 'WC_WooMercadoPago_CustomGateway';
280
+ $methods[] = 'WC_WooMercadoPago_TicketGateway';
281
  return $methods;
282
  }
283
  }
includes/module/WC_WooMercadoPago_Init.php CHANGED
@@ -6,7 +6,6 @@ if (!defined('ABSPATH')) {
6
 
7
  class WC_WooMercadoPago_Init
8
  {
9
-
10
  /**
11
  * Load plugin text domain.
12
  *
@@ -85,12 +84,25 @@ class WC_WooMercadoPago_Init
85
  }
86
  }
87
 
88
- public static function woocommerce_mercadopago_init()
 
 
 
89
  {
 
 
 
 
 
90
 
 
 
 
 
 
91
  self::woocommerce_mercadopago_load_plugin_textdomain();
92
  require_once dirname(__FILE__) . '../../admin/notices/WC_WooMercadoPago_Notices.php';
93
- WC_WooMercadoPago_Notices::initMercadopagoNnotice();
94
 
95
  // Check for PHP version and throw notice.
96
  if (version_compare(PHP_VERSION, '5.6', '<=')) {
@@ -114,8 +126,10 @@ class WC_WooMercadoPago_Init
114
  require_once dirname(__FILE__) . '/log/WC_WooMercadoPago_Log.php';
115
  require_once dirname(__FILE__) . '/WC_WooMercadoPago_Module.php';
116
  require_once dirname(__FILE__) . '/WC_WooMercadoPago_Credentials.php';
 
117
 
118
  WC_WooMercadoPago_Module::init_mercado_pago_class();
 
119
 
120
  add_action('woocommerce_order_actions', array(__CLASS__, 'add_mp_order_meta_box_actions'));
121
  } else {
6
 
7
  class WC_WooMercadoPago_Init
8
  {
 
9
  /**
10
  * Load plugin text domain.
11
  *
84
  }
85
  }
86
 
87
+ /**
88
+ * Activation plugin hook
89
+ */
90
+ public static function mercadopago_plugin_activation()
91
  {
92
+ $dismissedReview = (int) get_option('_mp_dismiss_review');
93
+ if (!isset($dismissedReview) || $dismissedReview == 1) {
94
+ update_option('_mp_dismiss_review', 0, true);
95
+ }
96
+ }
97
 
98
+ /**
99
+ * Init the plugin
100
+ */
101
+ public static function woocommerce_mercadopago_init()
102
+ {
103
  self::woocommerce_mercadopago_load_plugin_textdomain();
104
  require_once dirname(__FILE__) . '../../admin/notices/WC_WooMercadoPago_Notices.php';
105
+ WC_WooMercadoPago_Notices::initMercadopagoNotice();
106
 
107
  // Check for PHP version and throw notice.
108
  if (version_compare(PHP_VERSION, '5.6', '<=')) {
126
  require_once dirname(__FILE__) . '/log/WC_WooMercadoPago_Log.php';
127
  require_once dirname(__FILE__) . '/WC_WooMercadoPago_Module.php';
128
  require_once dirname(__FILE__) . '/WC_WooMercadoPago_Credentials.php';
129
+ require_once dirname(__FILE__) . '../../admin/notices/WC_WooMercadoPago_ReviewNotice.php';
130
 
131
  WC_WooMercadoPago_Module::init_mercado_pago_class();
132
+ WC_WooMercadoPago_ReviewNotice::initMercadopagoReviewNotice();
133
 
134
  add_action('woocommerce_order_actions', array(__CLASS__, 'add_mp_order_meta_box_actions'));
135
  } else {
includes/module/config/WC_WooMercadoPago_Constants.php CHANGED
@@ -12,7 +12,7 @@ class WC_WooMercadoPago_Constants
12
  const PRODUCT_ID_DESKTOP = 'BT7OF5FEOO6G01NJK3QG';
13
  const PRODUCT_ID_MOBILE = 'BT7OFH09QS3001K5A0H0';
14
  const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
15
- const VERSION = '4.5.0';
16
  const MIN_PHP = 5.6;
17
  const API_MP_BASE_URL = 'https://api.mercadopago.com';
18
  }
12
  const PRODUCT_ID_DESKTOP = 'BT7OF5FEOO6G01NJK3QG';
13
  const PRODUCT_ID_MOBILE = 'BT7OFH09QS3001K5A0H0';
14
  const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
15
+ const VERSION = '4.6.0';
16
  const MIN_PHP = 5.6;
17
  const API_MP_BASE_URL = 'https://api.mercadopago.com';
18
  }
includes/payments/WC_WooMercadoPago_BasicGateway.php CHANGED
@@ -169,6 +169,11 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
169
  'binary_mode',
170
  'gateway_discount',
171
  'commission',
 
 
 
 
 
172
  // Everything ready for the takeoff of your sales?
173
  'checkout_ready_title',
174
  'checkout_ready_description',
169
  'binary_mode',
170
  'gateway_discount',
171
  'commission',
172
+ // Support session
173
+ 'checkout_support_title',
174
+ 'checkout_support_description',
175
+ 'checkout_support_description_link',
176
+ 'checkout_support_problem',
177
  // Everything ready for the takeoff of your sales?
178
  'checkout_ready_title',
179
  'checkout_ready_description',
includes/payments/WC_WooMercadoPago_CustomGateway.php CHANGED
@@ -141,6 +141,11 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
141
  'binary_mode',
142
  'gateway_discount',
143
  'commission',
 
 
 
 
 
144
  // Everything ready for the takeoff of your sales?
145
  'checkout_ready_title',
146
  'checkout_ready_description',
@@ -305,7 +310,7 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
305
  'public_key' => $this->getPublicKey(),
306
  'coupon_mode' => isset($this->logged_user_email) ? $this->coupon_mode : 'no',
307
  'discount_action_url' => $this->discount_action_url,
308
- 'payer_email' => $this->logged_user_email,
309
  'images_path' => plugins_url('../assets/images/', plugin_dir_path(__FILE__)),
310
  'currency_ratio' => $currency_ratio,
311
  'woocommerce_currency' => get_woocommerce_currency(),
141
  'binary_mode',
142
  'gateway_discount',
143
  'commission',
144
+ // Support session
145
+ 'checkout_support_title',
146
+ 'checkout_support_description',
147
+ 'checkout_support_description_link',
148
+ 'checkout_support_problem',
149
  // Everything ready for the takeoff of your sales?
150
  'checkout_ready_title',
151
  'checkout_ready_description',
310
  'public_key' => $this->getPublicKey(),
311
  'coupon_mode' => isset($this->logged_user_email) ? $this->coupon_mode : 'no',
312
  'discount_action_url' => $this->discount_action_url,
313
+ 'payer_email' => esc_js($this->logged_user_email),
314
  'images_path' => plugins_url('../assets/images/', plugin_dir_path(__FILE__)),
315
  'currency_ratio' => $currency_ratio,
316
  'woocommerce_currency' => get_woocommerce_currency(),
includes/payments/WC_WooMercadoPago_PaymentAbstract.php CHANGED
@@ -32,6 +32,12 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
32
  '_mp_access_token_prod'
33
  );
34
 
 
 
 
 
 
 
35
  public $field_forms_order;
36
  public $id;
37
  public $method_title;
@@ -206,7 +212,14 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
206
  */
207
  public function validateSection()
208
  {
209
- if (isset($_GET['section']) && !empty($_GET['section']) && ($this->id != $_GET['section'])) {
 
 
 
 
 
 
 
210
  return false;
211
  }
212
 
@@ -218,7 +231,10 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
218
  */
219
  public function isManageSection()
220
  {
221
- if (!isset($_GET['section']) || ($this->id !== $_GET['section'])) {
 
 
 
222
  return false;
223
  }
224
 
@@ -336,6 +352,10 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
336
  $form_fields['gateway_discount'] = $this->field_gateway_discount();
337
  $form_fields['commission'] = $this->field_commission();
338
  $form_fields['checkout_payments_advanced_description'] = $this->field_checkout_payments_advanced_description();
 
 
 
 
339
  $form_fields['checkout_ready_title'] = $this->field_checkout_ready_title();
340
  $form_fields['checkout_ready_description'] = $this->field_checkout_ready_description();
341
  $form_fields['checkout_ready_description_link'] = $this->field_checkout_ready_description_link();
@@ -1131,6 +1151,68 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1131
  return WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->getField($method);
1132
  }
1133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1134
  /**
1135
  * @return array
1136
  */
32
  '_mp_access_token_prod'
33
  );
34
 
35
+ const ALLOWED_CLASSES = [
36
+ 'wc_woomercadopago_basicgateway',
37
+ 'wc_woomercadopago_customgateway',
38
+ 'wc_woomercadopago_ticketgateway'
39
+ ];
40
+
41
  public $field_forms_order;
42
  public $id;
43
  public $method_title;
212
  */
213
  public function validateSection()
214
  {
215
+ if (
216
+ isset($_GET['section'])
217
+ && !empty($_GET['section'])
218
+ && (
219
+ $this->id !== $_GET['section'])
220
+ && !in_array($_GET['section'], self::ALLOWED_CLASSES)
221
+ )
222
+ {
223
  return false;
224
  }
225
 
231
  */
232
  public function isManageSection()
233
  {
234
+ if (!isset($_GET['section']) || (
235
+ $this->id !== $_GET['section'])
236
+ && !in_array($_GET['section'], self::ALLOWED_CLASSES)
237
+ ) {
238
  return false;
239
  }
240
 
352
  $form_fields['gateway_discount'] = $this->field_gateway_discount();
353
  $form_fields['commission'] = $this->field_commission();
354
  $form_fields['checkout_payments_advanced_description'] = $this->field_checkout_payments_advanced_description();
355
+ $form_fields['checkout_support_title'] = $this->field_checkout_support_title();
356
+ $form_fields['checkout_support_description'] = $this->field_checkout_support_description();
357
+ $form_fields['checkout_support_description_link'] = $this->field_checkout_support_description_link();
358
+ $form_fields['checkout_support_problem'] = $this->field_checkout_support_problem();
359
  $form_fields['checkout_ready_title'] = $this->field_checkout_ready_title();
360
  $form_fields['checkout_ready_description'] = $this->field_checkout_ready_description();
361
  $form_fields['checkout_ready_description_link'] = $this->field_checkout_ready_description_link();
1151
  return WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->getField($method);
1152
  }
1153
 
1154
+ /**
1155
+ * @return array
1156
+ */
1157
+ public function field_checkout_support_title()
1158
+ {
1159
+ $message_support_title = __('Questions?', 'woocommerce-mercadopago');
1160
+ $checkout_options_title = array(
1161
+ 'title' => $message_support_title,
1162
+ 'type' => 'title',
1163
+ 'class' => 'mp_subtitle_bd_mb mp-mg-0'
1164
+ );
1165
+ return $checkout_options_title;
1166
+ }
1167
+
1168
+ /**
1169
+ * @return array
1170
+ */
1171
+ public function field_checkout_support_description()
1172
+ {
1173
+ $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');
1174
+ $checkout_options_subtitle = array(
1175
+ 'title' => $message_support_description,
1176
+ 'type' => 'title',
1177
+ 'class' => 'mp_small_text'
1178
+ );
1179
+ return $checkout_options_subtitle;
1180
+ }
1181
+
1182
+ /**
1183
+ * @return array
1184
+ */
1185
+ public function field_checkout_support_description_link()
1186
+ {
1187
+ $message_link = __('Review documentation', 'woocommerce-mercadopago');
1188
+ $checkout_options_subtitle = array(
1189
+ 'title' => sprintf(
1190
+ __('%s', 'woocommerce-mercadopago'),
1191
+ '<a href="' . $this->getCountryLinkGuide($this->checkout_country) . 'guides/plugins/woocommerce/integration" target="_blank">' . $message_link . '</a>'
1192
+ ),
1193
+ 'type' => 'title',
1194
+ 'class' => 'mp_tienda_link'
1195
+ );
1196
+ return $checkout_options_subtitle;
1197
+ }
1198
+
1199
+ /**
1200
+ * @return array
1201
+ */
1202
+ public function field_checkout_support_problem()
1203
+ {
1204
+ $message_support_problem = sprintf(
1205
+ __('Still having problems? Contact our support team through their %s', 'woocommerce-mercadopago'),
1206
+ '<a href="' . $this->getCountryLinkGuide($this->checkout_country) . 'support/" target="_blank">' . __('contact form.', 'woocommerce-mercadopago') . '</a>'
1207
+ );
1208
+ $checkout_options_title = array(
1209
+ 'title' => $message_support_problem,
1210
+ 'type' => 'title',
1211
+ 'class' => 'mp-text-support'
1212
+ );
1213
+ return $checkout_options_title;
1214
+ }
1215
+
1216
  /**
1217
  * @return array
1218
  */
includes/payments/WC_WooMercadoPago_TicketGateway.php CHANGED
@@ -154,6 +154,11 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
154
  'stock_reduce_mode',
155
  'gateway_discount',
156
  'commission',
 
 
 
 
 
157
  // Everything ready for the takeoff of your sales?
158
  'checkout_ready_title',
159
  'checkout_ready_description',
@@ -384,20 +389,20 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
384
  'site_id' => $this->getOption('_site_id_v1'),
385
  'coupon_mode' => isset($logged_user_email) ? $this->coupon_mode : 'no',
386
  'discount_action_url' => $this->discount_action_url,
387
- 'payer_email' => $logged_user_email,
388
  'currency_ratio' => $currency_ratio,
389
  'woocommerce_currency' => get_woocommerce_currency(),
390
  'account_currency' => $this->site_data['currency'],
391
  'febraban' => (wp_get_current_user()->ID != 0) ?
392
  array(
393
- 'firstname' => wp_get_current_user()->user_firstname,
394
- 'lastname' => wp_get_current_user()->user_lastname,
395
  'docNumber' => '',
396
- 'address' => $address,
397
  'number' => '',
398
- 'city' => get_user_meta(wp_get_current_user()->ID, 'billing_city', true),
399
- 'state' => get_user_meta(wp_get_current_user()->ID, 'billing_state', true),
400
- 'zipcode' => get_user_meta(wp_get_current_user()->ID, 'billing_postcode', true)
401
  ) :
402
  array(
403
  'firstname' => '',
154
  'stock_reduce_mode',
155
  'gateway_discount',
156
  'commission',
157
+ // Support session
158
+ 'checkout_support_title',
159
+ 'checkout_support_description',
160
+ 'checkout_support_description_link',
161
+ 'checkout_support_problem',
162
  // Everything ready for the takeoff of your sales?
163
  'checkout_ready_title',
164
  'checkout_ready_description',
389
  'site_id' => $this->getOption('_site_id_v1'),
390
  'coupon_mode' => isset($logged_user_email) ? $this->coupon_mode : 'no',
391
  'discount_action_url' => $this->discount_action_url,
392
+ 'payer_email' => esc_js($logged_user_email),
393
  'currency_ratio' => $currency_ratio,
394
  'woocommerce_currency' => get_woocommerce_currency(),
395
  'account_currency' => $this->site_data['currency'],
396
  'febraban' => (wp_get_current_user()->ID != 0) ?
397
  array(
398
+ 'firstname' => esc_js(wp_get_current_user()->user_firstname),
399
+ 'lastname' => esc_js(wp_get_current_user()->user_lastname),
400
  'docNumber' => '',
401
+ 'address' => esc_js($address),
402
  'number' => '',
403
+ 'city' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_city', true)),
404
+ 'state' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_state', true)),
405
+ 'zipcode' => esc_js(get_user_meta(wp_get_current_user()->ID, 'billing_postcode', true))
406
  ) :
407
  array(
408
  'firstname' => '',
includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php CHANGED
@@ -109,7 +109,7 @@ abstract class WC_WooMercadoPago_Hook_Abstract
109
  */
110
  public function add_mp_settings_script()
111
  {
112
- if (!empty($this->publicKey) && !$this->testUser) {
113
  $woo = WC_WooMercadoPago_Module::woocommerce_instance();
114
  $gateways = $woo->payment_gateways->get_available_payment_gateways();
115
 
@@ -173,7 +173,6 @@ abstract class WC_WooMercadoPago_Hook_Abstract
173
  }
174
  update_option($key, $value, true);
175
  }
176
-
177
  $value = $this->payment->get_field_value($key, $field, $post_data);
178
  $this->payment->settings[$key] = $value;
179
  }
109
  */
110
  public function add_mp_settings_script()
111
  {
112
+ if (!empty($this->publicKey) && !$this->testUser && isset(WC()->payment_gateways)) {
113
  $woo = WC_WooMercadoPago_Module::woocommerce_instance();
114
  $gateways = $woo->payment_gateways->get_available_payment_gateways();
115
 
173
  }
174
  update_option($key, $value, true);
175
  }
 
176
  $value = $this->payment->get_field_value($key, $field, $post_data);
177
  $this->payment->settings[$key] = $value;
178
  }
includes/payments/hooks/WC_WooMercadoPago_Hook_Custom.php CHANGED
@@ -76,7 +76,7 @@ class WC_WooMercadoPago_Hook_Custom extends WC_WooMercadoPago_Hook_Abstract
76
  'public_key' => $this->payment->getPublicKey(),
77
  'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no',
78
  'discount_action_url' => $this->payment->discount_action_url,
79
- 'payer_email' => $this->payment->logged_user_email,
80
  'apply' => __('Apply', 'woocommerce-mercadopago'),
81
  'remove' => __('Remove', 'woocommerce-mercadopago'),
82
  'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'),
76
  'public_key' => $this->payment->getPublicKey(),
77
  'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no',
78
  'discount_action_url' => $this->payment->discount_action_url,
79
+ 'payer_email' => esc_js($this->payment->logged_user_email),
80
  'apply' => __('Apply', 'woocommerce-mercadopago'),
81
  'remove' => __('Remove', 'woocommerce-mercadopago'),
82
  'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'),
includes/payments/hooks/WC_WooMercadoPago_Hook_Ticket.php CHANGED
@@ -78,7 +78,7 @@ class WC_WooMercadoPago_Hook_Ticket extends WC_WooMercadoPago_Hook_Abstract
78
  'site_id' => $this->payment->getOption('_site_id_v1'),
79
  'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no',
80
  'discount_action_url' => $this->payment->discount_action_url,
81
- 'payer_email' => $this->payment->logged_user_email,
82
  'apply' => __('Apply', 'woocommerce-mercadopago'),
83
  'remove' => __('Remove', 'woocommerce-mercadopago'),
84
  'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'),
78
  'site_id' => $this->payment->getOption('_site_id_v1'),
79
  'coupon_mode' => isset($this->payment->logged_user_email) ? $this->payment->coupon_mode : 'no',
80
  'discount_action_url' => $this->payment->discount_action_url,
81
+ 'payer_email' => esc_js($this->payment->logged_user_email),
82
  'apply' => __('Apply', 'woocommerce-mercadopago'),
83
  'remove' => __('Remove', 'woocommerce-mercadopago'),
84
  'coupon_empty' => __('Please, inform your coupon code', 'woocommerce-mercadopago'),
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce
4
  Requires at least: 4.9.10
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 4.5.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -116,6 +116,15 @@ Set up both the plugin and the checkouts you want to activate on your payment av
116
  Check out our <a href="https://www.mercadopago.com.br/developers/pt/plugins_sdks/plugins/official/woo-commerce/">official documentation</a> for more information on the specific fields to configure.
117
 
118
  == Changelog ==
 
 
 
 
 
 
 
 
 
119
  = v4.5.0 (26/10/2020) =
120
  * Features
121
  - Compatibility with WooCommerce v4.6.x
4
  Requires at least: 4.9.10
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 4.6.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
116
  Check out our <a href="https://www.mercadopago.com.br/developers/pt/plugins_sdks/plugins/official/woo-commerce/">official documentation</a> for more information on the specific fields to configure.
117
 
118
  == Changelog ==
119
+ = v4.6.0 (01/12/2020) =
120
+ * Features
121
+ - Add review rating banner
122
+ - Improve security on checkouts, xss javascript sanitizer
123
+ - Support section block added in checkout settings
124
+
125
+ * Bug fixes
126
+ - Fixed error that prevents configuring the Mercado Pago plugin
127
+
128
  = v4.5.0 (26/10/2020) =
129
  * Features
130
  - Compatibility with WooCommerce v4.6.x
woocommerce-mercadopago.php CHANGED
@@ -4,13 +4,13 @@
4
  * Plugin Name: Mercado Pago payments for WooCommerce
5
  * Plugin URI: https://github.com/mercadopago/cart-woocommerce
6
  * Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account.
7
- * Version: 4.5.0
8
  * Author: Mercado Pago
9
  * Author URI: https://developers.mercadopago.com/
10
  * Text Domain: woocommerce-mercadopago
11
  * Domain Path: /i18n/languages/
12
  * WC requires at least: 3.0.0
13
- * WC tested up to: 4.6.0
14
  * @package MercadoPago
15
  * @category Core
16
  * @author Mercado Pago
@@ -31,5 +31,7 @@ if (!function_exists('is_plugin_active')) {
31
 
32
  if (!class_exists('WC_WooMercadoPago_Init')) {
33
  include_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Init.php';
 
 
34
  add_action('plugins_loaded', array('WC_WooMercadoPago_Init', 'woocommerce_mercadopago_init'));
35
  }
4
  * Plugin Name: Mercado Pago payments for WooCommerce
5
  * Plugin URI: https://github.com/mercadopago/cart-woocommerce
6
  * Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account.
7
+ * Version: 4.6.0
8
  * Author: Mercado Pago
9
  * Author URI: https://developers.mercadopago.com/
10
  * Text Domain: woocommerce-mercadopago
11
  * Domain Path: /i18n/languages/
12
  * WC requires at least: 3.0.0
13
+ * WC tested up to: 4.7.0
14
  * @package MercadoPago
15
  * @category Core
16
  * @author Mercado Pago
31
 
32
  if (!class_exists('WC_WooMercadoPago_Init')) {
33
  include_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Init.php';
34
+
35
+ register_activation_hook(__FILE__, array('WC_WooMercadoPago_Init', 'mercadopago_plugin_activation'));
36
  add_action('plugins_loaded', array('WC_WooMercadoPago_Init', 'woocommerce_mercadopago_init'));
37
  }