WooCommerce MercadoPago - Version 4.3.0

Version Description

Download this release

Release Info

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

Code changes from version 4.2.2 to 4.3.0

Files changed (39) hide show
  1. assets/js/basic_config_mercadopago.js +209 -198
  2. assets/js/basic_config_mercadopago.min.js +1 -1
  3. assets/js/custom_config_mercadopago.js +13 -2
  4. assets/js/custom_config_mercadopago.min.js +1 -1
  5. assets/js/ticket.min.js +1 -1
  6. assets/js/ticket_config_mercadopago.js +14 -3
  7. assets/js/ticket_config_mercadopago.min.js +1 -1
  8. i18n/languages/woocommerce-mercadopago-es_AR.mo +0 -0
  9. i18n/languages/woocommerce-mercadopago-es_AR.po +19 -25
  10. i18n/languages/woocommerce-mercadopago-es_CL.mo +0 -0
  11. i18n/languages/woocommerce-mercadopago-es_CL.po +19 -25
  12. i18n/languages/woocommerce-mercadopago-es_CO.mo +0 -0
  13. i18n/languages/woocommerce-mercadopago-es_CO.po +19 -25
  14. i18n/languages/woocommerce-mercadopago-es_ES.mo +0 -0
  15. i18n/languages/woocommerce-mercadopago-es_ES.po +19 -25
  16. i18n/languages/woocommerce-mercadopago-es_MX.mo +0 -0
  17. i18n/languages/woocommerce-mercadopago-es_MX.po +19 -25
  18. i18n/languages/woocommerce-mercadopago-es_PE.mo +0 -0
  19. i18n/languages/woocommerce-mercadopago-es_PE.po +19 -25
  20. i18n/languages/woocommerce-mercadopago-es_UY.mo +0 -0
  21. i18n/languages/woocommerce-mercadopago-es_UY.po +19 -25
  22. i18n/languages/woocommerce-mercadopago-es_VE.mo +0 -0
  23. i18n/languages/woocommerce-mercadopago-es_VE.po +19 -25
  24. i18n/languages/woocommerce-mercadopago-pt_BR.mo +0 -0
  25. i18n/languages/woocommerce-mercadopago-pt_BR.po +20 -26
  26. i18n/languages/woocommerce-mercadopago.pot +200 -212
  27. includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php +9 -6
  28. includes/module/WC_WooMercadoPago_Init.php +126 -0
  29. includes/module/WC_WooMercadoPago_Module.php +9 -0
  30. includes/module/config/WC_WooMercadoPago_Constants.php +1 -1
  31. includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php +10 -3
  32. includes/notification/WC_WooMercadoPago_Notification_Abstract.php +14 -13
  33. includes/payments/WC_WooMercadoPago_BasicGateway.php +4 -18
  34. includes/payments/WC_WooMercadoPago_CustomGateway.php +7 -17
  35. includes/payments/WC_WooMercadoPago_PaymentAbstract.php +18 -28
  36. includes/payments/WC_WooMercadoPago_TicketGateway.php +22 -31
  37. includes/stock/WC_WooMercadoPago_Stock_Manager.php +50 -0
  38. readme.txt +13 -1
  39. woocommerce-mercadopago.php +6 -138
assets/js/basic_config_mercadopago.js CHANGED
@@ -1,242 +1,253 @@
1
  /*jshint multistr: true */
2
 
3
- window.onload = function () {
4
- var makeCollapsibleOptions = function (id_plus, id_less) {
5
- return '<span class="mp-btn-collapsible" id="' + id_plus + '" style="display:block">+</span>\
6
  <span class="mp-btn-collapsible" id="'+ id_less + '" style="display:none">-</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  };
8
 
9
- //remove link breadcrumb, header and save button
10
- document.querySelector('.wc-admin-breadcrumb').style.display = 'none';
11
- document.querySelector('.mp-header-logo').style.display = 'none';
12
- document.querySelector('#_wpnonce').parentElement.style.display = 'none';
13
- document.querySelectorAll('h2')[4].style.display = 'none';
 
 
14
 
 
15
 
16
- var descriptionInput = document.querySelectorAll('p.description');
17
- for (var i = 0; i < descriptionInput.length; i++) {
18
- descriptionInput[i].style.width = '420px';
19
- }
20
 
21
- //update form_fields label
22
- var label = document.querySelectorAll('th.titledesc');
23
- for (var j = 0; j < label.length; j++) {
24
- label[j].id = 'mp_field_text';
25
- if (label[j].children[0].children[0] != null) {
26
- label[j].children[0].children[0].style.position = 'relative';
27
- label[j].children[0].children[0].style.fontSize = '22px';
28
  }
29
- }
30
-
31
- //collpase ajustes avanzados
32
- var table = document.querySelectorAll('.form-table');
33
- for (var k = 0; k < table.length; k++) {
34
- table[k].id = 'mp_table_' + k;
35
- }
36
-
37
- // Remove title and description label necessary for custom
38
- document.querySelector('.hidden-field-mp-title').setAttribute('type', 'hidden');
39
- document.querySelector('.hidden-field-mp-desc').setAttribute('type', 'hidden');
40
- var removeLabel = document.querySelectorAll('#mp_table_0');
41
- removeLabel[0].children[0].children[0].style.display = 'none';
42
- removeLabel[0].children[0].children[1].style.display = 'none';
43
-
44
- //clone save button
45
- var cloneSaveButton = document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_btn_save');
46
- if (document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod') !== null) {
47
- document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
- }
49
-
50
- if (document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_options_title') !== null) {
51
-
52
- document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
53
- document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_options_subtitle').nextElementSibling.append(cloneSaveButton.cloneNode(true));
54
- document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_payments_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
55
- document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
56
-
57
- var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_advanced_settings');
58
- var collapse_table = collapse_title.nextElementSibling;
59
- collapse_table.style.display = 'none';
60
- collapse_title.style.cursor = 'pointer';
61
-
62
- collapse_title.innerHTML += makeCollapsibleOptions('header_plus', 'header_less');
63
-
64
- var header_plus = document.querySelector('#header_plus');
65
- var header_less = document.querySelector('#header_less');
66
-
67
- collapse_title.onclick = function () {
68
- if (collapse_table.style.display === 'none') {
69
- collapse_table.style.display = 'block';
70
- header_less.style.display = 'block';
71
- header_plus.style.display = 'none';
72
- } else {
73
- collapse_table.style.display = 'none';
74
- header_less.style.display = 'none';
75
- header_plus.style.display = 'block';
76
- }
77
- };
78
-
79
- //collpase Configuración Avanzada
80
- var collapse_title_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_title');
81
- var collapse_table_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description').nextElementSibling;
82
- var collapse_description_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description');
83
- collapse_table_2.style.display = 'none';
84
- collapse_description_2.style.display = 'none';
85
- collapse_title_2.style.cursor = 'pointer';
86
-
87
- collapse_title_2.innerHTML += makeCollapsibleOptions('header_plus_2', 'header_less_2');
88
-
89
- var header_plus_2 = document.querySelector('#header_plus_2');
90
- var header_less_2 = document.querySelector('#header_less_2');
91
-
92
- collapse_title_2.onclick = function () {
93
- if (collapse_table_2.style.display === 'none') {
94
- collapse_table_2.style.display = 'block';
95
- collapse_description_2.style.display = 'block';
96
- header_less_2.style.display = 'block';
97
- header_plus_2.style.display = 'none';
98
- }
99
- else {
100
- collapse_table_2.style.display = 'none';
101
- collapse_description_2.style.display = 'none';
102
- header_less_2.style.display = 'none';
103
- header_plus_2.style.display = 'block';
104
- }
105
- };
106
-
107
- //payment methods
108
- var tablePayments = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_description').nextElementSibling.getAttribute('class');
109
- var mp_input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
110
- for (i = 0; i < mp_input_payments.length; i++) {
111
- mp_input_payments[i].id = 'mp_input_payments_mt';
112
  }
 
113
 
114
- //online payments
115
- var online_payment_translate = '';
116
- var onlineChecked = '';
117
- var countOnlineChecked = 0;
118
- var onlineInputs = document.querySelectorAll('.online_payment_method');
119
- for (var ion = 0; ion < onlineInputs.length; ion++) {
120
- online_payment_translate = onlineInputs[ion].getAttribute('data-translate');
121
- if (onlineInputs[ion].checked === true) {
122
- countOnlineChecked += 1;
123
- }
124
- }
125
 
126
- if (countOnlineChecked === onlineInputs.length) {
127
- onlineChecked = 'checked';
 
 
 
 
 
 
 
128
  }
 
 
 
 
 
129
 
130
- for (var oni = 0; oni < onlineInputs.length; oni++) {
131
- if (oni === 0) {
132
- var checkbox_online_prepend = '<div class="all_checkbox">\
133
  <label for="checkmeon" id="mp_input_payments">\
134
  <input type="checkbox" name="checkmeon" id="checkmeon" '+ onlineChecked + ' onclick="completeOnlineCheckbox()">\
135
  '+ online_payment_translate + '\
136
  </label>\
137
  </div>';
138
- onlineInputs[oni].parentElement.insertAdjacentHTML('beforebegin', checkbox_online_prepend);
139
- break;
140
- }
141
  }
 
142
 
143
- //debit and prepaid payments
144
- var debit_payment_translate = '';
145
- var debitChecked = '';
146
- var countDebitChecked = 0;
147
- var debitInputs = document.querySelectorAll('.debit_payment_method');
148
- for (var ideb = 0; ideb < debitInputs.length; ideb++) {
149
- debit_payment_translate = debitInputs[ideb].getAttribute('data-translate');
150
- if (debitInputs[ideb].checked === true) {
151
- countDebitChecked += 1;
152
- }
153
  }
 
154
 
155
- if (countDebitChecked === debitInputs.length) {
156
- debitChecked = 'checked';
157
- }
158
 
159
- for (var debi = 0; debi < debitInputs.length; debi++) {
160
- if (debi === 0) {
161
- var checkbox_debit_prepend = '<div class="all_checkbox">\
162
  <label for="checkmedeb" id="mp_input_payments">\
163
  <input type="checkbox" name="checkmedeb" id="checkmedeb" ' + debitChecked + ' onclick="completeDebitCheckbox()">\
164
  '+ debit_payment_translate + '\
165
  </label>\
166
  </div>';
167
- debitInputs[debi].parentElement.insertAdjacentHTML('beforebegin', checkbox_debit_prepend);
168
- break;
169
- }
170
  }
 
171
 
172
- //offline payments configuration form
173
- var offline_payment_translate = '';
174
- var offlineChecked = '';
175
- var countOfflineChecked = 0;
176
- var offlineInputs = document.querySelectorAll('.offline_payment_method');
177
- for (var ioff = 0; ioff < offlineInputs.length; ioff++) {
178
- offline_payment_translate = offlineInputs[ioff].getAttribute(['data-translate']);
179
- if (offlineInputs[ioff].checked === true) {
180
- countOfflineChecked += 1;
181
- }
182
  }
 
183
 
184
- if (countOfflineChecked === offlineInputs.length) {
185
- offlineChecked = 'checked';
186
- }
187
 
188
- for (var offi = 0; offi < offlineInputs.length; offi++) {
189
- if (offi === 0) {
190
- var checkbox_offline_prepend = '<div class="all_checkbox">\
191
  <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;">\
192
  <input type="checkbox" name="checkmeoff" id="checkmeoff" '+ offlineChecked + ' onclick="completeOfflineCheckboxMP()">\
193
  '+ offline_payment_translate + '\
194
  </label>\
195
  </div>';
196
- offlineInputs[offi].parentElement.insertAdjacentHTML('beforebegin', checkbox_offline_prepend);
197
- break;
198
- }
199
  }
200
  }
201
- };
202
-
203
- //Online payments
204
- window.completeOnlineCheckbox = function () {
205
- var onlineCheck = document.getElementById('checkmeon').checked;
206
- var onlineInputs = document.querySelectorAll('.online_payment_method');
207
- for (var i = 0; i < onlineInputs.length; i++) {
208
- if (onlineCheck === true) {
209
- onlineInputs[i].checked = true;
210
- }
211
- else {
212
- onlineInputs[i].checked = false;
213
- }
 
 
 
 
 
 
 
 
214
  }
215
- };
216
-
217
- //Debit and prepaid payments
218
- window.completeDebitCheckbox = function () {
219
- var debitCheck = document.getElementById('checkmedeb').checked;
220
- var debitInputs = document.querySelectorAll('.debit_payment_method');
221
- for (var i = 0; i < debitInputs.length; i++) {
222
- if (debitCheck === true) {
223
- debitInputs[i].checked = true;
224
- }
225
- else {
226
- debitInputs[i].checked = false;
227
- }
228
  }
229
- };
230
-
231
- //Offline payments
232
- window.completeOfflineCheckboxMP = function () {
233
- var offlineCheck = document.getElementById('checkmeoff').checked;
234
- var offlineInputs = document.querySelectorAll('.offline_payment_method');
235
- for (var i = 0; i < offlineInputs.length; i++) {
236
- if (offlineCheck === true) {
237
- offlineInputs[i].checked = true;
238
- } else {
239
- offlineInputs[i].checked = false;
240
- }
241
  }
242
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /*jshint multistr: true */
2
 
3
+ window.onload = function () {
4
+ var makeCollapsibleOptions = function (id_plus, id_less) {
5
+ return '<span class="mp-btn-collapsible" id="' + id_plus + '" style="display:block">+</span>\
6
  <span class="mp-btn-collapsible" id="'+ id_less + '" style="display:none">-</span>';
7
+ };
8
+
9
+ //remove link breadcrumb, header and save button
10
+ document.querySelector('.wc-admin-breadcrumb').style.display = 'none';
11
+ document.querySelector('.mp-header-logo').style.display = 'none';
12
+ document.querySelector('#_wpnonce').parentElement.style.display = 'none';
13
+ document.querySelectorAll('h2')[4].style.display = 'none';
14
+
15
+
16
+ var descriptionInput = document.querySelectorAll('p.description');
17
+ for (var i = 0; i < descriptionInput.length; i++) {
18
+ descriptionInput[i].style.width = '420px';
19
+ }
20
+
21
+ //update form_fields label
22
+ var label = document.querySelectorAll('th.titledesc');
23
+ for (var j = 0; j < label.length; j++) {
24
+ label[j].id = 'mp_field_text';
25
+ if (label[j].children[0].children[0] != null) {
26
+ label[j].children[0].children[0].style.position = 'relative';
27
+ label[j].children[0].children[0].style.fontSize = '22px';
28
+ }
29
+ }
30
+
31
+ //collpase ajustes avanzados
32
+ var table = document.querySelectorAll('.form-table');
33
+ for (var k = 0; k < table.length; k++) {
34
+ table[k].id = 'mp_table_' + k;
35
+ }
36
+
37
+ // Remove title and description label necessary for custom
38
+ document.querySelector('.hidden-field-mp-title').setAttribute('type', 'hidden');
39
+ document.querySelector('.hidden-field-mp-desc').setAttribute('type', 'hidden');
40
+ var removeLabel = document.querySelectorAll('#mp_table_0');
41
+ removeLabel[0].children[0].children[0].style.display = 'none';
42
+ removeLabel[0].children[0].children[1].style.display = 'none';
43
+
44
+ //clone save button
45
+ var cloneSaveButton = document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_btn_save');
46
+ if (document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod') !== null) {
47
+ document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
+ }
49
+
50
+ if (document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_options_title') !== null) {
51
+
52
+ document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
53
+ document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_options_title').nextElementSibling.append(cloneSaveButton.cloneNode(true));
54
+ document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_payments_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
55
+ document.getElementById('woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
56
+
57
+ var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_advanced_settings');
58
+ var collapse_table = collapse_title.nextElementSibling;
59
+ collapse_table.style.display = 'none';
60
+ collapse_title.style.cursor = 'pointer';
61
+
62
+ collapse_title.innerHTML += makeCollapsibleOptions('header_plus', 'header_less');
63
+
64
+ var header_plus = document.querySelector('#header_plus');
65
+ var header_less = document.querySelector('#header_less');
66
+
67
+ collapse_title.onclick = function () {
68
+ if (collapse_table.style.display === 'none') {
69
+ collapse_table.style.display = 'block';
70
+ header_less.style.display = 'block';
71
+ header_plus.style.display = 'none';
72
+ } else {
73
+ collapse_table.style.display = 'none';
74
+ header_less.style.display = 'none';
75
+ header_plus.style.display = 'block';
76
+ }
77
  };
78
 
79
+ //collpase Configuración Avanzada
80
+ var collapse_title_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_title');
81
+ var collapse_table_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description').nextElementSibling;
82
+ var collapse_description_2 = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description');
83
+ collapse_table_2.style.display = 'none';
84
+ collapse_description_2.style.display = 'none';
85
+ collapse_title_2.style.cursor = 'pointer';
86
 
87
+ collapse_title_2.innerHTML += makeCollapsibleOptions('header_plus_2', 'header_less_2');
88
 
89
+ var header_plus_2 = document.querySelector('#header_plus_2');
90
+ var header_less_2 = document.querySelector('#header_less_2');
 
 
91
 
92
+ collapse_title_2.onclick = function () {
93
+ if (collapse_table_2.style.display === 'none') {
94
+ collapse_table_2.style.display = 'block';
95
+ collapse_description_2.style.display = 'block';
96
+ header_less_2.style.display = 'block';
97
+ header_plus_2.style.display = 'none';
 
98
  }
99
+ else {
100
+ collapse_table_2.style.display = 'none';
101
+ collapse_description_2.style.display = 'none';
102
+ header_less_2.style.display = 'none';
103
+ header_plus_2.style.display = 'block';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  }
105
+ };
106
 
107
+ //payment methods
108
+ var tablePayments = document.querySelector('#woocommerce_woo-mercado-pago-basic_checkout_payments_description').nextElementSibling.getAttribute('class');
109
+ var mp_input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
110
+ for (i = 0; i < mp_input_payments.length; i++) {
111
+ mp_input_payments[i].id = 'mp_input_payments_mt';
112
+ }
 
 
 
 
 
113
 
114
+ //online payments
115
+ var online_payment_translate = '';
116
+ var onlineChecked = '';
117
+ var countOnlineChecked = 0;
118
+ var onlineInputs = document.querySelectorAll('.online_payment_method');
119
+ for (var ion = 0; ion < onlineInputs.length; ion++) {
120
+ online_payment_translate = onlineInputs[ion].getAttribute('data-translate');
121
+ if (onlineInputs[ion].checked === true) {
122
+ countOnlineChecked += 1;
123
  }
124
+ }
125
+
126
+ if (countOnlineChecked === onlineInputs.length) {
127
+ onlineChecked = 'checked';
128
+ }
129
 
130
+ for (var oni = 0; oni < onlineInputs.length; oni++) {
131
+ if (oni === 0) {
132
+ var checkbox_online_prepend = '<div class="all_checkbox">\
133
  <label for="checkmeon" id="mp_input_payments">\
134
  <input type="checkbox" name="checkmeon" id="checkmeon" '+ onlineChecked + ' onclick="completeOnlineCheckbox()">\
135
  '+ online_payment_translate + '\
136
  </label>\
137
  </div>';
138
+ onlineInputs[oni].parentElement.insertAdjacentHTML('beforebegin', checkbox_online_prepend);
139
+ break;
 
140
  }
141
+ }
142
 
143
+ //debit and prepaid payments
144
+ var debit_payment_translate = '';
145
+ var debitChecked = '';
146
+ var countDebitChecked = 0;
147
+ var debitInputs = document.querySelectorAll('.debit_payment_method');
148
+ for (var ideb = 0; ideb < debitInputs.length; ideb++) {
149
+ debit_payment_translate = debitInputs[ideb].getAttribute('data-translate');
150
+ if (debitInputs[ideb].checked === true) {
151
+ countDebitChecked += 1;
 
152
  }
153
+ }
154
 
155
+ if (countDebitChecked === debitInputs.length) {
156
+ debitChecked = 'checked';
157
+ }
158
 
159
+ for (var debi = 0; debi < debitInputs.length; debi++) {
160
+ if (debi === 0) {
161
+ var checkbox_debit_prepend = '<div class="all_checkbox">\
162
  <label for="checkmedeb" id="mp_input_payments">\
163
  <input type="checkbox" name="checkmedeb" id="checkmedeb" ' + debitChecked + ' onclick="completeDebitCheckbox()">\
164
  '+ debit_payment_translate + '\
165
  </label>\
166
  </div>';
167
+ debitInputs[debi].parentElement.insertAdjacentHTML('beforebegin', checkbox_debit_prepend);
168
+ break;
 
169
  }
170
+ }
171
 
172
+ //offline payments configuration form
173
+ var offline_payment_translate = '';
174
+ var offlineChecked = '';
175
+ var countOfflineChecked = 0;
176
+ var offlineInputs = document.querySelectorAll('.offline_payment_method');
177
+ for (var ioff = 0; ioff < offlineInputs.length; ioff++) {
178
+ offline_payment_translate = offlineInputs[ioff].getAttribute(['data-translate']);
179
+ if (offlineInputs[ioff].checked === true) {
180
+ countOfflineChecked += 1;
 
181
  }
182
+ }
183
 
184
+ if (countOfflineChecked === offlineInputs.length) {
185
+ offlineChecked = 'checked';
186
+ }
187
 
188
+ for (var offi = 0; offi < offlineInputs.length; offi++) {
189
+ if (offi === 0) {
190
+ var checkbox_offline_prepend = '<div class="all_checkbox">\
191
  <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;">\
192
  <input type="checkbox" name="checkmeoff" id="checkmeoff" '+ offlineChecked + ' onclick="completeOfflineCheckboxMP()">\
193
  '+ offline_payment_translate + '\
194
  </label>\
195
  </div>';
196
+ offlineInputs[offi].parentElement.insertAdjacentHTML('beforebegin', checkbox_offline_prepend);
197
+ break;
 
198
  }
199
  }
200
+ }
201
+
202
+ var saveButtonElements = document.querySelectorAll('.mp-save-button');
203
+ if (saveButtonElements.length !== 0) {
204
+ Array.from(saveButtonElements).forEach(function (button) {
205
+ button.addEventListener('click', function () {
206
+ var saveButtonEvent = document.querySelector('.woocommerce-save-button');
207
+ saveButtonEvent.click();
208
+ });
209
+ });
210
+ }
211
+
212
+ };
213
+
214
+ //Online payments
215
+ window.completeOnlineCheckbox = function () {
216
+ var onlineCheck = document.getElementById('checkmeon').checked;
217
+ var onlineInputs = document.querySelectorAll('.online_payment_method');
218
+ for (var i = 0; i < onlineInputs.length; i++) {
219
+ if (onlineCheck === true) {
220
+ onlineInputs[i].checked = true;
221
  }
222
+ else {
223
+ onlineInputs[i].checked = false;
 
 
 
 
 
 
 
 
 
 
 
224
  }
225
+ }
226
+ };
227
+
228
+ //Debit and prepaid payments
229
+ window.completeDebitCheckbox = function () {
230
+ var debitCheck = document.getElementById('checkmedeb').checked;
231
+ var debitInputs = document.querySelectorAll('.debit_payment_method');
232
+ for (var i = 0; i < debitInputs.length; i++) {
233
+ if (debitCheck === true) {
234
+ debitInputs[i].checked = true;
 
 
235
  }
236
+ else {
237
+ debitInputs[i].checked = false;
238
+ }
239
+ }
240
+ };
241
+
242
+ //Offline payments
243
+ window.completeOfflineCheckboxMP = function () {
244
+ var offlineCheck = document.getElementById('checkmeoff').checked;
245
+ var offlineInputs = document.querySelectorAll('.offline_payment_method');
246
+ for (var i = 0; i < offlineInputs.length; i++) {
247
+ if (offlineCheck === true) {
248
+ offlineInputs[i].checked = true;
249
+ } else {
250
+ offlineInputs[i].checked = false;
251
+ }
252
+ }
253
+ };
assets/js/basic_config_mercadopago.min.js CHANGED
@@ -1 +1 @@
1
- window.onload=function(){function e(e,o){return'<span class="mp-btn-collapsible" id="'+e+'" style="display:block">+</span> <span class="mp-btn-collapsible" id="'+o+'" style="display:none">-</span>'}document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("#_wpnonce").parentElement.style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var o=document.querySelectorAll("p.description"),t=0;t<o.length;t++)o[t].style.width="420px";for(var c=document.querySelectorAll("th.titledesc"),n=0;n<c.length;n++)c[n].id="mp_field_text",null!=c[n].children[0].children[0]&&(c[n].children[0].children[0].style.position="relative",c[n].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),d=0;d<l.length;d++)l[d].id="mp_table_"+d;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var a=document.querySelectorAll("#mp_table_0");a[0].children[0].children[0].style.display="none",a[0].children[0].children[1].style.display="none";var r=document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_btn_save");if(null===document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod").nextElementSibling.append(r.cloneNode(!0)),null!==document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_homolog_title")||null!==document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_options_title")){document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_advanced_settings").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_options_subtitle").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_payments_description").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description").nextElementSibling.append(r.cloneNode(!0));var i=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_advanced_settings"),m=i.nextElementSibling;m.style.display="none",i.style.cursor="pointer",i.innerHTML+=e("header_plus","header_less");var s=document.querySelector("#header_plus"),p=document.querySelector("#header_less");i.onclick=function(){"none"===m.style.display?(m.style.display="block",p.style.display="block",s.style.display="none"):(m.style.display="none",p.style.display="none",s.style.display="block")};var y=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_title"),u=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description").nextElementSibling,_=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description");u.style.display="none",_.style.display="none",y.style.cursor="pointer",y.innerHTML+=e("header_plus_2","header_less_2");var h=document.querySelector("#header_plus_2"),b=document.querySelector("#header_less_2");y.onclick=function(){"none"===u.style.display?(u.style.display="block",_.style.display="block",b.style.display="block",h.style.display="none"):(u.style.display="none",_.style.display="none",b.style.display="none",h.style.display="block")};for(var k=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_description").nextElementSibling.getAttribute("class"),g=document.querySelectorAll("."+k+" td.forminp label"),t=0;t<g.length;t++)g[t].id="mp_input_payments_mt";for(var f="",w="",v=0,S=document.querySelectorAll(".online_payment_method"),q=0;q<S.length;q++)f=S[q].getAttribute("data-translate"),!0===S[q].checked&&(v+=1);v===S.length&&(w="checked");for(var E=0;E<S.length;E++)if(0===E){var x='<div class="all_checkbox"> <label for="checkmeon" id="mp_input_payments"> <input type="checkbox" name="checkmeon" id="checkmeon" '+w+' onclick="completeOnlineCheckbox()"> '+f+" </label> </div>";S[E].parentElement.insertAdjacentHTML("beforebegin",x);break}for(var A="",B="",I=0,M=document.querySelectorAll(".debit_payment_method"),C=0;C<M.length;C++)A=M[C].getAttribute("data-translate"),!0===M[C].checked&&(I+=1);I===M.length&&(B="checked");for(var H=0;H<M.length;H++)if(0===H){var L='<div class="all_checkbox"> <label for="checkmedeb" id="mp_input_payments"> <input type="checkbox" name="checkmedeb" id="checkmedeb" '+B+' onclick="completeDebitCheckbox()"> '+A+" </label> </div>";M[H].parentElement.insertAdjacentHTML("beforebegin",L);break}for(var N="",T="",O=0,j=document.querySelectorAll(".offline_payment_method"),D=0;D<j.length;D++)N=j[D].getAttribute(["data-translate"]),!0===j[D].checked&&(O+=1);O===j.length&&(T="checked");for(var P=0;P<j.length;P++)if(0===P){var z='<div class="all_checkbox"> <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;"> <input type="checkbox" name="checkmeoff" id="checkmeoff" '+T+' onclick="completeOfflineCheckboxMP()"> '+N+" </label> </div>";j[P].parentElement.insertAdjacentHTML("beforebegin",z);break}}},window.completeOnlineCheckbox=function(){for(var e=document.getElementById("checkmeon").checked,o=document.querySelectorAll(".online_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e},window.completeDebitCheckbox=function(){for(var e=document.getElementById("checkmedeb").checked,o=document.querySelectorAll(".debit_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e},window.completeOfflineCheckboxMP=function(){for(var e=document.getElementById("checkmeoff").checked,o=document.querySelectorAll(".offline_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e};
1
+ window.onload=function(){function e(e,o){return'<span class="mp-btn-collapsible" id="'+e+'" style="display:block">+</span> <span class="mp-btn-collapsible" id="'+o+'" style="display:none">-</span>'}document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("#_wpnonce").parentElement.style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var o=document.querySelectorAll("p.description"),t=0;t<o.length;t++)o[t].style.width="420px";for(var c=document.querySelectorAll("th.titledesc"),n=0;n<c.length;n++)c[n].id="mp_field_text",null!=c[n].children[0].children[0]&&(c[n].children[0].children[0].style.position="relative",c[n].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),d=0;d<l.length;d++)l[d].id="mp_table_"+d;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var a=document.querySelectorAll("#mp_table_0");a[0].children[0].children[0].style.display="none",a[0].children[0].children[1].style.display="none";var r=document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_btn_save");if(null===document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_credential_description_prod").nextElementSibling.append(r.cloneNode(!0)),null!==document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_homolog_title")||null!==document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_options_title")){document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_advanced_settings").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_options_title").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_payments_description").nextElementSibling.append(r.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description").nextElementSibling.append(r.cloneNode(!0));var i=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_advanced_settings"),m=i.nextElementSibling;m.style.display="none",i.style.cursor="pointer",i.innerHTML+=e("header_plus","header_less");var s=document.querySelector("#header_plus"),p=document.querySelector("#header_less");i.onclick=function(){"none"===m.style.display?(m.style.display="block",p.style.display="block",s.style.display="none"):(m.style.display="none",p.style.display="none",s.style.display="block")};var y=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_title"),u=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description").nextElementSibling,_=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_advanced_description");u.style.display="none",_.style.display="none",y.style.cursor="pointer",y.innerHTML+=e("header_plus_2","header_less_2");var h=document.querySelector("#header_plus_2"),b=document.querySelector("#header_less_2");y.onclick=function(){"none"===u.style.display?(u.style.display="block",_.style.display="block",b.style.display="block",h.style.display="none"):(u.style.display="none",_.style.display="none",b.style.display="none",h.style.display="block")};for(var k=document.querySelector("#woocommerce_woo-mercado-pago-basic_checkout_payments_description").nextElementSibling.getAttribute("class"),g=document.querySelectorAll("."+k+" td.forminp label"),t=0;t<g.length;t++)g[t].id="mp_input_payments_mt";for(var f="",w="",v=0,S=document.querySelectorAll(".online_payment_method"),q=0;q<S.length;q++)f=S[q].getAttribute("data-translate"),!0===S[q].checked&&(v+=1);v===S.length&&(w="checked");for(var E=0;E<S.length;E++)if(0===E){var x='<div class="all_checkbox"> <label for="checkmeon" id="mp_input_payments"> <input type="checkbox" name="checkmeon" id="checkmeon" '+w+' onclick="completeOnlineCheckbox()"> '+f+" </label> </div>";S[E].parentElement.insertAdjacentHTML("beforebegin",x);break}for(var A="",B="",I=0,M=document.querySelectorAll(".debit_payment_method"),C=0;C<M.length;C++)A=M[C].getAttribute("data-translate"),!0===M[C].checked&&(I+=1);I===M.length&&(B="checked");for(var L=0;L<M.length;L++)if(0===L){var H='<div class="all_checkbox"> <label for="checkmedeb" id="mp_input_payments"> <input type="checkbox" name="checkmedeb" id="checkmedeb" '+B+' onclick="completeDebitCheckbox()"> '+A+" </label> </div>";M[L].parentElement.insertAdjacentHTML("beforebegin",H);break}for(var N="",T="",O=0,j=document.querySelectorAll(".offline_payment_method"),D=0;D<j.length;D++)N=j[D].getAttribute(["data-translate"]),!0===j[D].checked&&(O+=1);O===j.length&&(T="checked");for(var P=0;P<j.length;P++)if(0===P){var z='<div class="all_checkbox"> <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;"> <input type="checkbox" name="checkmeoff" id="checkmeoff" '+T+' onclick="completeOfflineCheckboxMP()"> '+N+" </label> </div>";j[P].parentElement.insertAdjacentHTML("beforebegin",z);break}}var F=document.querySelectorAll(".mp-save-button");0!==F.length&&Array.from(F).forEach(function(e){e.addEventListener("click",function(){document.querySelector(".woocommerce-save-button").click()})})},window.completeOnlineCheckbox=function(){for(var e=document.getElementById("checkmeon").checked,o=document.querySelectorAll(".online_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e},window.completeDebitCheckbox=function(){for(var e=document.getElementById("checkmedeb").checked,o=document.querySelectorAll(".debit_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e},window.completeOfflineCheckboxMP=function(){for(var e=document.getElementById("checkmeoff").checked,o=document.querySelectorAll(".offline_payment_method"),t=0;t<o.length;t++)o[t].checked=!0===e};
assets/js/custom_config_mercadopago.js CHANGED
@@ -44,8 +44,8 @@ window.onload = function () {
44
 
45
  if (document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_custom_options_title') !== null) {
46
  document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
47
- document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_custom_options_subtitle').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
- document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_payments_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
49
  document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
50
 
51
  var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-custom_checkout_advanced_settings');
@@ -101,4 +101,15 @@ window.onload = function () {
101
  }
102
  };
103
  }
 
 
 
 
 
 
 
 
 
 
 
104
  };
44
 
45
  if (document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_custom_options_title') !== null) {
46
  document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
47
+ document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_custom_options_title').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
+ document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_payments_subtitle').nextElementSibling.append(cloneSaveButton.cloneNode(true));
49
  document.getElementById('woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
50
 
51
  var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-custom_checkout_advanced_settings');
101
  }
102
  };
103
  }
104
+
105
+ var saveButtonElements = document.querySelectorAll('.mp-save-button');
106
+ if (saveButtonElements.length !== 0) {
107
+ Array.from(saveButtonElements).forEach(function (button) {
108
+ button.addEventListener('click', function () {
109
+ var saveButtonEvent = document.querySelector('.woocommerce-save-button');
110
+ saveButtonEvent.click();
111
+ });
112
+ });
113
+ }
114
+
115
  };
assets/js/custom_config_mercadopago.min.js CHANGED
@@ -1 +1 @@
1
- window.onload=function(){document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("#_wpnonce").parentElement.style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var e=document.querySelectorAll("p.description"),o=0;o<e.length;o++)e[o].style.width="420px";for(var t=document.querySelectorAll("th.titledesc"),c=0;c<t.length;c++)t[c].id="mp_field_text",null!=t[c].children[0].children[0]&&(t[c].children[0].children[0].style.position="relative",t[c].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),n=0;n<l.length;n++)l[n].id="mp_table_"+n;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var d=document.querySelectorAll("#mp_table_0");d[0].children[0].children[0].style.display="none",d[0].children[0].children[1].style.display="none";var s,m,a,r,i,p,y,u,_,h=document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_btn_save");null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_credential_description_prod").nextElementSibling.append(h.cloneNode(!0)),null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_custom_options_title")||(document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_advanced_settings").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_custom_options_subtitle").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_payments_description").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling.append(h.cloneNode(!0)),s=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_advanced_settings"),(m=s.nextElementSibling).style.display="none",s.style.cursor="pointer",s.innerHTML+='<span class="mp-btn-collapsible" id="header_plus" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less" style="display:none">-</span>',a=document.querySelector("#header_plus"),r=document.querySelector("#header_less"),s.onclick=function(){"none"===m.style.display?(m.style.display="block",r.style.display="block",a.style.display="none"):(m.style.display="none",r.style.display="none",a.style.display="block")},document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling.style.display="none",i=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_custom_payments_advanced_title"),p=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling,y=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description"),p.style.display="none",y.style.display="none",i.style.cursor="pointer",i.innerHTML+='<span class="mp-btn-collapsible" id="header_plus_2" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less_2" style="display:none">-</span>',u=document.querySelector("#header_plus_2"),_=document.querySelector("#header_less_2"),i.onclick=function(){"none"===p.style.display?(p.style.display="block",_.style.display="block",p.style.display="block",u.style.display="none"):(p.style.display="none",_.style.display="none",y.style.display="none",u.style.display="block")})};
1
+ window.onload=function(){document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("#_wpnonce").parentElement.style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var e=document.querySelectorAll("p.description"),o=0;o<e.length;o++)e[o].style.width="420px";for(var t=document.querySelectorAll("th.titledesc"),c=0;c<t.length;c++)t[c].id="mp_field_text",null!=t[c].children[0].children[0]&&(t[c].children[0].children[0].style.position="relative",t[c].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),n=0;n<l.length;n++)l[n].id="mp_table_"+n;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var d=document.querySelectorAll("#mp_table_0");d[0].children[0].children[0].style.display="none",d[0].children[0].children[1].style.display="none";var s,m,a,r,i,p,u,y,_,h=document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_btn_save");null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_credential_description_prod").nextElementSibling.append(h.cloneNode(!0)),null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_custom_options_title")||(document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_advanced_settings").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_custom_options_title").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_payments_subtitle").nextElementSibling.append(h.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling.append(h.cloneNode(!0)),s=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_advanced_settings"),(m=s.nextElementSibling).style.display="none",s.style.cursor="pointer",s.innerHTML+='<span class="mp-btn-collapsible" id="header_plus" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less" style="display:none">-</span>',a=document.querySelector("#header_plus"),r=document.querySelector("#header_less"),s.onclick=function(){"none"===m.style.display?(m.style.display="block",r.style.display="block",a.style.display="none"):(m.style.display="none",r.style.display="none",a.style.display="block")},document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling.style.display="none",i=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_custom_payments_advanced_title"),p=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description").nextElementSibling,u=document.querySelector("#woocommerce_woo-mercado-pago-custom_checkout_payments_advanced_description"),p.style.display="none",u.style.display="none",i.style.cursor="pointer",i.innerHTML+='<span class="mp-btn-collapsible" id="header_plus_2" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less_2" style="display:none">-</span>',y=document.querySelector("#header_plus_2"),_=document.querySelector("#header_less_2"),i.onclick=function(){"none"===p.style.display?(p.style.display="block",_.style.display="block",p.style.display="block",y.style.display="none"):(p.style.display="none",_.style.display="none",u.style.display="none",y.style.display="block")});var g=document.querySelectorAll(".mp-save-button");0!==g.length&&Array.from(g).forEach(function(e){e.addEventListener("click",function(){document.querySelector(".woocommerce-save-button").click()})})};
assets/js/ticket.min.js CHANGED
@@ -1 +1 @@
1
- !function(l){"use strict";l(function(){var e=!1,p="CPF",n={site_id:wc_mercadopago_ticket_params.site_id},o={discount_action_url:wc_mercadopago_ticket_params.discount_action_url,payer_email:wc_mercadopago_ticket_params.payer_email,activated:wc_mercadopago_ticket_params.coupon_mode,status:!1};function t(){return!document.getElementById("payment_method_woo-mercado-pago-ticket").checked||("MLB"===n.site_id?(function(){for(var e=document.querySelector("#mercadopago-form-ticket"),t=e.querySelectorAll("[data-checkout]"),o=e.querySelectorAll(".mp-erro_febraban"),r=0;r<t.length;r++){var c=t[r],n=e.querySelector(o[r].getAttribute("data-main"));"none"===c.parentNode.style.display||-1!==c.value&&""!==c.value?(o[r].style.display="none",n.classList.remove("mp-form-control-error")):(o[r].style.display="inline-block",n.classList.add("mp-form-control-error"))}for(var u=0;u<t.length;u++){var a=t[u];if("none"!==a.parentNode.style.display&&(-1===a.value||""===a.value))return a.focus(),!1}return!0}()&&r()?e=!0:c(),e):"MLU"===n.site_id?(r()?e=!0:c(),e):void 0)}function r(){var e,t,o=document.getElementById("mp_doc_number"),r=document.getElementById("mp_error_docnumber"),c=!1;return"MLB"===n.site_id&&(e=o.value,c=("CPF"!==p?function(e){if(""===(e=e.replace(/[^\d]+/g,"")))return!1;if(14!==e.length)return!1;if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var t=e.length-2,o=e.substring(0,t),r=e.substring(t),c=0,n=t-7,u=t;1<=u;u--)c+=o.charAt(t-u)*n--,n<2&&(n=9);var a=c%11<2?0:11-c%11;if(a.toString()!==r[0])return!1;for(t+=1,o=e.substring(0,t),c=0,n=t-7,u=t;1<=u;u--)c+=o.charAt(t-u)*n--,n<2&&(n=9);return(a=c%11<2?0:11-c%11).toString()===r[1]}:function(e){var t,o;if(t=0,"00000000000"===(e=e.replace(/[.-\s]/g,"")))return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);if(10!=(o=10*t%11)&&11!==o||(o=0),o!==parseInt(e.substring(9,10),10))return!1;t=0;for(var c=1;c<=10;c++)t+=parseInt(e.substring(c-1,c),10)*(12-c);return 10!=(o=10*t%11)&&11!==o||(o=0),o===parseInt(e.substring(10,11),10)})(e)),"MLU"===n.site_id&&(c=""!==(t=o.value)&&function(e){var t=0,o=0,r=e[e.length-1];if(e.length<=6)for(o=e.length;o<7;o++)e="0"+e;for(o=0;o<7;o++)t+=parseInt("2987634"[o],10)*parseInt(e[o],10)%10;return r===(t%10==0?0:10-t%10).toString()}(t)),c?(r.style.display="none",o.classList.remove("mp-form-control-error"),c=!0):(r.style.display="block",o.classList.add("mp-form-control-error"),o.focus()),c}function c(){0<l("form#order_review").length&&l(".blockOverlay").css("display","none")}function u(){document.querySelector("#mpCouponApplyedTicket").style.display="none",""===document.querySelector("#couponCodeTicket").value?(o.status=!1,document.querySelector("#mpCouponErrorTicket").style.display="block",document.querySelector("#mpCouponErrorTicket").innerHTML=wc_mercadopago_ticket_params.coupon_empty,document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#discountTicket").value=0):o.status?(o.status=!1,document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#applyCouponTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#couponCodeTicket").value="",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#discountTicket").value=0):(document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.loading+") 98% 50% no-repeat #fff",document.querySelector("#couponCodeTicket").style.border="1px solid #cecece",document.querySelector("#applyCouponTicket").disabled=!0,function(){var e=o.discount_action_url,t="?";0<=e.indexOf("?")&&(t="&");e+=t+"site_id="+wc_mercadopago_ticket_params.site_id,e+="&coupon_id="+document.querySelector("#couponCodeTicket").value,e+="&amount="+document.querySelector("#amountTicket").value,e+="&payer="+o.payer_email,l.ajax({url:e,method:"GET",timeout:5e3,error:function(){o.status=!1,document.querySelector("#mpCouponApplyedTicket").style.display="none",document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#applyCouponTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#couponCodeTicket").value="",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#discountTicket").value=0},success:function(e){200===e.status?(o.status=!0,document.querySelector("#mpCouponApplyedTicket").style.display="block",document.querySelector("#discountTicket").value=e.response.coupon_amount,document.querySelector("#mpCouponApplyedTicket").innerHTML=wc_mercadopago_ticket_params.discount_info1+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+"</strong> "+wc_mercadopago_ticket_params.discount_info2+" "+e.response.name+".<br>"+wc_mercadopago_ticket_params.discount_info3+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*document.querySelector("#amountTicket").value)/100+"</strong><br>"+wc_mercadopago_ticket_params.discount_info4+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*(document.getElementById("amountTicket").value-document.getElementById("discountTicket").value))/100+"*</strong><br><i>"+wc_mercadopago_ticket_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_ticket_params.discount_info6+"</a>",document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.check+") 94% 50% no-repeat #fff",document.querySelector("#couponCodeTicket").style.border="1px solid #cecece",document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.remove,document.querySelector("#campaign_idTicket").value=e.response.id,document.querySelector("#campaignTicket").value=e.response.name):(o.status=!1,document.querySelector("#mpCouponApplyedTicket").style.display="none",document.querySelector("#mpCouponErrorTicket").style.display="block",document.querySelector("#mpCouponErrorTicket").innerHTML=e.response.message,document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.error+") 94% 50% no-repeat #fff",document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#discountTicket").value=0),document.querySelector("#applyCouponTicket").disabled=!1}})}())}function a(e){return"ARS"===e?"$":"BRL"===e?"R$":"COP"===e||"CLP"===e||"MXN"===e?"$":"VEF"===e?"Bs":"PEN"===e?"S/":"UYU"===e?"$U":"$"}0<l("form#order_review").length&&"yes"===o.activated&&l("#applyCouponTicket").on("click",u),l("body").on("updated_checkout",function(){"MLB"===n.site_id&&function(){var e=document.getElementById("mp_box_lastname"),t=document.getElementById("mp_box_firstname"),o=document.getElementById("mp_firstname_label"),r=document.getElementById("mp_socialname_label"),c=document.getElementById("mp_cpf_label"),n=document.getElementById("mp_cnpj_label"),u=document.getElementById("mp_doc_number"),a=document.querySelectorAll('input[type=radio][name="mercadopago_ticket[docType]"]');n.style.display="none",r.style.display="none";for(var l=function(){p="CPF"===this.value?(c.style.display="block",e.style.display="grid",o.style.display="block",n.style.display="none",r.style.display="none",t.classList.remove("mp-col-md-8"),t.classList.add("mp-col-md-4"),u.setAttribute("maxlength","14"),u.setAttribute("onkeyup","mpMaskInput(this, mpCpf)"),"CPF"):(c.style.display="none",e.style.display="none",o.style.display="none",n.style.display="block",r.style.display="block",t.classList.remove("mp-col-md-4"),t.classList.add("mp-col-md-8"),u.setAttribute("maxlength","18"),u.setAttribute("onkeyup","mpMaskInput(this, mpCnpj)"),"CNPJ")},i=0;i<a.length;i++)a[i].addEventListener("change",l)}(),"yes"===o.activated&&l("#applyCouponTicket").on("click",u)}),l("form.checkout").on("checkout_place_order_woo-mercado-pago-ticket",t),l("form#order_review").submit(t)})}(jQuery);
1
+ !function(l){"use strict";l(function(){var e=!1,p="CPF",n={site_id:wc_mercadopago_ticket_params.site_id},o={discount_action_url:wc_mercadopago_ticket_params.discount_action_url,payer_email:wc_mercadopago_ticket_params.payer_email,activated:wc_mercadopago_ticket_params.coupon_mode,status:!1};function t(){return!document.getElementById("payment_method_woo-mercado-pago-ticket").checked||("MLB"===n.site_id?(function(){for(var e=document.querySelector("#mercadopago-form-ticket"),t=e.querySelectorAll("[data-checkout]"),o=e.querySelectorAll(".mp-erro_febraban"),r=0;r<t.length;r++){var c=t[r],n=e.querySelector(o[r].getAttribute("data-main"));"none"===c.parentNode.style.display||-1!==c.value&&""!==c.value?(o[r].style.display="none",n.classList.remove("mp-form-control-error")):(o[r].style.display="inline-block",n.classList.add("mp-form-control-error"))}for(var u=0;u<t.length;u++){var a=t[u];if("none"!==a.parentNode.style.display&&(-1===a.value||""===a.value))return a.focus(),!1}return!0}()&&r()?e=!0:c(),e):"MLU"===n.site_id?(r()?e=!0:c(),e):void 0)}function r(){var e,t,o=document.getElementById("mp_doc_number"),r=document.getElementById("mp_error_docnumber"),c=!1;return"MLB"===n.site_id&&(e=o.value,c=("CPF"!==p?function(e){if(""===(e=e.replace(/[^\d]+/g,"")))return!1;if(14!==e.length)return!1;if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var t=e.length-2,o=e.substring(0,t),r=e.substring(t),c=0,n=t-7,u=t;1<=u;u--)c+=o.charAt(t-u)*n--,n<2&&(n=9);var a=c%11<2?0:11-c%11;if(a.toString()!==r[0])return!1;for(t+=1,o=e.substring(0,t),c=0,n=t-7,u=t;1<=u;u--)c+=o.charAt(t-u)*n--,n<2&&(n=9);return(a=c%11<2?0:11-c%11).toString()===r[1]}:function(e){var t,o;if(t=0,"00000000000"===(e=e.replace(/[.-\s]/g,"")))return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);10!=(o=10*t%11)&&11!==o||(o=0);if(o!==parseInt(e.substring(9,10),10))return!1;t=0;for(var c=1;c<=10;c++)t+=parseInt(e.substring(c-1,c),10)*(12-c);10!=(o=10*t%11)&&11!==o||(o=0);return o===parseInt(e.substring(10,11),10)})(e)),"MLU"===n.site_id&&(c=""!==(t=o.value)&&function(e){var t=0,o=0,r=0,c=e[e.length-1];if(e.length<=6)for(o=e.length;o<7;o++)e="0"+e;for(o=0;o<7;o++)t+=parseInt("2987634"[o],10)*parseInt(e[o],10)%10;r=t%10==0?0:10-t%10;return c===r.toString()}(t)),c?(r.style.display="none",o.classList.remove("mp-form-control-error"),c=!0):(r.style.display="block",o.classList.add("mp-form-control-error"),o.focus()),c}function c(){0<l("form#order_review").length&&l(".blockOverlay").css("display","none")}function u(){document.querySelector("#mpCouponApplyedTicket").style.display="none",""===document.querySelector("#couponCodeTicket").value?(o.status=!1,document.querySelector("#mpCouponErrorTicket").style.display="block",document.querySelector("#mpCouponErrorTicket").innerHTML=wc_mercadopago_ticket_params.coupon_empty,document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#discountTicket").value=0):o.status?(o.status=!1,document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#applyCouponTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#couponCodeTicket").value="",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#discountTicket").value=0):(document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.loading+") 98% 50% no-repeat #fff",document.querySelector("#couponCodeTicket").style.border="1px solid #cecece",document.querySelector("#applyCouponTicket").disabled=!0,function(){var e=o.discount_action_url,t="?";0<=e.indexOf("?")&&(t="&");e+=t+"site_id="+wc_mercadopago_ticket_params.site_id,e+="&coupon_id="+document.querySelector("#couponCodeTicket").value,e+="&amount="+document.querySelector("#amountTicket").value,e+="&payer="+o.payer_email,l.ajax({url:e,method:"GET",timeout:5e3,error:function(){o.status=!1,document.querySelector("#mpCouponApplyedTicket").style.display="none",document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#applyCouponTicket").style.background=null,document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#couponCodeTicket").value="",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#discountTicket").value=0},success:function(e){200===e.status?(o.status=!0,document.querySelector("#mpCouponApplyedTicket").style.display="block",document.querySelector("#discountTicket").value=e.response.coupon_amount,document.querySelector("#mpCouponApplyedTicket").innerHTML=wc_mercadopago_ticket_params.discount_info1+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*e.response.coupon_amount)/100+"</strong> "+wc_mercadopago_ticket_params.discount_info2+" "+e.response.name+".<br>"+wc_mercadopago_ticket_params.discount_info3+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*document.querySelector("#amountTicket").value)/100+"</strong><br>"+wc_mercadopago_ticket_params.discount_info4+" <strong>"+a(e.response.currency_id)+" "+Math.round(100*(document.getElementById("amountTicket").value-document.getElementById("discountTicket").value))/100+"*</strong><br><i>"+wc_mercadopago_ticket_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_ticket_params.discount_info6+"</a>",document.querySelector("#mpCouponErrorTicket").style.display="none",document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.check+") 94% 50% no-repeat #fff",document.querySelector("#couponCodeTicket").style.border="1px solid #cecece",document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.remove,document.querySelector("#campaign_idTicket").value=e.response.id,document.querySelector("#campaignTicket").value=e.response.name):(o.status=!1,document.querySelector("#mpCouponApplyedTicket").style.display="none",document.querySelector("#mpCouponErrorTicket").style.display="block",document.querySelector("#mpCouponErrorTicket").innerHTML=e.response.message,document.querySelector("#couponCodeTicket").style.background=null,document.querySelector("#couponCodeTicket").style.background="url("+wc_mercadopago_ticket_params.error+") 94% 50% no-repeat #fff",document.querySelector("#applyCouponTicket").value=wc_mercadopago_ticket_params.apply,document.querySelector("#discountTicket").value=0),document.querySelector("#applyCouponTicket").disabled=!1}})}())}function a(e){return"ARS"===e?"$":"BRL"===e?"R$":"COP"===e||"CLP"===e||"MXN"===e?"$":"VEF"===e?"Bs":"PEN"===e?"S/":"UYU"===e?"$U":"$"}0<l("form#order_review").length&&"yes"===o.activated&&l("#applyCouponTicket").on("click",u),l("body").on("updated_checkout",function(){"MLB"===n.site_id&&function(){var e=document.getElementById("mp_box_lastname"),t=document.getElementById("mp_box_firstname"),o=document.getElementById("mp_firstname_label"),r=document.getElementById("mp_socialname_label"),c=document.getElementById("mp_cpf_label"),n=document.getElementById("mp_cnpj_label"),u=document.getElementById("mp_doc_number"),a=document.querySelectorAll('input[type=radio][name="mercadopago_ticket[docType]"]');n.style.display="none",r.style.display="none";for(var l=function(){p="CPF"===this.value?(c.style.display="block",e.style.display="grid",o.style.display="block",n.style.display="none",r.style.display="none",t.classList.remove("mp-col-md-8"),t.classList.add("mp-col-md-4"),u.setAttribute("maxlength","14"),u.setAttribute("onkeyup","mpMaskInput(this, mpCpf)"),"CPF"):(c.style.display="none",e.style.display="none",o.style.display="none",n.style.display="block",r.style.display="block",t.classList.remove("mp-col-md-4"),t.classList.add("mp-col-md-8"),u.setAttribute("maxlength","18"),u.setAttribute("onkeyup","mpMaskInput(this, mpCnpj)"),"CNPJ")},i=0;i<a.length;i++)a[i].addEventListener("change",l)}(),"yes"===o.activated&&l("#applyCouponTicket").on("click",u)}),l("form.checkout").on("checkout_place_order_woo-mercado-pago-ticket",t),l("form#order_review").submit(t)})}(jQuery);
assets/js/ticket_config_mercadopago.js CHANGED
@@ -42,9 +42,9 @@ window.onload = function () {
42
  }
43
 
44
  if (document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title') !== null) {
45
- document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_subtitle').nextElementSibling.append(cloneSaveButton.cloneNode(true));
46
  document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
47
- document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_payments_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
  document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
49
 
50
  var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings');
@@ -100,7 +100,7 @@ window.onload = function () {
100
  };
101
 
102
  //payment methods
103
- var tablePayments = document.querySelector('#woocommerce_woo-mercado-pago-ticket_checkout_payments_description').nextElementSibling.getAttribute('class');
104
  var mp_input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
105
  for (var ip = 0; ip < mp_input_payments.length; ip++) {
106
  mp_input_payments[ip].id = 'mp_input_payments_mt';
@@ -136,6 +136,17 @@ window.onload = function () {
136
  }
137
 
138
  }
 
 
 
 
 
 
 
 
 
 
 
139
  };
140
 
141
  //Offline payments
42
  }
43
 
44
  if (document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_homolog_title') !== null || document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title') !== null) {
45
+ document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title').nextElementSibling.append(cloneSaveButton.cloneNode(true));
46
  document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings').nextElementSibling.append(cloneSaveButton.cloneNode(true));
47
+ document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
48
  document.getElementById('woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description').nextElementSibling.append(cloneSaveButton.cloneNode(true));
49
 
50
  var collapse_title = document.querySelector('#woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings');
100
  };
101
 
102
  //payment methods
103
+ var tablePayments = document.querySelector('#woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_description').nextElementSibling.getAttribute('class');
104
  var mp_input_payments = document.querySelectorAll('.' + tablePayments + ' td.forminp label');
105
  for (var ip = 0; ip < mp_input_payments.length; ip++) {
106
  mp_input_payments[ip].id = 'mp_input_payments_mt';
136
  }
137
 
138
  }
139
+
140
+ var saveButtonElements = document.querySelectorAll('.mp-save-button');
141
+ if (saveButtonElements.length !== 0) {
142
+ Array.from(saveButtonElements).forEach(function (button) {
143
+ button.addEventListener('click', function () {
144
+ var saveButtonEvent = document.querySelector('.woocommerce-save-button');
145
+ saveButtonEvent.click();
146
+ });
147
+ });
148
+ }
149
+
150
  };
151
 
152
  //Offline payments
assets/js/ticket_config_mercadopago.min.js CHANGED
@@ -1 +1 @@
1
- window.onload=function(){document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("p.submit").style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var e=document.querySelectorAll("p.description"),t=0;t<e.length;t++)e[t].style.width="420px";for(var o=document.querySelectorAll("th.titledesc"),c=0;c<o.length;c++)o[c].id="mp_field_text",null!=o[c].children[0].children[0]&&(o[c].children[0].children[0].style.position="relative",o[c].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),n=0;n<l.length;n++)l[n].id="mp_table_"+n;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var d=document.querySelectorAll("#mp_table_0");d[0].children[0].children[0].style.display="none",d[0].children[0].children[1].style.display="none";var i=document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_btn_save");if(null===document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_credential_description_prod").nextElementSibling.append(i.cloneNode(!0)),null!==document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_homolog_title")||null!==document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title")){document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_subtitle").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_payments_description").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description").nextElementSibling.append(i.cloneNode(!0));var a=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings"),r=a.nextElementSibling;r.style.display="none",a.style.cursor="pointer",a.innerHTML+='<span class="mp-btn-collapsible" id="header_plus" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less" style="display:none">-</span>';var m=document.querySelector("#header_plus"),s=document.querySelector("#header_less");a.onclick=function(){"none"===r.style.display?(r.style.display="block",s.style.display="block",m.style.display="none"):(r.style.display="none",s.style.display="none",m.style.display="block")};var p=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_advanced_title"),y=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description").nextElementSibling,_=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description");y.style.display="none",_.style.display="none",p.style.cursor="pointer",p.innerHTML+='<span class="mp-btn-collapsible" id="header_plus_2" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less_2" style="display:none">-</span>';var u=document.querySelector("#header_plus_2"),h=document.querySelector("#header_less_2");p.onclick=function(){"none"===y.style.display?(y.style.display="block",_.style.display="block",h.style.display="block",u.style.display="none"):(y.style.display="none",_.style.display="none",h.style.display="none",u.style.display="block")};for(var k=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_description").nextElementSibling.getAttribute("class"),g=document.querySelectorAll("."+k+" td.forminp label"),b=0;b<g.length;b++)g[b].id="mp_input_payments_mt";for(var w="",f="",S=0,v=document.querySelectorAll(".ticket_payment_method_select"),q=0;q<v.length;q++)w=v[q].getAttribute("data-translate"),!0===v[q].checked&&(S+=1);S===v.length&&(f="checked");for(var E=0;E<v.length;E++)if(0===E){var x='<div class="all_checkbox"> <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;"> <input type="checkbox" name="checkmeoff" id="checkmeoff" '+f+' onclick="completeOfflineCheckbox()"> '+w+" </label> </div>";v[E].parentElement.insertAdjacentHTML("beforebegin",x);break}}},window.completeOfflineCheckbox=function(){for(var e=document.getElementById("checkmeoff").checked,t=document.querySelectorAll(".ticket_payment_method_select"),o=0;o<t.length;o++)t[o].checked=!0===e};
1
+ window.onload=function(){document.querySelector(".wc-admin-breadcrumb").style.display="none",document.querySelector(".mp-header-logo").style.display="none",document.querySelector("p.submit").style.display="none",document.querySelectorAll("h2")[4].style.display="none";for(var e=document.querySelectorAll("p.description"),t=0;t<e.length;t++)e[t].style.width="420px";for(var o=document.querySelectorAll("th.titledesc"),c=0;c<o.length;c++)o[c].id="mp_field_text",null!=o[c].children[0].children[0]&&(o[c].children[0].children[0].style.position="relative",o[c].children[0].children[0].style.fontSize="22px");for(var l=document.querySelectorAll(".form-table"),n=0;n<l.length;n++)l[n].id="mp_table_"+n;document.querySelector(".hidden-field-mp-title").setAttribute("type","hidden"),document.querySelector(".hidden-field-mp-desc").setAttribute("type","hidden");var d=document.querySelectorAll("#mp_table_0");d[0].children[0].children[0].style.display="none",d[0].children[0].children[1].style.display="none";var i=document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_btn_save");if(null===document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_homolog_title")&&null===document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_credential_description_prod")||document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_credential_description_prod").nextElementSibling.append(i.cloneNode(!0)),null!==document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_homolog_title")||null!==document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title")){document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_ticket_options_title").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_description").nextElementSibling.append(i.cloneNode(!0)),document.getElementById("woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description").nextElementSibling.append(i.cloneNode(!0));var r=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_advanced_settings"),a=r.nextElementSibling;a.style.display="none",r.style.cursor="pointer",r.innerHTML+='<span class="mp-btn-collapsible" id="header_plus" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less" style="display:none">-</span>';var m=document.querySelector("#header_plus"),s=document.querySelector("#header_less");r.onclick=function(){"none"===a.style.display?(a.style.display="block",s.style.display="block",m.style.display="none"):(a.style.display="none",s.style.display="none",m.style.display="block")};var p=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_advanced_title"),y=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description").nextElementSibling,u=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_payments_advanced_description");y.style.display="none",u.style.display="none",p.style.cursor="pointer",p.innerHTML+='<span class="mp-btn-collapsible" id="header_plus_2" style="display:block">+</span> <span class="mp-btn-collapsible" id="header_less_2" style="display:none">-</span>';var _=document.querySelector("#header_plus_2"),h=document.querySelector("#header_less_2");p.onclick=function(){"none"===y.style.display?(y.style.display="block",u.style.display="block",h.style.display="block",_.style.display="none"):(y.style.display="none",u.style.display="none",h.style.display="none",_.style.display="block")};for(var k=document.querySelector("#woocommerce_woo-mercado-pago-ticket_checkout_ticket_payments_description").nextElementSibling.getAttribute("class"),g=document.querySelectorAll("."+k+" td.forminp label"),b=0;b<g.length;b++)g[b].id="mp_input_payments_mt";for(var f="",w="",S=0,v=document.querySelectorAll(".ticket_payment_method_select"),q=0;q<v.length;q++)f=v[q].getAttribute("data-translate"),!0===v[q].checked&&(S+=1);S===v.length&&(w="checked");for(var E=0;E<v.length;E++)if(0===E){var x='<div class="all_checkbox"> <label for="checkmeoff" id="mp_input_payments" style="margin-bottom: 37px !important;"> <input type="checkbox" name="checkmeoff" id="checkmeoff" '+w+' onclick="completeOfflineCheckbox()"> '+f+" </label> </div>";v[E].parentElement.insertAdjacentHTML("beforebegin",x);break}}var A=document.querySelectorAll(".mp-save-button");0!==A.length&&Array.from(A).forEach(function(e){e.addEventListener("click",function(){document.querySelector(".woocommerce-save-button").click()})})},window.completeOfflineCheckbox=function(){for(var e=document.getElementById("checkmeoff").checked,t=document.querySelectorAll(".ticket_payment_method_select"),o=0;o<t.length;o++)t[o].checked=!0===e};
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.2.2\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-07-17 16:37-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:38-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:38-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:38-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:38-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:39-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:39-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:35-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:39-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -103,7 +103,7 @@ msgstr "El tipo de asunto de la IPN no es válido, debe ser `merchant_order`"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout de Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configura Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Acepta pagos al instante y maximiza la conversión de tu negocio"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
@@ -349,15 +349,15 @@ msgstr "Estamos procesando su pago. En menos de una hora le enviaremos el result
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuración avanzada de la experiencia de pago personalizada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configura la experiencia de pago personalizada en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configura la experiencia de pago en tu tienda"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -391,7 +391,7 @@ msgstr "Se produjo un problema al procesar su pago. ¿Está seguro de que ha lle
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
- msgstr "Medios de"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
@@ -425,12 +425,6 @@ msgstr "Configura las preferencias de pago con dinero en efectivo"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Ve a lo básico. Coloca la información de tu negocio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
@@ -529,7 +523,7 @@ msgstr "Modo Debug y Log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuración avanzada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -569,7 +563,7 @@ msgstr "Con estas claves podrás recibir pagos reales de tus clientes."
569
 
570
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
571
  msgid "Production credentials"
572
- msgstr "Credenciales para producción"
573
 
574
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
575
  msgid "With these keys you can do the tests you want.."
@@ -1001,7 +995,7 @@ msgstr "Posibles causas: Moneda no soportada; Montos por debajo del mínimo o po
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar orden"
1007
 
@@ -1162,7 +1156,7 @@ msgstr "aquí"
1162
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1163
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1164
  msgid "This payment method cannot process your payment."
1165
- msgstr "Esta medio de pago no puede procesar su pago."
1166
 
1167
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1168
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
@@ -1370,12 +1364,12 @@ msgid "Convert Currency"
1370
  msgstr "Convertir moneda"
1371
 
1372
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1373
- msgid "Now we convert your currency from {%s} to {%s}."
1374
- msgstr "Ahora convertimos tu moneda de {%s} a {%s}."
1375
 
1376
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1377
- msgid "We no longer convert your currency from {%s} to {%s}."
1378
- msgstr "Dejamos de convertir tu moneda de {%s} a {%s}."
1379
 
1380
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1381
  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."
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.3.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-08-18 17:36-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "No hay ID o parámetro de ASUNTO la solicitud de IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "¡El módulo de Mercado Pago necesita una versión de %s activa para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Ingresá la información de tu negocio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagos con tarjetas de débito y crédito %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Error en Mercado Pago: La extensión cURL de PHP no está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "El plugin de Mercado Pago requiere la versión de PHP 5.6 o posterior. Por favor actualice su versión de PHP."
198
 
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuración Avanzada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configura las preferencias de pago en tu tienda"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Ingresá la información de tu negocio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
391
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:340
392
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:489
393
  msgid "Payment methods"
394
+ msgstr "Medios de pagos"
395
 
396
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
397
  msgid "All payment methods"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilita Mercado Pago para pagos en efectivo en tu tienda y <br> selecciona las opciones disponibles para tus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluye esta opción de compra preferida por algunos clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuración Avanzada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
563
 
564
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
565
  msgid "Production credentials"
566
+ msgstr "Credenciales de Producción"
567
 
568
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
569
  msgid "With these keys you can do the tests you want.."
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar orden"
1001
 
1156
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:271
1157
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:273
1158
  msgid "This payment method cannot process your payment."
1159
+ msgstr "Este medio de pago no puede procesar su pago."
1160
 
1161
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
1162
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
1364
  msgstr "Convertir moneda"
1365
 
1366
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1367
+ msgid "Now we convert your currency from %s to %s."
1368
+ msgstr "Ahora convertimos tu moneda de %s a %s."
1369
 
1370
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1371
+ msgid "We no longer convert your currency from %s to %s."
1372
+ msgstr "Dejamos de convertir tu moneda de %s a %s."
1373
 
1374
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1375
  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."
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.2.2\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-07-17 16:39-0300\n"
13
- "X-Generator: Poedit 2.3.1\n"
14
  "X-Domain: woocommerce-mercadopago\n"
15
  "Last-Translator: \n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
@@ -103,7 +103,7 @@ msgstr "Tipo do tópico IPN inválido, precisa conter merchant_order"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "Nenhum parâmetro de ID ou TOPIC na Request IPN"
105
 
106
- #: woocommerce-mercadopago.php:116
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "O módulo do Mercado Pago necessita de uma versão ativa de %s para funcionar!"
109
 
@@ -154,7 +154,7 @@ msgstr "Checkout Mercado Pago"
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
- msgstr "Configure o Mercado Pago para WooCommerce"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
@@ -188,11 +188,11 @@ msgstr "Aceite pagamentos no ato e leve suas cobranças a outro nível"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagamentos com cartão %s"
190
 
191
- #: woocommerce-mercadopago.php:99
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Erro no Mercado Pago: a extensão PHP CURL não está instalada."
194
 
195
- #: woocommerce-mercadopago.php:83
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "O plugin do Mercado Pago para o WooCommerce requer o PHP versão 5.6 ou posterior. Por favor, atualize sua versão do PHP."
198
 
@@ -278,7 +278,7 @@ msgstr "Selecione a URL que mostraremos aos seus clientes quando concluirem a co
278
 
279
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:308
280
  msgid "Set payment preferences in your store"
281
- msgstr "Configure as preferências de pagamento na sua loja"
282
 
283
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:282
284
  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."
@@ -349,15 +349,15 @@ msgstr "Estamos processando seu pagamento. Em menos de uma hora você será noti
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
- msgstr "Configuração Avançada das preferências de pagamento"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
- msgstr "Configure as preferências de pagamento personalizada em sua loja"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
- msgstr "Configure a experiência de pagamento personalizada na sua loja"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
@@ -425,12 +425,6 @@ msgstr "Configure as experiências de pagamentos via boleto e em lotéricas"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilite o Mercado Pago na sua loja e selecione os meios de<br> pagamento via boleto e em lotéricas disponíveis para os seus clientes."
427
 
428
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:233
429
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
430
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:198
431
- msgid "Go to the basics. Place your business information."
432
- msgstr "Veja o básico. Insira as informações do seu negócio."
433
-
434
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
435
  msgid "Include this preferred purchase option by some customers."
436
  msgstr "Incluí esta opção de compra preferida por alguns clientes."
@@ -529,7 +523,7 @@ msgstr "Modo debug e log"
529
 
530
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
531
  msgid "Advanced settings"
532
- msgstr "Configuração avançada"
533
 
534
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
535
  msgid "Use a number or prefix to identify orders and payments from this store."
@@ -593,7 +587,7 @@ msgstr "Produção"
593
 
594
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:631
595
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
596
- msgstr "Tudo pronto para começar a receber pagamentos, desative o ambiente Sandbox, selecione o de Produção e comece a receber pagamentos on-line."
597
 
598
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:618
599
  msgid "Production Mode"
@@ -601,7 +595,7 @@ msgstr "Modo Produção"
601
 
602
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:605
603
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
604
- msgstr "Por padrão, ativamos o ambiente de teste Sandbox para você testar antes de começar a vender."
605
 
606
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:592
607
  msgid "Test Mode"
@@ -1001,7 +995,7 @@ msgstr "Possíveis causas: Moeda não suportada; Valores abaixo do mínimo ou ac
1001
  msgid "https://github.com/mercadopago/cart-woocommerce"
1002
  msgstr "https://github.com/mercadopago/cart-woocommerce"
1003
 
1004
- #: woocommerce-mercadopago.php:148
1005
  msgid "Cancel order"
1006
  msgstr "Cancelar ordem"
1007
 
@@ -1149,7 +1143,7 @@ msgstr "Cupons de desconto"
1149
  #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:184
1150
  #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:187
1151
  msgid "Waiting for the ticket payment."
1152
- msgstr "Esperando a transferencia bancaria."
1153
 
1154
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:454
1155
  msgid "A problem was occurred when processing your payment. Please, try again."
@@ -1367,12 +1361,12 @@ msgid "Convert Currency"
1367
  msgstr "Converter moeda"
1368
 
1369
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1370
- msgid "Now we convert your currency from {%s} to {%s}."
1371
- msgstr "Agora convertemos sua moeda de {%s} para {%s}."
1372
 
1373
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1374
- msgid "We no longer convert your currency from {%s} to {%s}."
1375
- msgstr "Paramos de converter sua moreda de {%s} para {%s}."
1376
 
1377
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1378
  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."
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.3.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-08-18 17:36-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"
103
  msgid "No ID or TOPIC param in Request IPN"
104
  msgstr "Nenhum parâmetro de ID ou TOPIC na Request IPN"
105
 
106
+ #: includes/module/WC_WooMercadoPago_Init.php:60
107
  msgid "The Mercado Pago module needs an active version of %s in order to work!"
108
  msgstr "O módulo do Mercado Pago necessita de uma versão ativa de %s para funcionar!"
109
 
154
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:220
155
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269
156
  msgid "Configure Mercado Pago for WooCommerce"
157
+ msgstr "Insira as informações do seu negócio"
158
 
159
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
160
  msgid "Accept face-to-face payments, do not leave anyone out!"
188
  msgid "Checkout of payments with debit and credit cards %s"
189
  msgstr "Checkout de pagamentos com cartão %s"
190
 
191
+ #: includes/module/WC_WooMercadoPago_Init.php:48
192
  msgid "Mercado Pago Error: PHP Extension CURL is not installed."
193
  msgstr "Erro no Mercado Pago: a extensão PHP CURL não está instalada."
194
 
195
+ #: includes/module/WC_WooMercadoPago_Init.php:38
196
  msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
197
  msgstr "O plugin do Mercado Pago para o WooCommerce requer o PHP versão 5.6 ou posterior. Por favor, atualize sua versão do PHP."
198
 
278
 
279
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:308
280
  msgid "Set payment preferences in your store"
281
+ msgstr "Configure as experiências de pagamento na sua loja"
282
 
283
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:282
284
  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."
349
 
350
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
351
  msgid "Advanced configuration of the personalized payment experience\""
352
+ msgstr "Configuração Avançada"
353
 
354
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
355
  msgid "Configure the personalized payment experience in your store"
356
+ msgstr "Configure as experiências de pagamento na sua loja"
357
 
358
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:185
359
  msgid "Set up the payment experience in your store"
360
+ msgstr "Insira as informações do seu negócio"
361
 
362
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
363
  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!"
425
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
426
  msgstr "Habilite o Mercado Pago na sua loja e selecione os meios de<br> pagamento via boleto e em lotéricas disponíveis para os seus clientes."
427
 
 
 
 
 
 
 
428
  #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
429
  msgid "Include this preferred purchase option by some customers."
430
  msgstr "Incluí esta opção de compra preferida por alguns clientes."
523
 
524
  #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
525
  msgid "Advanced settings"
526
+ msgstr "Configuração Avançada"
527
 
528
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
529
  msgid "Use a number or prefix to identify orders and payments from this store."
587
 
588
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:631
589
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
590
+ msgstr "Tudo em ordem? Desative o Sandbox e abra o caminho para suas vendas on-line."
591
 
592
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:618
593
  msgid "Production Mode"
595
 
596
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:605
597
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
598
+ msgstr "Por padrão, deixamos o ambiente de teste (Sandbox) ativo para você testar antes de começar a vender."
599
 
600
  #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:592
601
  msgid "Test Mode"
995
  msgid "https://github.com/mercadopago/cart-woocommerce"
996
  msgstr "https://github.com/mercadopago/cart-woocommerce"
997
 
998
+ #: includes/module/WC_WooMercadoPago_Init.php:68
999
  msgid "Cancel order"
1000
  msgstr "Cancelar ordem"
1001
 
1143
  #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:184
1144
  #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:187
1145
  msgid "Waiting for the ticket payment."
1146
+ msgstr "Esperando o pagamento."
1147
 
1148
  #: includes/payments/WC_WooMercadoPago_CustomGateway.php:454
1149
  msgid "A problem was occurred when processing your payment. Please, try again."
1361
  msgstr "Converter moeda"
1362
 
1363
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:370
1364
+ msgid "Now we convert your currency from %s to %s."
1365
+ msgstr "Agora convertemos sua moeda de %s para %s."
1366
 
1367
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:386
1368
+ msgid "We no longer convert your currency from %s to %s."
1369
+ msgstr "Paramos de converter sua moreda de %s para %s."
1370
 
1371
  #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:403
1372
  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."
i18n/languages/woocommerce-mercadopago.pot CHANGED
@@ -14,48 +14,44 @@ msgstr ""
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
 
17
- #: woocommerce-mercadopago.php:40
18
- msgid "It seems that you already have the Mercado Pago module installed. Please uninstall it before using this version."
19
- msgstr ""
20
-
21
- #: woocommerce-mercadopago.php:74
22
- msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
23
  msgstr ""
24
 
25
- #: woocommerce-mercadopago.php:90
26
- msgid "Mercado Pago Error: PHP Extension CURL is not installed."
27
  msgstr ""
28
 
29
- #: woocommerce-mercadopago.php:107
30
- msgid "The Mercado Pago module needs an active version of %s in order to work!"
31
  msgstr ""
32
 
33
- #: woocommerce-mercadopago.php:139
34
- msgid "Cancel order"
35
  msgstr ""
36
 
37
- #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:52
38
- msgid "Activate this option so that the value of the currency set in WooCommerce is compatible with the value of the currency you use in Mercado Pago."
39
  msgstr ""
40
 
41
- #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:308
42
- msgid "Convert Currency"
43
  msgstr ""
44
 
45
- #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:375
46
- msgid "Now we convert your currency from {%s} to {%s}."
47
  msgstr ""
48
 
49
- #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:391
50
- msgid "We no longer convert your currency from {%s} to {%s}."
51
  msgstr ""
52
 
53
- #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:408
54
- 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."
55
  msgstr ""
56
 
57
- #: includes/module/WC_WooMercadoPago_Configs.php:112
58
- msgid "The store should have HTTPS in order to activate both Checkout Personalizado and Ticket Checkout."
59
  msgstr ""
60
 
61
  #: includes/module/WC_WooMercadoPago_Module.php:244, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:405
@@ -146,27 +142,27 @@ msgstr ""
146
  msgid "for"
147
  msgstr ""
148
 
149
- #: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:516
150
  msgid "Colombia"
151
  msgstr ""
152
 
153
- #: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:513
154
  msgid "Argentina"
155
  msgstr ""
156
 
157
- #: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:514
158
  msgid "Brazil"
159
  msgstr ""
160
 
161
- #: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:515
162
  msgid "Chile"
163
  msgstr ""
164
 
165
- #: includes/module/WC_WooMercadoPago_Module.php:569, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:517
166
  msgid "Mexico"
167
  msgstr ""
168
 
169
- #: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:519
170
  msgid "Uruguay"
171
  msgstr ""
172
 
@@ -174,7 +170,7 @@ msgstr ""
174
  msgid "Venezuela"
175
  msgstr ""
176
 
177
- #: includes/module/WC_WooMercadoPago_Module.php:575, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:518
178
  msgid "Peru"
179
  msgstr ""
180
 
@@ -182,35 +178,35 @@ msgstr ""
182
  msgid "Update the WooCommerce order to "
183
  msgstr ""
184
 
185
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:141
186
  msgid "Payment approved."
187
  msgstr ""
188
 
189
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:185, includes/notification/WC_WooMercadoPago_Notification_Abstract.php:188
190
  msgid "Waiting for the ticket payment."
191
  msgstr ""
192
 
193
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:194
194
  msgid "The customer has not made the payment yet."
195
  msgstr ""
196
 
197
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:205
198
  msgid "Payment is pending review."
199
  msgstr ""
200
 
201
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:214
202
  msgid "Payment was declined. The customer can try again."
203
  msgstr ""
204
 
205
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:223
206
  msgid "Payment was returned to the customer."
207
  msgstr ""
208
 
209
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:232
210
  msgid "Payment was canceled."
211
  msgstr ""
212
 
213
- #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:242, includes/notification/WC_WooMercadoPago_Notification_Abstract.php:252
214
  msgid "The payment is in mediation or the purchase was unknown by the customer."
215
  msgstr ""
216
 
@@ -254,135 +250,131 @@ msgstr ""
254
  msgid "Pay with the payment method you prefer"
255
  msgstr ""
256
 
257
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:246
258
  msgid "Mercado Pago checkout %s"
259
  msgstr ""
260
 
261
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:249
262
  msgid "Accept all method of payment and take your charges to another level"
263
  msgstr ""
264
 
265
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:253
266
  msgid "Turn your online store into your customers preferred payment gateway. Choose if the final payment experience will be inside or outside your store."
267
  msgstr ""
268
 
269
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:270, includes/payments/WC_WooMercadoPago_TicketGateway.php:220
270
  msgid "Configure Mercado Pago for WooCommerce"
271
  msgstr ""
272
 
273
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:283
274
  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."
275
  msgstr ""
276
 
277
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:296, includes/payments/WC_WooMercadoPago_CustomGateway.php:198, includes/payments/WC_WooMercadoPago_TicketGateway.php:233
278
- msgid "Go to the basics. Place your business information."
279
- msgstr ""
280
-
281
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:309
282
  msgid "Set payment preferences in your store"
283
  msgstr ""
284
 
285
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:322
286
  msgid "Advanced settings"
287
  msgstr ""
288
 
289
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:335
290
  msgid "Payment experience"
291
  msgstr ""
292
 
293
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:337
294
  msgid "Define what payment experience your customers will have, whether inside or outside your store."
295
  msgstr ""
296
 
297
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:340
298
  msgid "Redirect"
299
  msgstr ""
300
 
301
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:341
302
  msgid "Modal"
303
  msgstr ""
304
 
305
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:357
306
  msgid "Choose the URL that we will show your customers when they finish their purchase."
307
  msgstr ""
308
 
309
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:355, includes/payments/WC_WooMercadoPago_BasicGateway.php:375, includes/payments/WC_WooMercadoPago_BasicGateway.php:396
310
  msgid "This seems to be an invalid URL."
311
  msgstr ""
312
 
313
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:360
314
  msgid "Success URL"
315
  msgstr ""
316
 
317
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:377
318
  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."
319
  msgstr ""
320
 
321
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:380
322
  msgid "Payment URL rejected"
323
  msgstr ""
324
 
325
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:398
326
  msgid "Choose the URL that we will show to your customers when they have a payment pending approval."
327
  msgstr ""
328
 
329
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:401
330
  msgid "Payment URL pending"
331
  msgstr ""
332
 
333
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:481
334
  msgid "Select offline payments"
335
  msgstr ""
336
 
337
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:470
338
  msgid "Select debit cards"
339
  msgstr ""
340
 
341
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:459
342
  msgid "Select credit cards"
343
  msgstr ""
344
 
345
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:490, includes/payments/WC_WooMercadoPago_TicketGateway.php:340
346
  msgid "Payment methods"
347
  msgstr ""
348
 
349
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:491, includes/payments/WC_WooMercadoPago_TicketGateway.php:341
350
  msgid "Choose the available payment methods in your store."
351
  msgstr ""
352
 
353
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:494, includes/payments/WC_WooMercadoPago_TicketGateway.php:344
354
  msgid "Activate the available payment methods to your clients."
355
  msgstr ""
356
 
357
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:512
358
  msgid "Return to the store"
359
  msgstr ""
360
 
361
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:515
362
  msgid "Do you want your customer to automatically return to the store after payment?"
363
  msgstr ""
364
 
365
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:517, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:651, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:937, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1057, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1090, includes/payments/WC_WooMercadoPago_TicketGateway.php:291
366
  msgid "Yes"
367
  msgstr ""
368
 
369
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:518, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:566, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:650, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:936, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1056, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1091, includes/payments/WC_WooMercadoPago_TicketGateway.php:290
370
  msgid "No"
371
  msgstr ""
372
 
373
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:544
374
  msgid "installments"
375
  msgstr ""
376
 
377
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:548
378
  msgid "installment"
379
  msgstr ""
380
 
381
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:615, includes/payments/WC_WooMercadoPago_BasicGateway.php:615, includes/payments/WC_WooMercadoPago_BasicGateway.php:602, includes/payments/WC_WooMercadoPago_BasicGateway.php:602, includes/payments/WC_WooMercadoPago_CustomGateway.php:355, includes/payments/WC_WooMercadoPago_CustomGateway.php:355, includes/payments/WC_WooMercadoPago_CustomGateway.php:343, includes/payments/WC_WooMercadoPago_CustomGateway.php:343, includes/payments/WC_WooMercadoPago_TicketGateway.php:452, includes/payments/WC_WooMercadoPago_TicketGateway.php:452, includes/payments/WC_WooMercadoPago_TicketGateway.php:439, includes/payments/WC_WooMercadoPago_TicketGateway.php:439, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:134, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:132
382
  msgid "discount of"
383
  msgstr ""
384
 
385
- #: includes/payments/WC_WooMercadoPago_BasicGateway.php:620, includes/payments/WC_WooMercadoPago_BasicGateway.php:620, includes/payments/WC_WooMercadoPago_BasicGateway.php:607, includes/payments/WC_WooMercadoPago_BasicGateway.php:607, includes/payments/WC_WooMercadoPago_CustomGateway.php:360, includes/payments/WC_WooMercadoPago_CustomGateway.php:360, includes/payments/WC_WooMercadoPago_CustomGateway.php:348, includes/payments/WC_WooMercadoPago_CustomGateway.php:348, includes/payments/WC_WooMercadoPago_TicketGateway.php:457, includes/payments/WC_WooMercadoPago_TicketGateway.php:457, includes/payments/WC_WooMercadoPago_TicketGateway.php:444, includes/payments/WC_WooMercadoPago_TicketGateway.php:444, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:136
386
  msgid "fee of"
387
  msgstr ""
388
 
@@ -398,111 +390,111 @@ msgstr ""
398
  msgid "Pay with debit and credit cards"
399
  msgstr ""
400
 
401
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:161
402
  msgid "Checkout of payments with debit and credit cards %s"
403
  msgstr ""
404
 
405
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:164
406
  msgid "Accept payments instantly and maximize the conversion of your business"
407
  msgstr ""
408
 
409
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:168
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:185
414
  msgid "Set up the payment experience in your store"
415
  msgstr ""
416
 
417
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:211
418
  msgid "Configure the personalized payment experience in your store"
419
  msgstr ""
420
 
421
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:224
422
  msgid "Advanced configuration of the personalized payment experience\""
423
  msgstr ""
424
 
425
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:239
426
  msgid "That’s it, payment accepted!"
427
  msgstr ""
428
 
429
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:241
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:243
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:245
438
  msgid "Check the card number."
439
  msgstr ""
440
 
441
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:247
442
  msgid "Check the expiration date."
443
  msgstr ""
444
 
445
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:249
446
  msgid "Check the information provided."
447
  msgstr ""
448
 
449
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:251, 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:253, includes/payments/WC_WooMercadoPago_CustomGateway.php:259
454
  msgid "Your payment cannot be processed."
455
  msgstr ""
456
 
457
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:255
458
  msgid "You must authorize payments for your orders."
459
  msgstr ""
460
 
461
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:257
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:261
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:263
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:265
474
  msgid "Your payment does not have sufficient funds."
475
  msgstr ""
476
 
477
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:267
478
  msgid "Payment cannot process the selected fee."
479
  msgstr ""
480
 
481
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:269
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:271, includes/payments/WC_WooMercadoPago_CustomGateway.php:273
486
  msgid "This payment method cannot process your payment."
487
  msgstr ""
488
 
489
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:454
490
  msgid "A problem was occurred when processing your payment. Please, try again."
491
  msgstr ""
492
 
493
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:445
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:406
498
  msgid "See your order form"
499
  msgstr ""
500
 
501
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:418
502
  msgid "Your payment was declined. You can try again."
503
  msgstr ""
504
 
505
- #: includes/payments/WC_WooMercadoPago_CustomGateway.php:423, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83
506
  msgid "Click to try again"
507
  msgstr ""
508
 
@@ -514,343 +506,339 @@ msgstr ""
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:545, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:835, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1192
570
- msgid "%s"
571
- msgstr ""
572
-
573
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:546
574
  msgid "Save Changes"
575
  msgstr ""
576
 
577
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:561
578
  msgid "Activate checkout"
579
  msgstr ""
580
 
581
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:564
582
  msgid "Activate the Mercado Pago experience at the checkout of your store."
583
  msgstr ""
584
 
585
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:579
586
  msgid "Enter your credentials and choose how to operate"
587
  msgstr ""
588
 
589
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:592
590
  msgid "Test Mode"
591
  msgstr ""
592
 
593
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:605
594
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
595
  msgstr ""
596
 
597
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:618
598
  msgid "Production Mode"
599
  msgstr ""
600
 
601
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:631
602
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
603
  msgstr ""
604
 
605
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:645
606
  msgid "Production"
607
  msgstr ""
608
 
609
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:647
610
  msgid "Choose “Yes” only when you’re ready to sell. Switch to “No” to activate Testing mode."
611
  msgstr ""
612
 
613
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:669
614
  msgid "Load credentials"
615
  msgstr ""
616
 
617
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:673
618
  msgid "Search my credentials"
619
  msgstr ""
620
 
621
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:692
622
  msgid "Test credentials"
623
  msgstr ""
624
 
625
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:704
626
  msgid "With these keys you can do the tests you want.."
627
  msgstr ""
628
 
629
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:717, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:774
630
  msgid "Public key"
631
  msgstr ""
632
 
633
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:733, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:791
634
  msgid "Access token"
635
  msgstr ""
636
 
637
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:749
638
  msgid "Production credentials"
639
  msgstr ""
640
 
641
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:761
642
  msgid "With these keys you can receive real payments from your customers."
643
  msgstr ""
644
 
645
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:808
646
  msgid "Approve your account, it will only take a few minutes"
647
  msgstr ""
648
 
649
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:821
650
  msgid "Complete this process to secure your customers data and comply with the regulations<br> and legal provisions of each country."
651
  msgstr ""
652
 
653
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:836
 
 
 
 
654
  msgid "Homologate account in Mercado Pago"
655
  msgstr ""
656
 
657
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:850
658
  msgid "Store name"
659
  msgstr ""
660
 
661
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:852
662
  msgid "This name will appear on your customers invoice."
663
  msgstr ""
664
 
665
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:853
666
  msgid "Mercado Pago"
667
  msgstr ""
668
 
669
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:869
670
  msgid "Store Category"
671
  msgstr ""
672
 
673
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:871
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:872
678
  msgid "Categories"
679
  msgstr ""
680
 
681
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:884
682
  msgid "Store ID"
683
  msgstr ""
684
 
685
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:886
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:899
690
  msgid "Integrator ID"
691
  msgstr ""
692
 
693
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:902
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:903
698
  msgid "request it now."
699
  msgstr ""
700
 
701
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:917
702
  msgid "Advanced adjustment"
703
  msgstr ""
704
 
705
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:930
706
  msgid "Debug and Log mode"
707
  msgstr ""
708
 
709
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:933
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:934
714
  msgid "We debug the information in our change file."
715
  msgstr ""
716
 
717
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:949
718
  msgid "Basic Configuration"
719
  msgstr ""
720
 
721
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:962
722
- msgid "Enable Mercado Pago 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."
723
- msgstr ""
724
-
725
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:975
726
  msgid "Max of installments"
727
  msgstr ""
728
 
729
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:977
730
  msgid "What is the maximum quota with which a customer can buy?"
731
  msgstr ""
732
 
733
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:980
734
  msgid "1x installment"
735
  msgstr ""
736
 
737
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:981
738
  msgid "2x installments"
739
  msgstr ""
740
 
741
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:982
742
  msgid "3x installments"
743
  msgstr ""
744
 
745
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:983
746
  msgid "4x installments"
747
  msgstr ""
748
 
749
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:984
750
  msgid "5x installments"
751
  msgstr ""
752
 
753
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:985
754
  msgid "6x installments"
755
  msgstr ""
756
 
757
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:986
758
  msgid "10x installments"
759
  msgstr ""
760
 
761
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:987
762
  msgid "12x installments"
763
  msgstr ""
764
 
765
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:988
766
  msgid "15x installments"
767
  msgstr ""
768
 
769
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:989
770
  msgid "18x installments"
771
  msgstr ""
772
 
773
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:990
774
  msgid "24x installments"
775
  msgstr ""
776
 
777
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1019
778
  msgid "URL for IPN"
779
  msgstr ""
780
 
781
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1022
782
  msgid "Enter a URL to receive payment notifications. In %s you can check more information."
783
  msgstr ""
784
 
785
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1023
786
  msgid "our guides"
787
  msgstr ""
788
 
789
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1038
790
  msgid "Edit these advanced fields only when you want to modify the preset values."
791
  msgstr ""
792
 
793
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1051
794
  msgid "Discount coupons"
795
  msgstr ""
796
 
797
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1054
798
  msgid "Will you offer discount coupons to customers who buy with Mercado Pago?"
799
  msgstr ""
800
 
801
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1069
802
  msgid "It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it."
803
  msgstr ""
804
 
805
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1070
806
  msgid "Market Payment Configuration"
807
  msgstr ""
808
 
809
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1084
810
  msgid "Binary mode"
811
  msgstr ""
812
 
813
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1087
814
  msgid "Accept and reject payments automatically. Do you want us to activate it?"
815
  msgstr ""
816
 
817
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1103
818
  msgid "Discounts per purchase with Mercado Pago"
819
  msgstr ""
820
 
821
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1105
822
  msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago."
823
  msgstr ""
824
 
825
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1122
826
  msgid "Commission for purchase with Mercado Pago"
827
  msgstr ""
828
 
829
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1124
830
  msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago."
831
  msgstr ""
832
 
833
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1149
834
  msgid "Everything set up? Go to your store in Sandbox mode"
835
  msgstr ""
836
 
837
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1147
838
  msgid "Everything ready for the takeoff of your sales?"
839
  msgstr ""
840
 
841
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1168
842
  msgid "Visit your store and simulate a payment to check that everything is fine."
843
  msgstr ""
844
 
845
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1166
846
  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."
847
  msgstr ""
848
 
849
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1187
850
  msgid "I want to test my sales"
851
  msgstr ""
852
 
853
- #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1185
854
  msgid "Visit my store"
855
  msgstr ""
856
 
@@ -862,71 +850,71 @@ msgstr ""
862
  msgid "Pay with cash"
863
  msgstr ""
864
 
865
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:196
866
  msgid "Checkout of payments with cash %s"
867
  msgstr ""
868
 
869
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:199
870
  msgid "Accept face-to-face payments, do not leave anyone out!"
871
  msgstr ""
872
 
873
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:203
874
  msgid "Include this preferred purchase option by some customers."
875
  msgstr ""
876
 
877
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:246
878
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
879
  msgstr ""
880
 
881
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:259
882
  msgid "Set payment preferences with cash"
883
  msgstr ""
884
 
885
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:272
886
  msgid "Advanced configuration of the cash payment experience"
887
  msgstr ""
888
 
889
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:285
890
  msgid "Reduce inventory"
891
  msgstr ""
892
 
893
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:288
894
  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."
895
  msgstr ""
896
 
897
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:302
898
  msgid "Payment Due"
899
  msgstr ""
900
 
901
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:304
902
  msgid "In how many days will cash payments expire."
903
  msgstr ""
904
 
905
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:333
906
  msgid "All payment methods"
907
  msgstr ""
908
 
909
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:474, includes/payments/WC_WooMercadoPago_TicketGateway.php:492
910
  msgid "There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?"
911
  msgstr ""
912
 
913
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:561
914
  msgid "A problem occurred when processing your payment. Please try again."
915
  msgstr ""
916
 
917
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:547
918
  msgid "A problem occurred when processing your payment. Are you sure you have correctly filled in all the information on the checkout form?"
919
  msgstr ""
920
 
921
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:524
922
  msgid "The customer has not paid yet."
923
  msgstr ""
924
 
925
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:529
926
  msgid "To print the ticket again click"
927
  msgstr ""
928
 
929
- #: includes/payments/WC_WooMercadoPago_TicketGateway.php:532
930
  msgid "here"
931
  msgstr ""
932
 
@@ -1161,11 +1149,11 @@ msgstr ""
1161
  msgid "Activate WooCommerce"
1162
  msgstr ""
1163
 
1164
- #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:218
1165
  msgid "Shipping service used by the store."
1166
  msgstr ""
1167
 
1168
- #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:365, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:366
1169
  msgid "Discount provided by store"
1170
  msgstr ""
1171
 
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
 
17
+ #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:52
18
+ msgid "Activate this option so that the value of the currency set in WooCommerce is compatible with the value of the currency you use in Mercado Pago."
 
 
 
 
19
  msgstr ""
20
 
21
+ #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:311
22
+ msgid "Convert Currency"
23
  msgstr ""
24
 
25
+ #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:378
26
+ msgid "Now we convert your currency from %s to %s."
27
  msgstr ""
28
 
29
+ #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:394
30
+ msgid "We no longer convert your currency from %s to %s."
31
  msgstr ""
32
 
33
+ #: includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php:411
34
+ 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."
35
  msgstr ""
36
 
37
+ #: includes/module/WC_WooMercadoPago_Configs.php:112
38
+ msgid "The store should have HTTPS in order to activate both Checkout Personalizado and Ticket Checkout."
39
  msgstr ""
40
 
41
+ #: includes/module/WC_WooMercadoPago_Init.php:38
42
+ msgid "Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version."
43
  msgstr ""
44
 
45
+ #: includes/module/WC_WooMercadoPago_Init.php:48
46
+ msgid "Mercado Pago Error: PHP Extension CURL is not installed."
47
  msgstr ""
48
 
49
+ #: includes/module/WC_WooMercadoPago_Init.php:60
50
+ msgid "The Mercado Pago module needs an active version of %s in order to work!"
51
  msgstr ""
52
 
53
+ #: includes/module/WC_WooMercadoPago_Init.php:68
54
+ msgid "Cancel order"
55
  msgstr ""
56
 
57
  #: includes/module/WC_WooMercadoPago_Module.php:244, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:405
142
  msgid "for"
143
  msgstr ""
144
 
145
+ #: includes/module/WC_WooMercadoPago_Module.php:561, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:515
146
  msgid "Colombia"
147
  msgstr ""
148
 
149
+ #: includes/module/WC_WooMercadoPago_Module.php:563, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:512
150
  msgid "Argentina"
151
  msgstr ""
152
 
153
+ #: includes/module/WC_WooMercadoPago_Module.php:565, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:513
154
  msgid "Brazil"
155
  msgstr ""
156
 
157
+ #: includes/module/WC_WooMercadoPago_Module.php:567, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:514
158
  msgid "Chile"
159
  msgstr ""
160
 
161
+ #: includes/module/WC_WooMercadoPago_Module.php:569, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:516
162
  msgid "Mexico"
163
  msgstr ""
164
 
165
+ #: includes/module/WC_WooMercadoPago_Module.php:571, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:518
166
  msgid "Uruguay"
167
  msgstr ""
168
 
170
  msgid "Venezuela"
171
  msgstr ""
172
 
173
+ #: includes/module/WC_WooMercadoPago_Module.php:575, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:517
174
  msgid "Peru"
175
  msgstr ""
176
 
178
  msgid "Update the WooCommerce order to "
179
  msgstr ""
180
 
181
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:148
182
  msgid "Payment approved."
183
  msgstr ""
184
 
185
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:193, includes/notification/WC_WooMercadoPago_Notification_Abstract.php:196
186
  msgid "Waiting for the ticket payment."
187
  msgstr ""
188
 
189
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:202
190
  msgid "The customer has not made the payment yet."
191
  msgstr ""
192
 
193
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:213
194
  msgid "Payment is pending review."
195
  msgstr ""
196
 
197
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:222
198
  msgid "Payment was declined. The customer can try again."
199
  msgstr ""
200
 
201
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:231
202
  msgid "Payment was returned to the customer."
203
  msgstr ""
204
 
205
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:240
206
  msgid "Payment was canceled."
207
  msgstr ""
208
 
209
+ #: includes/notification/WC_WooMercadoPago_Notification_Abstract.php:250, includes/notification/WC_WooMercadoPago_Notification_Abstract.php:260
210
  msgid "The payment is in mediation or the purchase was unknown by the customer."
211
  msgstr ""
212
 
250
  msgid "Pay with the payment method you prefer"
251
  msgstr ""
252
 
253
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:245
254
  msgid "Mercado Pago checkout %s"
255
  msgstr ""
256
 
257
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:248
258
  msgid "Accept all method of payment and take your charges to another level"
259
  msgstr ""
260
 
261
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:252
262
  msgid "Turn your online store into your customers preferred payment gateway. Choose if the final payment experience will be inside or outside your store."
263
  msgstr ""
264
 
265
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:269, includes/payments/WC_WooMercadoPago_TicketGateway.php:219
266
  msgid "Configure Mercado Pago for WooCommerce"
267
  msgstr ""
268
 
269
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:282
270
  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."
271
  msgstr ""
272
 
273
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:295
 
 
 
 
274
  msgid "Set payment preferences in your store"
275
  msgstr ""
276
 
277
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:308
278
  msgid "Advanced settings"
279
  msgstr ""
280
 
281
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:321
282
  msgid "Payment experience"
283
  msgstr ""
284
 
285
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:323
286
  msgid "Define what payment experience your customers will have, whether inside or outside your store."
287
  msgstr ""
288
 
289
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:326
290
  msgid "Redirect"
291
  msgstr ""
292
 
293
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:327
294
  msgid "Modal"
295
  msgstr ""
296
 
297
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:343
298
  msgid "Choose the URL that we will show your customers when they finish their purchase."
299
  msgstr ""
300
 
301
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:341, includes/payments/WC_WooMercadoPago_BasicGateway.php:361, includes/payments/WC_WooMercadoPago_BasicGateway.php:382
302
  msgid "This seems to be an invalid URL."
303
  msgstr ""
304
 
305
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:346
306
  msgid "Success URL"
307
  msgstr ""
308
 
309
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:363
310
  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."
311
  msgstr ""
312
 
313
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:366
314
  msgid "Payment URL rejected"
315
  msgstr ""
316
 
317
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:384
318
  msgid "Choose the URL that we will show to your customers when they have a payment pending approval."
319
  msgstr ""
320
 
321
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:387
322
  msgid "Payment URL pending"
323
  msgstr ""
324
 
325
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:467
326
  msgid "Select offline payments"
327
  msgstr ""
328
 
329
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:456
330
  msgid "Select debit cards"
331
  msgstr ""
332
 
333
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:445
334
  msgid "Select credit cards"
335
  msgstr ""
336
 
337
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:474, includes/payments/WC_WooMercadoPago_TicketGateway.php:326
338
  msgid "Payment methods"
339
  msgstr ""
340
 
341
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:475, includes/payments/WC_WooMercadoPago_TicketGateway.php:327
342
  msgid "Choose the available payment methods in your store."
343
  msgstr ""
344
 
345
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:478, includes/payments/WC_WooMercadoPago_TicketGateway.php:330
346
  msgid "Activate the available payment methods to your clients."
347
  msgstr ""
348
 
349
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:498
350
  msgid "Return to the store"
351
  msgstr ""
352
 
353
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:501
354
  msgid "Do you want your customer to automatically return to the store after payment?"
355
  msgstr ""
356
 
357
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:503, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:570, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:654, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:940, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1047, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1080, includes/payments/WC_WooMercadoPago_TicketGateway.php:277
358
  msgid "Yes"
359
  msgstr ""
360
 
361
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:504, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:569, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:653, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:939, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1046, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1081, includes/payments/WC_WooMercadoPago_TicketGateway.php:276
362
  msgid "No"
363
  msgstr ""
364
 
365
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:530
366
  msgid "installments"
367
  msgstr ""
368
 
369
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:534
370
  msgid "installment"
371
  msgstr ""
372
 
373
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:601, includes/payments/WC_WooMercadoPago_BasicGateway.php:601, includes/payments/WC_WooMercadoPago_BasicGateway.php:588, includes/payments/WC_WooMercadoPago_BasicGateway.php:588, includes/payments/WC_WooMercadoPago_CustomGateway.php:345, includes/payments/WC_WooMercadoPago_CustomGateway.php:345, includes/payments/WC_WooMercadoPago_CustomGateway.php:333, includes/payments/WC_WooMercadoPago_CustomGateway.php:333, includes/payments/WC_WooMercadoPago_TicketGateway.php:444, includes/payments/WC_WooMercadoPago_TicketGateway.php:444, includes/payments/WC_WooMercadoPago_TicketGateway.php:431, includes/payments/WC_WooMercadoPago_TicketGateway.php:431, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:134, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:132
374
  msgid "discount of"
375
  msgstr ""
376
 
377
+ #: includes/payments/WC_WooMercadoPago_BasicGateway.php:606, includes/payments/WC_WooMercadoPago_BasicGateway.php:606, includes/payments/WC_WooMercadoPago_BasicGateway.php:593, includes/payments/WC_WooMercadoPago_BasicGateway.php:593, includes/payments/WC_WooMercadoPago_CustomGateway.php:350, includes/payments/WC_WooMercadoPago_CustomGateway.php:350, includes/payments/WC_WooMercadoPago_CustomGateway.php:338, includes/payments/WC_WooMercadoPago_CustomGateway.php:338, includes/payments/WC_WooMercadoPago_TicketGateway.php:449, includes/payments/WC_WooMercadoPago_TicketGateway.php:449, includes/payments/WC_WooMercadoPago_TicketGateway.php:436, includes/payments/WC_WooMercadoPago_TicketGateway.php:436, includes/payments/hooks/WC_WooMercadoPago_Hook_Abstract.php:136
378
  msgid "fee of"
379
  msgstr ""
380
 
390
  msgid "Pay with debit and credit cards"
391
  msgstr ""
392
 
393
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:158
394
  msgid "Checkout of payments with debit and credit cards %s"
395
  msgstr ""
396
 
397
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:161
398
  msgid "Accept payments instantly and maximize the conversion of your business"
399
  msgstr ""
400
 
401
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:165
402
  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!"
403
  msgstr ""
404
 
405
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:182
406
  msgid "Set up the payment experience in your store"
407
  msgstr ""
408
 
409
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:195
410
  msgid "Configure the personalized payment experience in your store"
411
  msgstr ""
412
 
413
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:208
414
  msgid "Advanced configuration of the personalized payment experience\""
415
  msgstr ""
416
 
417
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:223
418
  msgid "That’s it, payment accepted!"
419
  msgstr ""
420
 
421
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:225
422
  msgid "We are processing your payment. In less than an hour we will send you the result by email."
423
  msgstr ""
424
 
425
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:227
426
  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."
427
  msgstr ""
428
 
429
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:229
430
  msgid "Check the card number."
431
  msgstr ""
432
 
433
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:231
434
  msgid "Check the expiration date."
435
  msgstr ""
436
 
437
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:233
438
  msgid "Check the information provided."
439
  msgstr ""
440
 
441
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:235, templates/checkout/custom_checkout.php:107, templates/checkout/custom_checkout.php:108
442
  msgid "Check the informed security code."
443
  msgstr ""
444
 
445
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:237, includes/payments/WC_WooMercadoPago_CustomGateway.php:243
446
  msgid "Your payment cannot be processed."
447
  msgstr ""
448
 
449
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:239
450
  msgid "You must authorize payments for your orders."
451
  msgstr ""
452
 
453
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:241
454
  msgid "Contact your card issuer to activate it. The phone is on the back of your card."
455
  msgstr ""
456
 
457
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:245
458
  msgid "You have already made a payment of this amount. If you have to pay again, use another card or other method of payment."
459
  msgstr ""
460
 
461
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:247
462
  msgid "Your payment was declined. Please select another payment method. It is recommended in cash."
463
  msgstr ""
464
 
465
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:249
466
  msgid "Your payment does not have sufficient funds."
467
  msgstr ""
468
 
469
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:251
470
  msgid "Payment cannot process the selected fee."
471
  msgstr ""
472
 
473
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:253
474
  msgid "You have reached the limit of allowed attempts. Choose another card or other payment method."
475
  msgstr ""
476
 
477
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:255, includes/payments/WC_WooMercadoPago_CustomGateway.php:257, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:64
478
  msgid "This payment method cannot process your payment."
479
  msgstr ""
480
 
481
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:444
482
  msgid "A problem was occurred when processing your payment. Please, try again."
483
  msgstr ""
484
 
485
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:435
486
  msgid "A problem was occurred when processing your payment. Are you sure you have correctly filled all information in the checkout form?"
487
  msgstr ""
488
 
489
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:396
490
  msgid "See your order form"
491
  msgstr ""
492
 
493
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:408
494
  msgid "Your payment was declined. You can try again."
495
  msgstr ""
496
 
497
+ #: includes/payments/WC_WooMercadoPago_CustomGateway.php:413, includes/payments/hooks/WC_WooMercadoPago_Hook_Basic.php:83
498
  msgid "Click to try again"
499
  msgstr ""
500
 
506
  msgid "Approve your account"
507
  msgstr ""
508
 
509
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:358
510
  msgid "Title"
511
  msgstr ""
512
 
513
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:373
514
  msgid "Description"
515
  msgstr ""
516
 
517
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:408
518
  msgid "<b>Follow these steps to activate Mercado Pago in your store:</b>"
519
  msgstr ""
520
 
521
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:413
522
  msgid "<b>Upload your credentials</b> depending on the country in which you are registered."
523
  msgstr ""
524
 
525
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:420
526
  msgid "<b>Approve your account</b> to be able to charge."
527
  msgstr ""
528
 
529
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:427
530
  msgid "<b>Add the basic information of your business</b> in the plugin configuration."
531
  msgstr ""
532
 
533
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:434
534
  msgid "<b>Configure the payment preferences</b> for your customers."
535
  msgstr ""
536
 
537
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:441
538
  msgid "<b>Go to advanced settings</b> only when you want to change the presets."
539
  msgstr ""
540
 
541
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:460
542
  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"
543
  msgstr ""
544
 
545
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:461
546
  msgid "approved account"
547
  msgstr ""
548
 
549
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:478
550
  msgid "In which country does your Mercado Pago account operate?"
551
  msgstr ""
552
 
553
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:507
554
  msgid "Select your country"
555
  msgstr ""
556
 
557
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:509
558
  msgid "Select the country in which you operate with Mercado Pago"
559
  msgstr ""
560
 
561
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:542, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:546
 
 
 
 
562
  msgid "Save Changes"
563
  msgstr ""
564
 
565
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:564
566
  msgid "Activate checkout"
567
  msgstr ""
568
 
569
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:567
570
  msgid "Activate the Mercado Pago experience at the checkout of your store."
571
  msgstr ""
572
 
573
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:582
574
  msgid "Enter your credentials and choose how to operate"
575
  msgstr ""
576
 
577
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:595
578
  msgid "Test Mode"
579
  msgstr ""
580
 
581
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:608
582
  msgid "By default, we activate the Sandbox test environment for you to test before you start selling."
583
  msgstr ""
584
 
585
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:621
586
  msgid "Production Mode"
587
  msgstr ""
588
 
589
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:634
590
  msgid "When you see that everything is going well, deactivate Sandbox, turn on Production and make way for your online sales."
591
  msgstr ""
592
 
593
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:648
594
  msgid "Production"
595
  msgstr ""
596
 
597
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:650
598
  msgid "Choose “Yes” only when you’re ready to sell. Switch to “No” to activate Testing mode."
599
  msgstr ""
600
 
601
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:672
602
  msgid "Load credentials"
603
  msgstr ""
604
 
605
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:676
606
  msgid "Search my credentials"
607
  msgstr ""
608
 
609
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:695
610
  msgid "Test credentials"
611
  msgstr ""
612
 
613
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:707
614
  msgid "With these keys you can do the tests you want.."
615
  msgstr ""
616
 
617
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:720, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:777
618
  msgid "Public key"
619
  msgstr ""
620
 
621
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:736, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:794
622
  msgid "Access token"
623
  msgstr ""
624
 
625
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:752
626
  msgid "Production credentials"
627
  msgstr ""
628
 
629
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:764
630
  msgid "With these keys you can receive real payments from your customers."
631
  msgstr ""
632
 
633
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:811
634
  msgid "Approve your account, it will only take a few minutes"
635
  msgstr ""
636
 
637
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:824
638
  msgid "Complete this process to secure your customers data and comply with the regulations<br> and legal provisions of each country."
639
  msgstr ""
640
 
641
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:838, includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1182
642
+ msgid "%s"
643
+ msgstr ""
644
+
645
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:839
646
  msgid "Homologate account in Mercado Pago"
647
  msgstr ""
648
 
649
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:853
650
  msgid "Store name"
651
  msgstr ""
652
 
653
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:855
654
  msgid "This name will appear on your customers invoice."
655
  msgstr ""
656
 
657
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:856
658
  msgid "Mercado Pago"
659
  msgstr ""
660
 
661
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:872
662
  msgid "Store Category"
663
  msgstr ""
664
 
665
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:874
666
  msgid "What category do your products belong to? Choose the one that best characterizes them (choose \"other\" if your product is too specific)."
667
  msgstr ""
668
 
669
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:875
670
  msgid "Categories"
671
  msgstr ""
672
 
673
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:887
674
  msgid "Store ID"
675
  msgstr ""
676
 
677
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:889
678
  msgid "Use a number or prefix to identify orders and payments from this store."
679
  msgstr ""
680
 
681
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:902
682
  msgid "Integrator ID"
683
  msgstr ""
684
 
685
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:905
686
  msgid "Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s"
687
  msgstr ""
688
 
689
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:906
690
  msgid "request it now."
691
  msgstr ""
692
 
693
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:920
694
  msgid "Advanced adjustment"
695
  msgstr ""
696
 
697
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:933
698
  msgid "Debug and Log mode"
699
  msgstr ""
700
 
701
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:936
702
  msgid "Record your store actions in our changes file to have more support information."
703
  msgstr ""
704
 
705
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:937
706
  msgid "We debug the information in our change file."
707
  msgstr ""
708
 
709
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:952
710
  msgid "Basic Configuration"
711
  msgstr ""
712
 
713
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:965
 
 
 
 
714
  msgid "Max of installments"
715
  msgstr ""
716
 
717
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:967
718
  msgid "What is the maximum quota with which a customer can buy?"
719
  msgstr ""
720
 
721
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:970
722
  msgid "1x installment"
723
  msgstr ""
724
 
725
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:971
726
  msgid "2x installments"
727
  msgstr ""
728
 
729
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:972
730
  msgid "3x installments"
731
  msgstr ""
732
 
733
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:973
734
  msgid "4x installments"
735
  msgstr ""
736
 
737
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:974
738
  msgid "5x installments"
739
  msgstr ""
740
 
741
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:975
742
  msgid "6x installments"
743
  msgstr ""
744
 
745
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:976
746
  msgid "10x installments"
747
  msgstr ""
748
 
749
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:977
750
  msgid "12x installments"
751
  msgstr ""
752
 
753
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:978
754
  msgid "15x installments"
755
  msgstr ""
756
 
757
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:979
758
  msgid "18x installments"
759
  msgstr ""
760
 
761
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:980
762
  msgid "24x installments"
763
  msgstr ""
764
 
765
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1009
766
  msgid "URL for IPN"
767
  msgstr ""
768
 
769
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1012
770
  msgid "Enter a URL to receive payment notifications. In %s you can check more information."
771
  msgstr ""
772
 
773
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1013
774
  msgid "our guides"
775
  msgstr ""
776
 
777
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1028
778
  msgid "Edit these advanced fields only when you want to modify the preset values."
779
  msgstr ""
780
 
781
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1041
782
  msgid "Discount coupons"
783
  msgstr ""
784
 
785
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1044
786
  msgid "Will you offer discount coupons to customers who buy with Mercado Pago?"
787
  msgstr ""
788
 
789
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1059
790
  msgid "It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it."
791
  msgstr ""
792
 
793
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1060
794
  msgid "Market Payment Configuration"
795
  msgstr ""
796
 
797
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1074
798
  msgid "Binary mode"
799
  msgstr ""
800
 
801
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1077
802
  msgid "Accept and reject payments automatically. Do you want us to activate it?"
803
  msgstr ""
804
 
805
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1093
806
  msgid "Discounts per purchase with Mercado Pago"
807
  msgstr ""
808
 
809
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1095
810
  msgid "Choose a percentage value that you want to discount your customers for paying with Mercado Pago."
811
  msgstr ""
812
 
813
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1112
814
  msgid "Commission for purchase with Mercado Pago"
815
  msgstr ""
816
 
817
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1114
818
  msgid "Choose an additional percentage value that you want to charge as commission to your customers for paying with Mercado Pago."
819
  msgstr ""
820
 
821
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1139
822
  msgid "Everything set up? Go to your store in Sandbox mode"
823
  msgstr ""
824
 
825
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1137
826
  msgid "Everything ready for the takeoff of your sales?"
827
  msgstr ""
828
 
829
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1158
830
  msgid "Visit your store and simulate a payment to check that everything is fine."
831
  msgstr ""
832
 
833
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1156
834
  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."
835
  msgstr ""
836
 
837
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1177
838
  msgid "I want to test my sales"
839
  msgstr ""
840
 
841
+ #: includes/payments/WC_WooMercadoPago_PaymentAbstract.php:1175
842
  msgid "Visit my store"
843
  msgstr ""
844
 
850
  msgid "Pay with cash"
851
  msgstr ""
852
 
853
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:195
854
  msgid "Checkout of payments with cash %s"
855
  msgstr ""
856
 
857
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:198
858
  msgid "Accept face-to-face payments, do not leave anyone out!"
859
  msgstr ""
860
 
861
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:202
862
  msgid "Include this preferred purchase option by some customers."
863
  msgstr ""
864
 
865
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:232
866
  msgid "Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers."
867
  msgstr ""
868
 
869
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:245
870
  msgid "Set payment preferences with cash"
871
  msgstr ""
872
 
873
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:258
874
  msgid "Advanced configuration of the cash payment experience"
875
  msgstr ""
876
 
877
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:271
878
  msgid "Reduce inventory"
879
  msgstr ""
880
 
881
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:274
882
  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."
883
  msgstr ""
884
 
885
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:288
886
  msgid "Payment Due"
887
  msgstr ""
888
 
889
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:290
890
  msgid "In how many days will cash payments expire."
891
  msgstr ""
892
 
893
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:319
894
  msgid "All payment methods"
895
  msgstr ""
896
 
897
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:466, includes/payments/WC_WooMercadoPago_TicketGateway.php:484
898
  msgid "There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?"
899
  msgstr ""
900
 
901
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:553
902
  msgid "A problem occurred when processing your payment. Please try again."
903
  msgstr ""
904
 
905
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:539
906
  msgid "A problem occurred when processing your payment. Are you sure you have correctly filled in all the information on the checkout form?"
907
  msgstr ""
908
 
909
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:516
910
  msgid "The customer has not paid yet."
911
  msgstr ""
912
 
913
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:521
914
  msgid "To print the ticket again click"
915
  msgstr ""
916
 
917
+ #: includes/payments/WC_WooMercadoPago_TicketGateway.php:524
918
  msgid "here"
919
  msgstr ""
920
 
1149
  msgid "Activate WooCommerce"
1150
  msgstr ""
1151
 
1152
+ #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:225
1153
  msgid "Shipping service used by the store."
1154
  msgstr ""
1155
 
1156
+ #: includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:372, includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php:373
1157
  msgid "Discount provided by store"
1158
  msgstr ""
1159
 
includes/helpers/WC_WooMercadoPago_Helpers_CurrencyConverter.php CHANGED
@@ -90,7 +90,8 @@ class WC_WooMercadoPago_Helpers_CurrencyConverter
90
 
91
  $this->setRatio($method->id, $this->loadRatio($localCurrency, $accountCurrency));
92
  } catch (Exception $e) {
93
- $this->setRatio($method->id);
 
94
  }
95
  }
96
 
@@ -207,18 +208,20 @@ class WC_WooMercadoPago_Helpers_CurrencyConverter
207
 
208
  if ($result['status'] != 200) {
209
  $this->log->write_log(__FUNCTION__, 'Mercado pago gave error to get currency value, payment creation failed with error: ' . print_r($result, true));
210
- return false;
 
211
  }
212
 
213
  if (isset($result['response'], $result['response']['ratio'])) {
214
  $ratio = $result['response']['ratio'] > 0 ? $result['response']['ratio'] : self::DEFAULT_RATIO;
215
  }
216
  } catch (Exception $e) {
217
- //error getting from API
218
  $this->log->write_log(
219
  "WC_WooMercadoPago_Helpers_CurrencyConverter::loadRatio('$fromCurrency', '$toCurrency')",
220
  $e->__toString()
221
  );
 
 
222
  }
223
 
224
  $this->cache[$cacheKey] = $ratio;
@@ -372,8 +375,8 @@ class WC_WooMercadoPago_Helpers_CurrencyConverter
372
 
373
  return '
374
  <div class="notice notice-success">
375
- <p>' . __('Now we convert your currency from {%s} to {%s}.', $localCurrency, $currency, 'woocommerce-mercadopago') . '</p>
376
- </div>
377
  ';
378
  }
379
 
@@ -388,7 +391,7 @@ class WC_WooMercadoPago_Helpers_CurrencyConverter
388
 
389
  return '
390
  <div class="notice notice-error">
391
- <p>' . __('We no longer convert your currency from {%s} to {%s}.', $localCurrency, $currency, 'woocommerce-mercadopago') . '</p>
392
  </div>
393
  ';
394
  }
90
 
91
  $this->setRatio($method->id, $this->loadRatio($localCurrency, $accountCurrency));
92
  } catch (Exception $e) {
93
+ $this->setRatio($method->id);
94
+ throw $e;
95
  }
96
  }
97
 
208
 
209
  if ($result['status'] != 200) {
210
  $this->log->write_log(__FUNCTION__, 'Mercado pago gave error to get currency value, payment creation failed with error: ' . print_r($result, true));
211
+ $ratio = self::DEFAULT_RATIO;
212
+ throw new Exception('Status: ' . $result['status'] . ' Message: ' . $result['response']['message']);
213
  }
214
 
215
  if (isset($result['response'], $result['response']['ratio'])) {
216
  $ratio = $result['response']['ratio'] > 0 ? $result['response']['ratio'] : self::DEFAULT_RATIO;
217
  }
218
  } catch (Exception $e) {
 
219
  $this->log->write_log(
220
  "WC_WooMercadoPago_Helpers_CurrencyConverter::loadRatio('$fromCurrency', '$toCurrency')",
221
  $e->__toString()
222
  );
223
+
224
+ throw $e;
225
  }
226
 
227
  $this->cache[$cacheKey] = $ratio;
375
 
376
  return '
377
  <div class="notice notice-success">
378
+ <p>' . sprintf( __('Now we convert your currency from %s to %s.', 'woocommerce-mercadopago'), $localCurrency, $currency ) . '</p>
379
+ </div>
380
  ';
381
  }
382
 
391
 
392
  return '
393
  <div class="notice notice-error">
394
+ <p>' . sprintf( __('We no longer convert your currency from %s to %s.', 'woocommerce-mercadopago'), $localCurrency, $currency) . '</p>
395
  </div>
396
  ';
397
  }
includes/module/WC_WooMercadoPago_Init.php ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ class WC_WooMercadoPago_Init
8
+ {
9
+
10
+ /**
11
+ * Load plugin text domain.
12
+ *
13
+ * Need to require here before test for PHP version.
14
+ *
15
+ * @since 3.0.1
16
+ */
17
+ public static function woocommerce_mercadopago_load_plugin_textdomain()
18
+ {
19
+ $text_domain = 'woocommerce-mercadopago';
20
+ $locale = apply_filters('plugin_locale', get_locale(), $text_domain);
21
+
22
+ $original_language_file = dirname(__FILE__) . '/../../i18n/languages/woocommerce-mercadopago-' . $locale . '.mo';
23
+
24
+ // Unload the translation for the text domain of the plugin
25
+ unload_textdomain($text_domain);
26
+ // Load first the override file
27
+ load_textdomain($text_domain, $original_language_file);
28
+ }
29
+
30
+ /**
31
+ * Notice about unsupported PHP version.
32
+ *
33
+ * @since 3.0.1
34
+ */
35
+ public static function wc_mercado_pago_unsupported_php_version_notice()
36
+ {
37
+ $type = 'error';
38
+ $message = esc_html__('Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version.', 'woocommerce-mercadopago');
39
+ echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
40
+ }
41
+
42
+ /**
43
+ * Curl validation
44
+ */
45
+ public static function wc_mercado_pago_notify_curl_error()
46
+ {
47
+ $type = 'error';
48
+ $message = __('Mercado Pago Error: PHP Extension CURL is not installed.', 'woocommerce-mercadopago');
49
+ echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
50
+ }
51
+
52
+ /**
53
+ * Summary: Places a warning error to notify user that WooCommerce is missing.
54
+ * Description: Places a warning error to notify user that WooCommerce is missing.
55
+ */
56
+ public static function notify_woocommerce_miss()
57
+ {
58
+ $type = 'error';
59
+ $message = sprintf(
60
+ __('The Mercado Pago module needs an active version of %s in order to work!', 'woocommerce-mercadopago'),
61
+ ' <a href="https://wordpress.org/extend/plugins/woocommerce/">WooCommerce</a>'
62
+ );
63
+ echo WC_WooMercadoPago_Notices::getAlertWocommerceMiss($message, $type);
64
+ }
65
+
66
+ public static function add_mp_order_meta_box_actions($actions)
67
+ {
68
+ $actions['cancel_order'] = __('Cancel order', 'woocommerce-mercadopago');
69
+ return $actions;
70
+ }
71
+
72
+ /**
73
+ *
74
+ */
75
+ public static function mp_show_admin_notices()
76
+ {
77
+ if (!WC_WooMercadoPago_Module::isWcNewVersion() || (isset($_GET['page']) && $_GET['page'] == "wc-settings") && is_plugin_active('woocommerce-admin/woocommerce-admin.php')) {
78
+ return;
79
+ }
80
+
81
+ $noticesArray = WC_WooMercadoPago_Module::$notices;
82
+ $notices = array_unique($noticesArray, SORT_STRING);
83
+ foreach ($notices as $notice) {
84
+ echo $notice;
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', '<=')) {
97
+ add_action('admin_notices', array(__CLASS__, 'wc_mercado_pago_unsupported_php_version_notice'));
98
+ return;
99
+ }
100
+
101
+ if (!in_array('curl', get_loaded_extensions())) {
102
+ add_action('admin_notices', array(__CLASS__, 'wc_mercado_pago_notify_curl_error'));
103
+ return;
104
+ }
105
+
106
+ // Load Mercado Pago SDK
107
+ require_once dirname(__FILE__) . '/sdk/lib/MP.php';
108
+
109
+ // Checks with WooCommerce is installed.
110
+ if (class_exists('WC_Payment_Gateway')) {
111
+ require_once dirname(__FILE__) . '/config/WC_WooMercadoPago_Constants.php';
112
+ require_once dirname(__FILE__) . '/WC_WooMercadoPago_Exception.php';
113
+ require_once dirname(__FILE__) . '/WC_WooMercadoPago_Configs.php';
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 {
122
+ add_action('admin_notices', array(__CLASS__, 'notify_woocommerce_miss'));
123
+ }
124
+ add_action('woocommerce_settings_checkout', array(__CLASS__, 'mp_show_admin_notices'));
125
+ }
126
+ }
includes/module/WC_WooMercadoPago_Module.php CHANGED
@@ -31,6 +31,7 @@ class WC_WooMercadoPago_Module extends WC_WooMercadoPago_Configs
31
  $this->loadPreferences();
32
  $this->loadPayments();
33
  $this->loadNotifications();
 
34
 
35
  add_action('admin_enqueue_scripts', [$this, 'loadAdminCss']);
36
 
@@ -211,6 +212,14 @@ class WC_WooMercadoPago_Module extends WC_WooMercadoPago_Configs
211
  }
212
  }
213
 
 
 
 
 
 
 
 
 
214
  /**
215
  * @param $methods
216
  * @return array
31
  $this->loadPreferences();
32
  $this->loadPayments();
33
  $this->loadNotifications();
34
+ $this->loadStockManager();
35
 
36
  add_action('admin_enqueue_scripts', [$this, 'loadAdminCss']);
37
 
212
  }
213
  }
214
 
215
+ /**
216
+ * Stock Manager
217
+ */
218
+ public function loadStockManager()
219
+ {
220
+ include_once dirname(__FILE__) . '/../stock/WC_WooMercadoPago_Stock_Manager.php';
221
+ }
222
+
223
  /**
224
  * @param $methods
225
  * @return array
includes/module/config/WC_WooMercadoPago_Constants.php CHANGED
@@ -11,7 +11,7 @@ class WC_WooMercadoPago_Constants
11
  {
12
  const PRODUCT_ID = 'BC32CPFTRPP001U8NHRG';
13
  const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
14
- const VERSION = '4.2.2';
15
  const MIN_PHP = 5.6;
16
  const API_MP_BASE_URL = 'https://api.mercadopago.com';
17
  }
11
  {
12
  const PRODUCT_ID = 'BC32CPFTRPP001U8NHRG';
13
  const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
14
+ const VERSION = '4.3.0';
15
  const MIN_PHP = 5.6;
16
  const API_MP_BASE_URL = 'https://api.mercadopago.com';
17
  }
includes/module/preference/WC_WooMercadoPago_PreferenceAbstract.php CHANGED
@@ -8,8 +8,8 @@
8
  * License - https://www.gnu.org/licenses/gpl.html GPL version 2 or higher
9
  */
10
 
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit;
13
  }
14
  abstract class WC_WooMercadoPago_PreferenceAbstract extends WC_Payment_Gateway
15
  {
@@ -56,7 +56,14 @@ abstract class WC_WooMercadoPago_PreferenceAbstract extends WC_Payment_Gateway
56
  $this->site_data = WC_WooMercadoPago_Module::$country_configs;
57
  $this->order = $order;
58
  $this->checkout = $requestCheckout;
59
- $this->currency_ratio = $this->get_currency_conversion();
 
 
 
 
 
 
 
60
  $this->items = array();
61
  $this->order_total = 0;
62
  $this->list_of_items = array();
8
  * License - https://www.gnu.org/licenses/gpl.html GPL version 2 or higher
9
  */
10
 
11
+ if (!defined('ABSPATH')) {
12
+ exit;
13
  }
14
  abstract class WC_WooMercadoPago_PreferenceAbstract extends WC_Payment_Gateway
15
  {
56
  $this->site_data = WC_WooMercadoPago_Module::$country_configs;
57
  $this->order = $order;
58
  $this->checkout = $requestCheckout;
59
+
60
+ try {
61
+ $this->currency_ratio = $this->get_currency_conversion();
62
+ } catch (Exception $e) {
63
+ $this->log->write_log(__FUNCTION__, 'Currency conversion rate failed: payment creation failed with exception: ' . $e->getMessage());
64
+ throw new Exception(__('This payment method cannot process your payment.', 'woocommerce-mercadopago'));
65
+ }
66
+
67
  $this->items = array();
68
  $this->order_total = 0;
69
  $this->list_of_items = array();
includes/notification/WC_WooMercadoPago_Notification_Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
  }
6
 
7
  /**
@@ -139,32 +139,33 @@ abstract class WC_WooMercadoPago_Notification_Abstract
139
  public function mp_rule_approved($data, $order, $used_gateway)
140
  {
141
  $order->add_order_note('Mercado Pago: ' . __('Payment approved.', 'woocommerce-mercadopago'));
142
- $payment_completed_status = apply_filters( 'woocommerce_payment_complete_order_status', $order->needs_processing() ? 'processing' : 'completed', $order->get_id(), $order );
143
- if ( method_exists( $order, 'get_status' ) && $order->get_status() !== 'completed' ) {
144
  switch ($used_gateway) {
145
  case 'WC_WooMercadoPago_CustomGateway':
146
  $order->payment_complete();
147
- if ( $payment_completed_status !== 'completed' ) {
148
- $order->update_status(self::get_wc_status_for_mp_status('approved'));
149
  }
150
  break;
151
  case 'WC_WooMercadoPago_TicketGateway':
152
  if (get_option('stock_reduce_mode', 'no') == 'no') {
153
- $order->payment_complete();
154
- if ( $payment_completed_status !== 'completed' ) {
155
- $order->update_status(self::get_wc_status_for_mp_status('approved'));
156
- }
157
  }
158
  break;
159
  case 'WC_WooMercadoPago_BasicGateway':
160
  $order->payment_complete();
161
- if ( $payment_completed_status !== 'completed' ) {
162
- $order->update_status(self::get_wc_status_for_mp_status('approved'));
163
  }
164
  break;
165
  }
166
  }
167
  }
 
168
  /**
169
  * @param $order
170
  * @param $usedGateway
@@ -253,7 +254,7 @@ abstract class WC_WooMercadoPago_Notification_Abstract
253
  return;
254
  }
255
 
256
- /**
257
  * @param $order
258
  */
259
  public function process_cancel_order_meta_box_actions($order)
1
  <?php
2
 
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
  }
6
 
7
  /**
139
  public function mp_rule_approved($data, $order, $used_gateway)
140
  {
141
  $order->add_order_note('Mercado Pago: ' . __('Payment approved.', 'woocommerce-mercadopago'));
142
+ $payment_completed_status = apply_filters('woocommerce_payment_complete_order_status', $order->needs_processing() ? 'processing' : 'completed', $order->get_id(), $order);
143
+ if (method_exists($order, 'get_status') && $order->get_status() !== 'completed') {
144
  switch ($used_gateway) {
145
  case 'WC_WooMercadoPago_CustomGateway':
146
  $order->payment_complete();
147
+ if ($payment_completed_status !== 'completed') {
148
+ $order->update_status(self::get_wc_status_for_mp_status('approved'));
149
  }
150
  break;
151
  case 'WC_WooMercadoPago_TicketGateway':
152
  if (get_option('stock_reduce_mode', 'no') == 'no') {
153
+ $order->payment_complete();
154
+ if ($payment_completed_status !== 'completed') {
155
+ $order->update_status(self::get_wc_status_for_mp_status('approved'));
156
+ }
157
  }
158
  break;
159
  case 'WC_WooMercadoPago_BasicGateway':
160
  $order->payment_complete();
161
+ if ($payment_completed_status !== 'completed') {
162
+ $order->update_status(self::get_wc_status_for_mp_status('approved'));
163
  }
164
  break;
165
  }
166
  }
167
  }
168
+
169
  /**
170
  * @param $order
171
  * @param $usedGateway
254
  return;
255
  }
256
 
257
+ /**
258
  * @param $order
259
  */
260
  public function process_cancel_order_meta_box_actions($order)
includes/payments/WC_WooMercadoPago_BasicGateway.php CHANGED
@@ -77,9 +77,9 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
77
 
78
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
79
  $form_fields['checkout_options_title'] = $this->field_checkout_options_title();
80
- $form_fields['checkout_options_subtitle'] = $this->field_checkout_options_subtitle();
81
  $form_fields['checkout_payments_title'] = $this->field_checkout_payments_title();
82
  $form_fields['checkout_payments_subtitle'] = $this->field_checkout_payments_subtitle();
 
83
  $form_fields['binary_mode'] = $this->field_binary_mode();
84
  $form_fields['installments'] = $this->field_installments();
85
  $form_fields['checkout_payments_advanced_title'] = $this->field_checkout_payments_advanced_title();
@@ -143,7 +143,6 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
143
  'checkout_homolog_link',
144
  // Configure Mercado Pago for WooCommerce
145
  'checkout_options_title',
146
- 'checkout_options_subtitle',
147
  'mp_statement_descriptor',
148
  '_mp_category_id',
149
  '_mp_store_identificator',
@@ -155,8 +154,8 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
155
  // Set up the payment experience in your store
156
  'checkout_payments_title',
157
  'checkout_payments_subtitle',
158
- 'enabled',
159
  'checkout_payments_description',
 
160
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
161
  'installments',
162
  // advanced settings
@@ -287,19 +286,6 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
287
  return $checkout_options_description;
288
  }
289
 
290
- /**
291
- * @return array
292
- */
293
- public function field_checkout_options_subtitle()
294
- {
295
- $checkout_options_subtitle = array(
296
- 'title' => __('Go to the basics. Place your business information.', 'woocommerce-mercadopago'),
297
- 'type' => 'title',
298
- 'class' => 'mp_subtitle mp-mt-5 mp-mb-5'
299
- );
300
- return $checkout_options_subtitle;
301
- }
302
-
303
  /**
304
  * @return array
305
  */
@@ -484,8 +470,6 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
484
  }
485
  }
486
 
487
- $count_payment++;
488
-
489
  if ($count_payment == 1) {
490
  $element['title'] = __('Payment methods', 'woocommerce-mercadopago');
491
  $element['desc_tip'] = __('Choose the available payment methods in your store.', 'woocommerce-mercadopago');
@@ -494,6 +478,8 @@ class WC_WooMercadoPago_BasicGateway extends WC_WooMercadoPago_PaymentAbstract
494
  $element['description'] = __('Activate the available payment methods to your clients.', 'woocommerce-mercadopago');
495
  }
496
 
 
 
497
  $ex_payments["ex_payments_" . $payment_method['id']] = $element;
498
  $ex_payments_sort[] = "ex_payments_" . $payment_method['id'];
499
  }
77
 
78
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
79
  $form_fields['checkout_options_title'] = $this->field_checkout_options_title();
 
80
  $form_fields['checkout_payments_title'] = $this->field_checkout_payments_title();
81
  $form_fields['checkout_payments_subtitle'] = $this->field_checkout_payments_subtitle();
82
+ $form_fields['checkout_payments_description'] = $this->field_checkout_options_description();
83
  $form_fields['binary_mode'] = $this->field_binary_mode();
84
  $form_fields['installments'] = $this->field_installments();
85
  $form_fields['checkout_payments_advanced_title'] = $this->field_checkout_payments_advanced_title();
143
  'checkout_homolog_link',
144
  // Configure Mercado Pago for WooCommerce
145
  'checkout_options_title',
 
146
  'mp_statement_descriptor',
147
  '_mp_category_id',
148
  '_mp_store_identificator',
154
  // Set up the payment experience in your store
155
  'checkout_payments_title',
156
  'checkout_payments_subtitle',
 
157
  'checkout_payments_description',
158
+ 'enabled',
159
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
160
  'installments',
161
  // advanced settings
286
  return $checkout_options_description;
287
  }
288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
  /**
290
  * @return array
291
  */
470
  }
471
  }
472
 
 
 
473
  if ($count_payment == 1) {
474
  $element['title'] = __('Payment methods', 'woocommerce-mercadopago');
475
  $element['desc_tip'] = __('Choose the available payment methods in your store.', 'woocommerce-mercadopago');
478
  $element['description'] = __('Activate the available payment methods to your clients.', 'woocommerce-mercadopago');
479
  }
480
 
481
+ $count_payment++;
482
+
483
  $ex_payments["ex_payments_" . $payment_method['id']] = $element;
484
  $ex_payments_sort[] = "ex_payments_" . $payment_method['id'];
485
  }
includes/payments/WC_WooMercadoPago_CustomGateway.php CHANGED
@@ -66,7 +66,6 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
66
  $form_fields['checkout_custom_header'] = $this->field_checkout_custom_header();
67
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
68
  $form_fields['checkout_custom_options_title'] = $this->field_checkout_custom_options_title();
69
- $form_fields['checkout_custom_options_subtitle'] = $this->field_checkout_custom_options_subtitle();
70
  $form_fields['checkout_custom_payments_title'] = $this->field_checkout_custom_payments_title();
71
  $form_fields['checkout_payments_subtitle'] = $this->field_checkout_payments_subtitle();
72
  $form_fields['binary_mode'] = $this->field_binary_mode();
@@ -122,7 +121,6 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
122
  'checkout_homolog_link',
123
  // Set up the payment experience in your store
124
  'checkout_custom_options_title',
125
- 'checkout_custom_options_subtitle',
126
  'mp_statement_descriptor',
127
  '_mp_category_id',
128
  '_mp_store_identificator',
@@ -134,7 +132,6 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
134
  // Configure the personalized payment experience in your store
135
  'checkout_custom_payments_title',
136
  'checkout_payments_subtitle',
137
- 'checkout_payments_description',
138
  'enabled',
139
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
140
  // Advanced configuration of the personalized payment experience"
@@ -189,19 +186,6 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
189
  return $checkout_custom_options_title;
190
  }
191
 
192
- /**
193
- * @return array
194
- */
195
- public function field_checkout_custom_options_subtitle()
196
- {
197
- $checkout_custom_options_subtitle = array(
198
- 'title' => __('Go to the basics. Place your business information.', 'woocommerce-mercadopago'),
199
- 'type' => 'title',
200
- 'class' => 'mp_subtitle mp-mt-5'
201
- );
202
- return $checkout_custom_options_subtitle;
203
- }
204
-
205
  /**
206
  * @return array
207
  */
@@ -307,6 +291,12 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
307
  }
308
  }
309
 
 
 
 
 
 
 
310
  $parameters = array(
311
  'amount' => $amount,
312
  'site_id' => $this->getOption('_site_id_v1'),
@@ -315,7 +305,7 @@ class WC_WooMercadoPago_CustomGateway extends WC_WooMercadoPago_PaymentAbstract
315
  'discount_action_url' => $this->discount_action_url,
316
  'payer_email' => $this->logged_user_email,
317
  'images_path' => plugins_url('../assets/images/', plugin_dir_path(__FILE__)),
318
- 'currency_ratio' => WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->ratio($this),
319
  'woocommerce_currency' => get_woocommerce_currency(),
320
  'account_currency' => $this->site_data['currency'],
321
  'debit_card' => $debit_card,
66
  $form_fields['checkout_custom_header'] = $this->field_checkout_custom_header();
67
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
68
  $form_fields['checkout_custom_options_title'] = $this->field_checkout_custom_options_title();
 
69
  $form_fields['checkout_custom_payments_title'] = $this->field_checkout_custom_payments_title();
70
  $form_fields['checkout_payments_subtitle'] = $this->field_checkout_payments_subtitle();
71
  $form_fields['binary_mode'] = $this->field_binary_mode();
121
  'checkout_homolog_link',
122
  // Set up the payment experience in your store
123
  'checkout_custom_options_title',
 
124
  'mp_statement_descriptor',
125
  '_mp_category_id',
126
  '_mp_store_identificator',
132
  // Configure the personalized payment experience in your store
133
  'checkout_custom_payments_title',
134
  'checkout_payments_subtitle',
 
135
  'enabled',
136
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
137
  // Advanced configuration of the personalized payment experience"
186
  return $checkout_custom_options_title;
187
  }
188
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  /**
190
  * @return array
191
  */
291
  }
292
  }
293
 
294
+ try {
295
+ $currency_ratio = WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->ratio($this);
296
+ } catch (Exception $e) {
297
+ $currency_ratio = WC_WooMercadoPago_Helpers_CurrencyConverter::DEFAULT_RATIO;
298
+ }
299
+
300
  $parameters = array(
301
  'amount' => $amount,
302
  'site_id' => $this->getOption('_site_id_v1'),
305
  'discount_action_url' => $this->discount_action_url,
306
  'payer_email' => $this->logged_user_email,
307
  'images_path' => plugins_url('../assets/images/', plugin_dir_path(__FILE__)),
308
+ 'currency_ratio' => $currency_ratio,
309
  'woocommerce_currency' => get_woocommerce_currency(),
310
  'account_currency' => $this->site_data['currency'],
311
  'debit_card' => $debit_card,
includes/payments/WC_WooMercadoPago_PaymentAbstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
  }
6
 
7
  /**
@@ -328,7 +328,6 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
328
  $form_fields['mp_statement_descriptor'] = $this->field_mp_statement_descriptor();
329
  $form_fields['_mp_store_identificator'] = $this->field_mp_store_identificator();
330
  $form_fields['_mp_integrator_id'] = $this->field_mp_integrator_id();
331
- $form_fields['checkout_payments_description'] = $this->field_checkout_options_description();
332
  $form_fields['checkout_advanced_settings'] = $this->field_checkout_advanced_settings();
333
  $form_fields['_mp_debug_mode'] = $this->field_debug_mode();
334
  $form_fields['enabled'] = $this->field_enabled($label);
@@ -540,11 +539,15 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
540
  */
541
  public function field_checkout_btn_save()
542
  {
 
 
 
 
 
 
 
543
  $checkout_btn_save = array(
544
- 'title' => sprintf(
545
- __('%s', 'woocommerce-mercadopago'),
546
- '<button name="save" class="button button-primary mp-save-button" type="submit" value="Save changes">' . __('Save Changes', 'woocommerce-mercadopago') . '</button>'
547
- ),
548
  'type' => 'title',
549
  'class' => ''
550
  );
@@ -898,10 +901,10 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
898
  $integrator_id = array(
899
  'title' => __('Integrator ID', 'woocommerce-mercadopago'),
900
  'type' => 'text',
901
- 'description' =>sprintf(
902
  __('Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s', 'woocommerce-mercadopago'),
903
  '<a target="_blank" href="https://www.mercadopago.' . $links_mp['sufix_url'] . 'developers/' . $links_mp['translate'] . '/guides/plugins/woocommerce/preferences/#bookmark_informações_do_negócio">' . __('request it now.', 'woocommerce-mercadopago') .
904
- '</a>'
905
  ),
906
  'default' => $this->getOption('_mp_integrator_id', '')
907
  );
@@ -953,19 +956,6 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
953
  return $checkout_payments_subtitle;
954
  }
955
 
956
- /**
957
- * @return array
958
- */
959
- public function field_checkout_options_description()
960
- {
961
- $checkout_options_description = array(
962
- 'title' => __('Enable Mercado Pago 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.', 'woocommerce-mercadopago'),
963
- 'type' => 'title',
964
- 'class' => 'mp_small_text'
965
- );
966
- return $checkout_options_description;
967
- }
968
-
969
  /**
970
  * @return array
971
  */
@@ -1021,7 +1011,7 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1021
  'description' => sprintf(
1022
  __('Enter a URL to receive payment notifications. In %s you can check more information.', 'woocommerce-mercadopago'),
1023
  '<a href="' . $this->getCountryLinkGuide($this->checkout_country) . 'guides/notifications/ipn/">' . __('our guides', 'woocommerce-mercadopago') .
1024
- '</a>'
1025
  ),
1026
  'default' => '',
1027
  'desc_tip' => __('IPN (Instant Payment Notification) is a notification of events that take place on your platform and that is sent from one server to another through an HTTP POST call. See more information in our guides.', 'woocommerce-services')
@@ -1043,8 +1033,8 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1043
  }
1044
 
1045
  /**
1046
- * @return array
1047
- */
1048
  public function field_coupon_mode()
1049
  {
1050
  return array(
@@ -1068,7 +1058,7 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1068
  'title' => sprintf(
1069
  __('It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it.', 'woocommerce-mercadopago'),
1070
  '<a href="' . esc_url(admin_url('admin.php?page=mercado-pago-settings')) . '">' . __('Market Payment Configuration', 'woocommerce-mercadopago') .
1071
- '</a>'
1072
  ),
1073
  'type' => 'title'
1074
  );
@@ -1319,7 +1309,7 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1319
  */
1320
  public function updateCredentialProduction()
1321
  {
1322
- if(!empty($this->getOption('checkout_credential_prod', null))){
1323
  return;
1324
  }
1325
 
@@ -1332,7 +1322,7 @@ class WC_WooMercadoPago_PaymentAbstract extends WC_Payment_Gateway
1332
  $key = 'woocommerce_' . $gateway::getId() . '_settings';
1333
  $options = get_option($key);
1334
  if (!empty($options)) {
1335
- if (!isset($options['checkout_credential_production']) || empty($options['checkout_credential_production']) ){
1336
  continue;
1337
  }
1338
  $options['checkout_credential_prod'] = $options['checkout_credential_production'];
1
  <?php
2
 
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
  }
6
 
7
  /**
328
  $form_fields['mp_statement_descriptor'] = $this->field_mp_statement_descriptor();
329
  $form_fields['_mp_store_identificator'] = $this->field_mp_store_identificator();
330
  $form_fields['_mp_integrator_id'] = $this->field_mp_integrator_id();
 
331
  $form_fields['checkout_advanced_settings'] = $this->field_checkout_advanced_settings();
332
  $form_fields['_mp_debug_mode'] = $this->field_debug_mode();
333
  $form_fields['enabled'] = $this->field_enabled($label);
539
  */
540
  public function field_checkout_btn_save()
541
  {
542
+ $btn_save = '<button name="save" class="button button-primary" type="submit" value="Save changes">' . __('Save Changes', 'woocommerce-mercadopago') . '</button>';
543
+
544
+ $wc = WC_WooMercadoPago_Module::woocommerce_instance();
545
+ if (version_compare($wc->version, '4.4') >= 0) {
546
+ $btn_save = '<div name="save" class="button-primary mp-save-button" type="submit" value="Save changes">' . __('Save Changes', 'woocommerce-mercadopago') . '</div>';
547
+ }
548
+
549
  $checkout_btn_save = array(
550
+ 'title' => sprintf('%s', $btn_save),
 
 
 
551
  'type' => 'title',
552
  'class' => ''
553
  );
901
  $integrator_id = array(
902
  'title' => __('Integrator ID', 'woocommerce-mercadopago'),
903
  'type' => 'text',
904
+ 'description' => sprintf(
905
  __('Do not forget to enter your integrator_id as a certified Mercado Pago Partner. If you don`t have it, you can %s', 'woocommerce-mercadopago'),
906
  '<a target="_blank" href="https://www.mercadopago.' . $links_mp['sufix_url'] . 'developers/' . $links_mp['translate'] . '/guides/plugins/woocommerce/preferences/#bookmark_informações_do_negócio">' . __('request it now.', 'woocommerce-mercadopago') .
907
+ '</a>'
908
  ),
909
  'default' => $this->getOption('_mp_integrator_id', '')
910
  );
956
  return $checkout_payments_subtitle;
957
  }
958
 
 
 
 
 
 
 
 
 
 
 
 
 
 
959
  /**
960
  * @return array
961
  */
1011
  'description' => sprintf(
1012
  __('Enter a URL to receive payment notifications. In %s you can check more information.', 'woocommerce-mercadopago'),
1013
  '<a href="' . $this->getCountryLinkGuide($this->checkout_country) . 'guides/notifications/ipn/">' . __('our guides', 'woocommerce-mercadopago') .
1014
+ '</a>'
1015
  ),
1016
  'default' => '',
1017
  'desc_tip' => __('IPN (Instant Payment Notification) is a notification of events that take place on your platform and that is sent from one server to another through an HTTP POST call. See more information in our guides.', 'woocommerce-services')
1033
  }
1034
 
1035
  /**
1036
+ * @return array
1037
+ */
1038
  public function field_coupon_mode()
1039
  {
1040
  return array(
1058
  'title' => sprintf(
1059
  __('It appears that your credentials are not properly configured.<br/>Please, go to %s and configure it.', 'woocommerce-mercadopago'),
1060
  '<a href="' . esc_url(admin_url('admin.php?page=mercado-pago-settings')) . '">' . __('Market Payment Configuration', 'woocommerce-mercadopago') .
1061
+ '</a>'
1062
  ),
1063
  'type' => 'title'
1064
  );
1309
  */
1310
  public function updateCredentialProduction()
1311
  {
1312
+ if (!empty($this->getOption('checkout_credential_prod', null))) {
1313
  return;
1314
  }
1315
 
1322
  $key = 'woocommerce_' . $gateway::getId() . '_settings';
1323
  $options = get_option($key);
1324
  if (!empty($options)) {
1325
+ if (!isset($options['checkout_credential_production']) || empty($options['checkout_credential_production'])) {
1326
  continue;
1327
  }
1328
  $options['checkout_credential_prod'] = $options['checkout_credential_production'];
includes/payments/WC_WooMercadoPago_TicketGateway.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
  }
6
 
7
  /**
@@ -53,7 +53,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
53
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
54
  wp_enqueue_script(
55
  'woocommerce-mercadopago-ticket-config-script',
56
- plugins_url('../assets/js/ticket_config_mercadopago'.$suffix.'.js', plugin_dir_path(__FILE__)),
57
  array(),
58
  WC_WooMercadoPago_Constants::VERSION
59
  );
@@ -71,8 +71,8 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
71
  $form_fields['checkout_ticket_header'] = $this->field_checkout_ticket_header();
72
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
73
  $form_fields['checkout_ticket_options_title'] = $this->field_checkout_ticket_options_title();
74
- $form_fields['checkout_ticket_options_subtitle'] = $this->field_checkout_ticket_options_subtitle();
75
  $form_fields['checkout_ticket_payments_title'] = $this->field_checkout_ticket_payments_title();
 
76
  $form_fields['checkout_ticket_payments_advanced_title'] = $this->field_checkout_ticket_payments_advanced_title();
77
  $form_fields['coupon_mode'] = $this->field_coupon_mode();
78
  $form_fields['stock_reduce_mode'] = $this->field_stock_reduce_mode();
@@ -131,7 +131,6 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
131
  'checkout_homolog_link',
132
  // Set up the payment experience in your store
133
  'checkout_ticket_options_title',
134
- 'checkout_ticket_options_subtitle',
135
  'mp_statement_descriptor',
136
  '_mp_category_id',
137
  '_mp_store_identificator',
@@ -143,7 +142,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
143
  // Configure the personalized payment experience in your store
144
  'checkout_ticket_payments_title',
145
  'checkout_payments_subtitle',
146
- 'checkout_payments_description',
147
  'enabled',
148
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
149
  'field_ticket_payments',
@@ -227,20 +226,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
227
  /**
228
  * @return array
229
  */
230
- public function field_checkout_ticket_options_subtitle()
231
- {
232
- $checkout_options_subtitle = array(
233
- 'title' => __('Go to the basics. Place your business information.', 'woocommerce-mercadopago'),
234
- 'type' => 'title',
235
- 'class' => 'mp_subtitle mp-mt-5'
236
- );
237
- return $checkout_options_subtitle;
238
- }
239
-
240
- /**
241
- * @return array
242
- */
243
- public function field_checkout_options_description()
244
  {
245
  $checkout_options_description = array(
246
  'title' => __('Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers.', 'woocommerce-mercadopago'),
@@ -350,7 +336,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
350
 
351
  $index = 0;
352
  foreach ($this->field_forms_order as $k => $field) {
353
- $index ++;
354
  if ($field == 'field_ticket_payments') {
355
  unset($this->field_forms_order[$k]);
356
  array_splice($this->field_forms_order, $index, 0, $ticket_payments_sort);
@@ -384,6 +370,12 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
384
  $country = get_user_meta(wp_get_current_user()->ID, 'billing_country', true);
385
  $address .= (!empty($country) ? ' - ' . $country : '');
386
 
 
 
 
 
 
 
387
  $parameters = array(
388
  'amount' => $amount,
389
  'payment_methods' => $this->activated_payment,
@@ -391,7 +383,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
391
  'coupon_mode' => isset($logged_user_email) ? $this->coupon_mode : 'no',
392
  'discount_action_url' => $this->discount_action_url,
393
  'payer_email' => $logged_user_email,
394
- 'currency_ratio' => WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->ratio($this),
395
  'woocommerce_currency' => get_woocommerce_currency(),
396
  'account_currency' => $this->site_data['currency'],
397
  'febraban' => (wp_get_current_user()->ID != 0) ?
@@ -436,7 +428,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
436
  $order->update_meta_data('_used_gateway', get_class($this));
437
  if (!empty($this->gateway_discount)) {
438
  $discount = $amount * ($this->gateway_discount / 100);
439
- $order->update_meta_data('Mercado Pago: discount', __('discount of', 'woocommerce-mercadopago') . ' ' . $this->gateway_discount . '% / ' . __('discount of', 'woocommerce-mercadopago') . ' = ' . $discount);
440
  }
441
 
442
  if (!empty($this->commission)) {
@@ -449,12 +441,12 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
449
 
450
  if (!empty($this->gateway_discount)) {
451
  $discount = $amount * ($this->gateway_discount / 100);
452
- update_post_meta($order_id,'Mercado Pago: discount', __('discount of', 'woocommerce-mercadopago') . ' ' . $this->gateway_discount . '% / ' . __('discount of', 'woocommerce-mercadopago') . ' = ' . $discount);
453
  }
454
 
455
  if (!empty($this->commission)) {
456
  $comission = $amount * ($this->commission / 100);
457
- update_post_meta($order_id,'Mercado Pago: comission', __('fee of', 'woocommerce-mercadopago') . ' ' . $this->commission . '% / ' . __('fee of', 'woocommerce-mercadopago') . ' = ' . $comission);
458
  }
459
  }
460
 
@@ -489,8 +481,8 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
489
  ) {
490
  wc_add_notice(
491
  '<p>' .
492
- __('There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?', 'woocommerce-mercadopago') .
493
- '</p>',
494
  'error'
495
  );
496
  return array(
@@ -509,7 +501,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
509
  if ($response['status_detail'] == 'pending_waiting_payment' || $response['status_detail'] == 'pending_waiting_transfer') {
510
  WC()->cart->empty_cart();
511
  if ($this->stock_reduce_mode == 'yes') {
512
- $order->reduce_order_stock();
513
  }
514
  // WooCommerce 3.0 or later.
515
  if (method_exists($order, 'update_meta_data')) {
@@ -523,11 +515,11 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
523
  'Mercado Pago: ' .
524
  __('The customer has not paid yet.', 'woocommerce-mercadopago')
525
  );
526
- if($response['payment_type_id'] != 'bank_transfer'){
527
  $order->add_order_note(
528
  'Mercado Pago: ' .
529
  __('To print the ticket again click', 'woocommerce-mercadopago') .
530
- '<a target="_blank" href="' .
531
  $response['transaction_details']['external_resource_url'] . '">' .
532
  __('here', 'woocommerce-mercadopago') .
533
  '</a>', 1, false
@@ -623,4 +615,3 @@ class WC_WooMercadoPago_TicketGateway extends WC_WooMercadoPago_PaymentAbstract
623
  return WC_WooMercadoPago_TicketGateway::ID;
624
  }
625
  }
626
-
1
  <?php
2
 
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
  }
6
 
7
  /**
53
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
54
  wp_enqueue_script(
55
  'woocommerce-mercadopago-ticket-config-script',
56
+ plugins_url('../assets/js/ticket_config_mercadopago' . $suffix . '.js', plugin_dir_path(__FILE__)),
57
  array(),
58
  WC_WooMercadoPago_Constants::VERSION
59
  );
71
  $form_fields['checkout_ticket_header'] = $this->field_checkout_ticket_header();
72
  if (!empty($this->checkout_country) && !empty($this->getAccessToken()) && !empty($this->getPublicKey())) {
73
  $form_fields['checkout_ticket_options_title'] = $this->field_checkout_ticket_options_title();
 
74
  $form_fields['checkout_ticket_payments_title'] = $this->field_checkout_ticket_payments_title();
75
+ $form_fields['checkout_ticket_payments_description'] = $this->field_checkout_ticket_options_description();
76
  $form_fields['checkout_ticket_payments_advanced_title'] = $this->field_checkout_ticket_payments_advanced_title();
77
  $form_fields['coupon_mode'] = $this->field_coupon_mode();
78
  $form_fields['stock_reduce_mode'] = $this->field_stock_reduce_mode();
131
  'checkout_homolog_link',
132
  // Set up the payment experience in your store
133
  'checkout_ticket_options_title',
 
134
  'mp_statement_descriptor',
135
  '_mp_category_id',
136
  '_mp_store_identificator',
142
  // Configure the personalized payment experience in your store
143
  'checkout_ticket_payments_title',
144
  'checkout_payments_subtitle',
145
+ 'checkout_ticket_payments_description',
146
  'enabled',
147
  WC_WooMercadoPago_Helpers_CurrencyConverter::CONFIG_KEY,
148
  'field_ticket_payments',
226
  /**
227
  * @return array
228
  */
229
+ public function field_checkout_ticket_options_description()
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  {
231
  $checkout_options_description = array(
232
  'title' => __('Enable Mercado Pago for cash payments in your store and <br> select the options available to your customers.', 'woocommerce-mercadopago'),
336
 
337
  $index = 0;
338
  foreach ($this->field_forms_order as $k => $field) {
339
+ $index++;
340
  if ($field == 'field_ticket_payments') {
341
  unset($this->field_forms_order[$k]);
342
  array_splice($this->field_forms_order, $index, 0, $ticket_payments_sort);
370
  $country = get_user_meta(wp_get_current_user()->ID, 'billing_country', true);
371
  $address .= (!empty($country) ? ' - ' . $country : '');
372
 
373
+ try {
374
+ $currency_ratio = WC_WooMercadoPago_Helpers_CurrencyConverter::getInstance()->ratio($this);
375
+ } catch (Exception $e) {
376
+ $currency_ratio = WC_WooMercadoPago_Helpers_CurrencyConverter::DEFAULT_RATIO;
377
+ }
378
+
379
  $parameters = array(
380
  'amount' => $amount,
381
  'payment_methods' => $this->activated_payment,
383
  'coupon_mode' => isset($logged_user_email) ? $this->coupon_mode : 'no',
384
  'discount_action_url' => $this->discount_action_url,
385
  'payer_email' => $logged_user_email,
386
+ 'currency_ratio' => $currency_ratio,
387
  'woocommerce_currency' => get_woocommerce_currency(),
388
  'account_currency' => $this->site_data['currency'],
389
  'febraban' => (wp_get_current_user()->ID != 0) ?
428
  $order->update_meta_data('_used_gateway', get_class($this));
429
  if (!empty($this->gateway_discount)) {
430
  $discount = $amount * ($this->gateway_discount / 100);
431
+ $order->update_meta_data('Mercado Pago: discount', __('discount of', 'woocommerce-mercadopago') . ' ' . $this->gateway_discount . '% / ' . __('discount of', 'woocommerce-mercadopago') . ' = ' . $discount);
432
  }
433
 
434
  if (!empty($this->commission)) {
441
 
442
  if (!empty($this->gateway_discount)) {
443
  $discount = $amount * ($this->gateway_discount / 100);
444
+ update_post_meta($order_id, 'Mercado Pago: discount', __('discount of', 'woocommerce-mercadopago') . ' ' . $this->gateway_discount . '% / ' . __('discount of', 'woocommerce-mercadopago') . ' = ' . $discount);
445
  }
446
 
447
  if (!empty($this->commission)) {
448
  $comission = $amount * ($this->commission / 100);
449
+ update_post_meta($order_id, 'Mercado Pago: comission', __('fee of', 'woocommerce-mercadopago') . ' ' . $this->commission . '% / ' . __('fee of', 'woocommerce-mercadopago') . ' = ' . $comission);
450
  }
451
  }
452
 
481
  ) {
482
  wc_add_notice(
483
  '<p>' .
484
+ __('There was a problem processing your payment. Are you sure you have correctly filled out all the information on the payment form?', 'woocommerce-mercadopago') .
485
+ '</p>',
486
  'error'
487
  );
488
  return array(
501
  if ($response['status_detail'] == 'pending_waiting_payment' || $response['status_detail'] == 'pending_waiting_transfer') {
502
  WC()->cart->empty_cart();
503
  if ($this->stock_reduce_mode == 'yes') {
504
+ wc_reduce_stock_levels( $order_id );
505
  }
506
  // WooCommerce 3.0 or later.
507
  if (method_exists($order, 'update_meta_data')) {
515
  'Mercado Pago: ' .
516
  __('The customer has not paid yet.', 'woocommerce-mercadopago')
517
  );
518
+ if ($response['payment_type_id'] != 'bank_transfer') {
519
  $order->add_order_note(
520
  'Mercado Pago: ' .
521
  __('To print the ticket again click', 'woocommerce-mercadopago') .
522
+ ' <a target="_blank" href="' .
523
  $response['transaction_details']['external_resource_url'] . '">' .
524
  __('here', 'woocommerce-mercadopago') .
525
  '</a>', 1, false
615
  return WC_WooMercadoPago_TicketGateway::ID;
616
  }
617
  }
 
includes/stock/WC_WooMercadoPago_Stock_Manager.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ /**
8
+ * Class WC_WooMercadoPago_Stock_Manager
9
+ */
10
+ class WC_WooMercadoPago_Stock_Manager
11
+ {
12
+ /**
13
+ * WC_WooMercadoPago_Stock_Manager constructor.
14
+ */
15
+ public function __construct()
16
+ {
17
+ add_action('woocommerce_order_status_pending_to_cancelled', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
18
+ add_action('woocommerce_order_status_processing_to_cancelled', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
19
+ add_action('woocommerce_order_status_completed_to_cancelled', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
20
+ add_action('woocommerce_order_status_on-hold_to_cancelled', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
21
+ add_action('woocommerce_order_status_processing_to_refunded', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
22
+ add_action('woocommerce_order_status_completed_to_refunded', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
23
+ add_action('woocommerce_order_status_on-hold_to_refunded', array('WC_WooMercadoPago_Stock_Manager', 'restore_stock_item'), 10, 1);
24
+ }
25
+
26
+ /**
27
+ * @param $order_id
28
+ */
29
+ public static function restore_stock_item($order_id)
30
+ {
31
+ $order = new WC_Order($order_id);
32
+
33
+ if (!get_option('woocommerce_manage_stock') == 'yes' && !sizeof($order->get_items()) > 0) {
34
+ return;
35
+ }
36
+
37
+ foreach ($order->get_items() as $item) {
38
+ if ($item['product_id'] > 0) {
39
+ $_product = wc_get_product($item['product_id']);
40
+ if ($_product && $_product->exists() && $_product->managing_stock()) {
41
+ $qty = apply_filters('woocommerce_order_item_quantity', $item['qty'], $order, $item);
42
+ wc_update_product_stock($_product, $qty, 'increase');
43
+ do_action('woocommerce_auto_stock_restored', $_product, $item);
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ new WC_WooMercadoPago_Stock_Manager();
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.2.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -115,9 +115,21 @@ Set up both the plugin and the checkouts you want to activate on your payment av
115
  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.
116
 
117
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
118
  = v4.2.2 (27/07/2020) =
119
  * Features
120
  - Added feature: cancelled orders on WooCommerce are automatically cancelled on Mercado Pago
 
121
 
122
  * Bug fixes
123
  - Fixed notification bug - No longer updates completed orders
4
  Requires at least: 4.9.10
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 4.3.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
115
  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.
116
 
117
  == Changelog ==
118
+ = v4.3.0 (31/08/2020) =
119
+ * Features
120
+ - Improve plugin initialization
121
+ - Compatibility with Wordpress v5.5 and WooCommerce v4.4.x
122
+
123
+ * Bug fixes
124
+ - Fixed currency conversion API - Alert added at checkout when currency conversion fails
125
+ - Adjusted inventory (for canceled orders) on payments made at the personalized offline checkout
126
+ - Adjusted translation in general
127
+ - Adjusted currency translation alert
128
+
129
  = v4.2.2 (27/07/2020) =
130
  * Features
131
  - Added feature: cancelled orders on WooCommerce are automatically cancelled on Mercado Pago
132
+ - Compatibility with Wordpress v5.4 and WooCommerce v4.3.x
133
 
134
  * Bug fixes
135
  - Fixed notification bug - No longer updates completed orders
woocommerce-mercadopago.php CHANGED
@@ -4,19 +4,18 @@
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.2.2
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
13
- * WC tested up to: 4.4
14
  * @package MercadoPago
15
  * @category Core
16
  * @author Mercado Pago
17
  */
18
 
19
-
20
  // Exit if accessed directly.
21
  if (!defined('ABSPATH')) {
22
  exit;
@@ -29,139 +28,8 @@ if (!defined('WC_MERCADOPAGO_BASENAME')) {
29
  if (!function_exists('is_plugin_active')) {
30
  include_once ABSPATH . 'wp-admin/includes/plugin.php';
31
  }
32
- /**
33
- * Summary: Places a warning error to notify user that other older versions are active.
34
- * Description: Places a warning error to notify user that other older versions are active.
35
- * @since 3.0.7
36
- */
37
- function wc_mercado_pago_notify_deprecated_presence()
38
- {
39
- echo '<div class="error"><p>' .
40
- __('It seems that you already have the Mercado Pago module installed. Please uninstall it before using this version.', 'woocommerce-mercadopago') .
41
- '</p></div>';
42
- }
43
-
44
- // Check if previously versions are installed, as we can't let both operate.
45
- if (class_exists('WC_WooMercadoPago_Module')) {
46
- add_action('admin_notices', 'wc_mercado_pago_notify_deprecated_presence');
47
- return;
48
- } else {
49
- require_once dirname(__FILE__) . '/includes/admin/notices/WC_WooMercadoPago_Notices.php';
50
- WC_WooMercadoPago_Notices::initMercadopagoNnotice();
51
- }
52
-
53
- /**
54
- * Load plugin text domain.
55
- *
56
- * Need to require here before test for PHP version.
57
- *
58
- * @since 3.0.1
59
- */
60
- function woocommerce_mercadopago_load_plugin_textdomain()
61
- {
62
- $text_domain = 'woocommerce-mercadopago';
63
- $locale = apply_filters('plugin_locale', get_locale(), $text_domain);
64
-
65
- $original_language_file = dirname(__FILE__) . '/i18n/languages/woocommerce-mercadopago-' . $locale . '.mo';
66
-
67
- // Unload the translation for the text domain of the plugin
68
- unload_textdomain($text_domain);
69
- // Load first the override file
70
- load_textdomain($text_domain, $original_language_file);
71
- }
72
-
73
- add_action('plugins_loaded', 'woocommerce_mercadopago_load_plugin_textdomain');
74
-
75
- /**
76
- * Notice about unsupported PHP version.
77
- *
78
- * @since 3.0.1
79
- */
80
- function wc_mercado_pago_unsupported_php_version_notice()
81
- {
82
- $type = 'error';
83
- $message = esc_html__('Mercado Pago payments for WooCommerce requires PHP version 5.6 or later. Please update your PHP version.', 'woocommerce-mercadopago');
84
- echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
85
- }
86
-
87
- // Check for PHP version and throw notice.
88
- if (version_compare(PHP_VERSION, '5.6', '<=')) {
89
- add_action('admin_notices', 'wc_mercado_pago_unsupported_php_version_notice');
90
- return;
91
- }
92
-
93
- /**
94
- * Curl validation
95
- */
96
- function wc_mercado_pago_notify_curl_error()
97
- {
98
- $type = 'error';
99
- $message = __('Mercado Pago Error: PHP Extension CURL is not installed.', 'woocommerce-mercadopago');
100
- echo WC_WooMercadoPago_Notices::getAlertFrame($message, $type);
101
- }
102
-
103
- if (!in_array('curl', get_loaded_extensions())) {
104
- add_action('admin_notices', 'wc_mercado_pago_notify_curl_error');
105
- return;
106
- }
107
-
108
- /**
109
- * Summary: Places a warning error to notify user that WooCommerce is missing.
110
- * Description: Places a warning error to notify user that WooCommerce is missing.
111
- */
112
- function notify_woocommerce_miss()
113
- {
114
- $type = 'error';
115
- $message = sprintf(
116
- __('The Mercado Pago module needs an active version of %s in order to work!', 'woocommerce-mercadopago'),
117
- ' <a href="https://wordpress.org/extend/plugins/woocommerce/">WooCommerce</a>'
118
- );
119
- echo WC_WooMercadoPago_Notices::getAlertWocommerceMiss($message, $type);
120
- }
121
-
122
- add_action('plugins_loaded', 'woocommerce_mercadopago_init');
123
-
124
- function woocommerce_mercadopago_init()
125
- {
126
- // Load Mercado Pago SDK
127
- require_once dirname(__FILE__) . '/includes/module/sdk/lib/MP.php';
128
-
129
- // Checks with WooCommerce is installed.
130
- if (class_exists('WC_Payment_Gateway')) {
131
- require_once dirname(__FILE__) . '/includes/module/config/WC_WooMercadoPago_Constants.php';
132
- require_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Exception.php';
133
- require_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Configs.php';
134
- require_once dirname(__FILE__) . '/includes/module/log/WC_WooMercadoPago_Log.php';
135
- require_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Module.php';
136
- require_once dirname(__FILE__) . '/includes/module/WC_WooMercadoPago_Credentials.php';
137
-
138
- WC_WooMercadoPago_Module::init_mercado_pago_class();
139
-
140
- add_action('woocommerce_order_actions', 'add_mp_order_meta_box_actions');
141
- } else {
142
- add_action('admin_notices', 'notify_woocommerce_miss');
143
- }
144
- }
145
-
146
- function add_mp_order_meta_box_actions($actions)
147
- {
148
- $actions['cancel_order'] = __('Cancel order', 'woocommerce-mercadopago');
149
- return $actions;
150
- }
151
-
152
- add_action('woocommerce_settings_checkout', 'mp_show_admin_notices');
153
- /**
154
- *
155
- */
156
- function mp_show_admin_notices()
157
- {
158
- if (!WC_WooMercadoPago_Module::isWcNewVersion() || (isset($_GET['page']) && $_GET['page'] == "wc-settings") && is_plugin_active('woocommerce-admin/woocommerce-admin.php')) {
159
- return;
160
- }
161
 
162
- $noticesArray = WC_WooMercadoPago_Module::$notices;
163
- $notices = array_unique($noticesArray, SORT_STRING);
164
- foreach ($notices as $notice) {
165
- echo $notice;
166
- }
167
  }
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.3.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.4.0
14
  * @package MercadoPago
15
  * @category Core
16
  * @author Mercado Pago
17
  */
18
 
 
19
  // Exit if accessed directly.
20
  if (!defined('ABSPATH')) {
21
  exit;
28
  if (!function_exists('is_plugin_active')) {
29
  include_once ABSPATH . 'wp-admin/includes/plugin.php';
30
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
  }