-
Notifications
You must be signed in to change notification settings - Fork 71
/
changelog.log
1137 lines (931 loc) · 46.9 KB
/
changelog.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
CHANGELOG:
== Changelog ==
= v7.8.1 (07/10/2024) =
* Added:
- Silence is golden directive implemented to enhance security for WordPress sites.
* Changed:
- Modified the way asset's are loaded into the store.
- Sending new field to get the plugin version from the stores to improve onboarding.
* Fixed:
- Resolved issues with loading minified CSS and JS files in debugging environments.
- Refined translations for ES-all languages.
= v7.8.0 (23/09/2024) =
* Changed:
- Rebranded and revamped the CreditsGateway, improving overall user experience and aligning the visual identity with our updated brand guidelines, making it more intuitive and modern.
- Compressed several images without losing quality, which reduces the plugin bundle size and leads to faster download and installation times, improving performance without sacrificing visual fidelity.
- Removed implicit nullable parameter marking and replaced it with explicit nullable types, enhancing code clarity and reducing potential bugs related to type handling, thus improving code reliability.
* Fixed
- Corrected the support component's link URL, ensuring users are directed to the appropriate help resources.
= v7.7.0 (11/09/2024) =
* Added
- New payment method: Implemented Yape Gateway, now available for transactions in Peru.
* Changed
- Optimized packaging: Reduced the number of assets included in the plugin's zip package to improve performance and download time.
- Code enhancement: The code has been refactored to follow PHP 7.4 best practices by adopting Typed Properties, improving clarity and safety.
* Fixed
- cardForm issue resolved: Fixed the error that appeared in the console during the loading of the `cardForm` script used in the Checkout API for cards. The loading process is now handled more efficiently, eliminating the issue.
= v7.6.4 (31/07/2024) =
* Fixed:
- Prevents payment from being created if the currency conversion system fails.
= v7.6.3 (29/07/2024) =
* Fixed:
- Fix the size of the card logos at checkout.
- Fix the problem of not showing the disclaimer about card fees for some countries.
= v7.6.2 (16/07/2024) =
* Added:
- Added validation on user permissions to download plugin logs.
- Increased plugin wordpress tested version to the latest available.
* Fixed:
- Addressed an issue where discount and commission calculations were not being shown correctly on order details.
= v7.6.1 (26/06/2024) =
* Fix:
- Addressed an funnel metrics issue
= v7.6.0 (26/06/2024) =
* Added:
- Integration with [WooCommerce QIT](https://qit.woo.com/docs/). QIT is a testing platform for WordPress Plugins and Themes developed by WooCommerce, allowing developers to run a series of managed tests out-of-the-box.
- Implementation of a fallback using WP-cron to resolve the issue of stores' orders remaining in pending status. This feature prevents orders from getting stuck in the pending process by actively updating passive orders, ensuring smoother order management.
* Changed:
- Incorporated code quality enhancements based on QIT recommendations.
= v7.5.1 (05/06/2024) =
*Fixed:
- Addressed a problem where one could not change the layout to use woocommerce blocks feature, causing even some pages that use blocks beeing unable to load properly.
- Addressed a vulnerability from prior releases that permitted authenticated attackers to access server configuration details from the seller host, ensuring enhanced security measures in the logs download endpoint.
= v7.5.0 (14/05/2024) =
*Added:
- Enhanced visual experience: Based on user feedback, we've refined the Credits checkout experience to make it more visually appealing and user-friendly. The modal now provides clearer information, payment methods are displayed more informatively, and tooltips are less intrusive within the store layout.
*Changed:
- Configurable tooltip text: We've introduced a new setting in the Credits checkout that allows sellers to customize the text displayed in the Credits tooltip. This empowers sellers to tailor the checkout experience to their specific brand and messaging.
- Support Component: we've added a parameter to the support access link via the plugin's admin so that we can have metrics on the source of support access
*Fixed:
- Payment method selection bug: We've addressed a bug in the checkout pro process that prevented the selected payment methods from being respected. This ensures that buyers can consistently use their preferred payment options.
= v7.4.0 (25/04/2024) =
* Added:
- A system has been implemented to collect metrics for new sellers, with the aim of facilitating the onboarding of these first-time users. These metrics will allow us to generate ideas for improving the relationship between the plugin and the seller during the onboarding process.
* Other improvements:
- Updated dependencies (PHP SDK).
= v7.3.5 (17/04/2024) =
* Fixed:
- Checked field on checkout now validated.
- Rollback SDK dependency.
= v7.3.4 (15/04/2024) =
* Changed:
- Thankyou page redirect for PIX and Ticket Payments working again.
- Prevents type error on checkout screen due to amount values.
- Removed console error message when custom checkout is not enabled.
= v7.3.3 (11/04/2024) =
* Changed:
- Our latest plugin update (version 7.3.2) aimed to optimize script loading during checkout using the woocommerce_before_checkout_form and woocommerce_blocks_enqueue_checkout_block_scripts_before hooks. However, to ensure compatibility with a wider range of themes, this functionality has been temporarily disabled. We're actively exploring solutions to achieve optimal script loading across all themes and will implement them in a future update.
= v7.3.2 (11/04/2024) =
* Added:
- Added session_id to payment creation request header to improve approval rates.
* Changed:
- Checkout Credits component text has been adjusted.
* Fixed:
- Checkout scripts now load only at checkout time, improving overall store performance.
- Partial refunds made through Mercado Pago are now correctly recognized as partial refunds on the platform.
- The IP address issue for some PSE checkout payments in Colombia has been fixed.
- 3DS flow requests for stores running in a directory now work correctly and stores using the domain root still working.
- The Undefined Array Key Method error that occurred for some sellers when they had not configured the checkout pro method (modal or redirect) has been fixed.
- The pix copy-paste button has been fixed.
* Other improvements:
- General code improvements and optimizations.
- Updated dependencies (PHP SDK).
= v7.3.1 (25/03/2024) =
* Changed:
- Person type update for PSE
- Improve the layout of the admin buttons
- Adjusting the translation of checkout pro for Spanish-speaking countries
= v7.3.0 (20/03/2024) =
* Added:
- A warning has been added to inform you that activation was successful and that you now need to enter your credentials when activating plugins.
- We have implemented new display rules and improved the layout of the component that requests ratings for the plugin.
- We've added a link to frequently asked questions at the end of each gateway's configuration.
- We've implemented a new support component at the bottom of the plugin's configuration screen. Here you will find information on how to open a ticket.
* Changed:
- We've changed the layout of the notice for filling in credentials.
- We've changed the title of the plugin on the administration screen.
- The payment methods have been renamed and are now sorted according to country.
- We have made adjustments to the hierarchy of titles on the administration screen, as well as to its content, including titles and supplementary texts.
- For step 1, we have replaced the secondary credential query button with a text-link.
* Fixed:
- We've solve the problem when the getPaymentMethodsByGatewayOption function returned an stdClass instead of an array when using json_decode.
= v7.2.1 (15/02/2024) =
* Added:
- We have added a warning banner for when the language configured in worpress does not have the translation in our plugin.
* Changed:
- Improvements have been made to the readme and changelog files so that the markdown makes more sense to our users.
- Now our plugin constructs the URLs for the assets using the absolute path instead of the relative path.
- Prevent block scripts from loading on admin screens and do not load block scripts in checkouts that do not use Checkout Blocks.
- We've reduced the size of the metadata sent in the payment.
* Fixed:
- We've fixed the currency conversion calculation.
= v7.2.0 (01/02/2024) =
* Added:
- Introducing Mercado PSE as a new payment method for our users in Colombia.
- Enhanced user experience with the inclusion of informative error messages in case of payment rejection.
* Changed:
- Improved layout of the button for consulting reasons for refusal on the order details screen
* Fixed:
- Addressed an issue where error messages were not displaying during the submission process, affecting custom, credit, and ticket transactions. Now, users can expect a smoother and more transparent payment experience.
- Errors message did not appear in submit, custom credit and ticket.
- Enables the sending of alphanumeric data to the field, holder's document.
= v7.1.1 (15/01/2024) =
* Fixed
- Resolved issue where the cart inaccurately displayed discount and commission information.
- Addressed TypeError occurring when attempting to open orders in the admin panel.
= v7.1.0 (11/01/2024) =
* Added
- Added compatibility with Woocommerce Blocks, providing a seamless integration for an enriched user experience. Explore the possibilities with [WooCommerce Blocks Documentation](https://woo.com/document/woocommerce-blocks/) for detailed information and advanced features.
* Fixed:
- Resolved an issue preventing the modification of checkout names.
- Resolved an issue that prevented checkout pro in modal mode from working
= v7.0.6 (11/12/2023) =
* Fixed
- Addressed a bug where the store discount code was erroneously applied twice. This fix ensures a smoother checkout experience by resolving the double discount issue.
= v7.0.5 (08/12/2023) =
* Fixed
- Resolved issues related to discounts and commission calculations, ensuring accurate and reliable results.
- Resolved implementation of instance logs for Seller and Order classes, providing comprehensive tracking and transparency into their respective functionalities.
* Changed
- Enhanced the return value of Metadata getSettings for improved clarity and usability.
- Improved validation of 3D Secure (3DS) fields to facilitate smoother payment processing.
- Conducted a comprehensive review and refinement of checkout items calculation methods to optimize performance and accuracy.
= v7.0.4 (06/12/2023) =
* Changed
- Enhanced the notification_url for improved functionality.
- Improved the sanitization of checkout URLs for a more secure experience.
- Updated the initial hook from wc_loaded to plugins_loaded for better integration.
* Fixed
- Ensured the consistent rendering of Pix QR codes on the thank-you page.
- Removed unnecessary sanitization from get_checkout_order_received_url for smoother processing.
= v7.0.3 (05/12/2023) =
* Fixed
- Addressed and resolved the issue with Checkout PRO Modal dependency loading for improved efficiency and smoother functionality.
= v7.0.2 (05/12/2023) =
* Fixed
- Credits are now enabled by default, streamlining the search for available countries.
- Resolved status sync rendering issues, ensuring seamless compatibility.
= v7.0.1 (05/12/2023) =
* Fixed
- Corrected the issue related to shipping rate values not displaying correctly on transparent checkouts. Now, the accurate shipping rates will be transparently presented for a more seamless checkout experience.
= v7.0.0 (04/12/2023) =
* Changed
- Conducted a comprehensive overhaul of the entire plugin, implementing full refactoring for improved code quality and maintainability. Our code has fewer branches, which increases maintainability. This refactoring is designed to improve the quality of feature releases and provide developer users with a greater understanding of the code.
- Elevated the functionality and user experience of the additional information node within the plugin by enriching the payment metadata with additional details, strategically aimed at boosting the payment approval rate.
* Fixed
- Consolidated logging behavior in STEP 2 by ensuring that logs are recorded only when the corresponding toggle in the admin (STEP 2) is activated. Previously, the plugin recorded logs irrespective of the toggle's status, but with this fix, the toggle now functions correctly.
* Added
- Integrating 3DS 2.0 (3-D Secure Authentication 2.0) technology. This advancement enables the authentication of transactions involving credit and debit cards in e-commerce scenarios, ensuring that the person making the purchase is genuinely the cardholder or has authorized access to the cardholder's accounts for completing the payment. To learn more about integrating 3DS with Mercado Pago, visit the [Mercado Pago DevSite](https://www.mercadopago.com.br/developers/pt/docs/checkout-api/how-tos/integrate-3ds).
= v6.9.3 (13/07/2023) =
* Fixed
- Updated the link to obtain credentials on the developer site
- Resolved warning related to the missing return type of the function AbstractCollection::getIterator()
* Changed
- Improved default activation of Credits Gateway
= v6.9.2 (23/06/2023) =
* Fixed
Fixed bug that was causing the admin panel to become unresponsive or inaccessible
= v6.9.1 (16/06/2023) =
Fix pix renderization
= v6.9.0 (12/06/2023) =
* Features
- Add default activation for Credits Gateway when Basic Gateway is enabled
- Declare this plugin compatible with High-Performance Order Storage (HPOS)
* Changed
- Replace post methods with equivalent methods compatible with HPOS
* Fixed
- devsite link's in readme
= v6.8.1 (22/05/2023) =
* Fixed
- Rollback version
= v6.8.0 (22/05/2023) =
* Features
- Add default activation for Credits Gateway when Basic Gateway is enabled
= v6.7.5 (17/05/2023) =
* Fixed
- Fixed property discount_action_url becoming public instead private
= v6.7.4 (15/05/2023) =
* Changed
- Changed function from str_contains to strpos to be compatible for WordPress versions lower than 5.9
- Changed the way to handle custom notification url using or not using Mercado Pago default params
= v6.7.3 (02/05/2023) =
* Added
- Test compatibility with WooCommerce v7.6
- Test compatibility with WordPress v6.2
* Changed
- process_nonce_validation was removed from process_payment
* Fixed
- Fix http_user_agent log using wp_is_mobile() instead regex
= v6.7.2 (20/03/2023) =
* Added
- Add new fields in update-metadata
- Cho Pro will add the fields: ```installments, transaction_details, total_paid_amount, transaction_amount, last_four_digits, e o payment_type```
- Cho Custom will add the fields: ```payment_type e last_four_digits```
- In future release, all metadata field prefixed with "mp_" will be removed
- Add security js client and retrive session id from MP_DEVICE_SESSION_ID
- this improvement will increase the credit card approval rate
* Changed
- Interest attached to the order total
* Fixed
- Fix nonce validation when "allow costumers to create an account during checkout" is enabled
= v6.7.1 (15/02/2023) =
* Changes
- Changed Credits Tooltips experience
- Changed generic css classes name
* Bug fixes
- Fixed PIX QR Code generation
= v6.7.0 (23/01/2023) =
* Changes
- Added security improvements
= v6.6.0 (11/01/2023) =
* Features
- Added manual notification sync
- Added payment ids to order metadata on callback
- Added select-id and hidden-id attributes to document
* Changes
- Changed user permissions needed for security
* Bug fixes
- Fixed order amount with gateway discount
- Fixed css class assignment to nonexistent element
- Fixed selection of installments when there is an inversion of checkouts
= v6.5.0 (22/12/2022) =
* Features
- Added Mercado Credits payment method
- Added user permissions needed (administrator or editor) for security
* Changes
- Documented use of a 3rd Party or external service
- Improved Checkout Pro layout
* Bug fixes
- Removed nonce validation from checkouts to use WC nonce validation
= v6.4.1 (14/12/2022) =
* Features
- Added bank interest disclaimer
* Changes
- Removed CURLOPT_SSL_VERIFYPEER flag to get server default value
= v6.4.0 (07/12/2022) =
* Features
- Added Mercado Pago PHP SDK
- Added min width for checkout select inputs
- Added nonce validation to avoid CSRF Vulnerabilities
* Changes
- Changed notification flow to use PHP SDK
- Changed payments and preferences flow to use PHP SDK
* Bug fixes
- Fixed plugin translations
- Fixed plugin configuration page links
= v6.3.1 (13/10/2022) =
* Changes
- Improved discarded notification response
- Removed loader and timeout on custom checkout
= v6.3.0 (27/09/2022) =
* Features
- Added interest information on the order confirmation screen for payments with custom checkout
* Bug fixes
- Fixed timeout and error display in custom checkout
- Removed hyphen from zip code to display correct address for payments with ticket checkout
- Alignment of expiration and security code fields in custom checkout
= v6.2.0 (13/09/2022) =
* Features
- Added Mercado Credits tooltip
- Added loader on custom checkout to avoid timeout, handle and show errors on screen
- Added validation on REST Client to avoid return empty array on requests response
* Changes
- Changed Wallet Button layout to encourage more usage
* Bug fixes
- Fixed email sending method for order placed with PIX
= v6.1.0 (22/08/2022) =
* Features
- Added notices scripts on plugin
- Added validation to avoid installments equal to zero
- Added trigger to payment_method_selected event if it not triggered on checkout custom load
- Added rule in notification to allow an approved payment to update if order status is pending, on_hold or failed
- Added client to handle caronte scripts success and error
* Changes
- Removed the test credentials requirement to configure the plugin
- Adjusted credential saving flow to avoid saving two public_key or access_token
- Changed how to load melidata script on window.load
- Send email from Pix and QRCode only for orders with pending status
- Audited npm packages
* Bug fixes
- Fixed plugin and platform version on melidata client
- Fixed order status when a partial refund is made
- Fixed currency conversion value to display at checkout
= v6.0.2 (13/07/2022) =
* Features
- Added preg_replace for notification external params
= v6.0.1 (27/06/2022) =
* Bug fixes
- Added validation to invalid length on cardNumber to not clear or remove fields
= v6.0.0 (22/06/2022) =
* Features
- Added ideal checkout template
- Added secure inputs for Checkout Custom
* Changes
- Updated melidata script to load only on plugin pages
= v5.8.0 (07/06/2022) =
* Features
- Added melidata script to collect metrics from plugin
* Bug fixes
- Changed mp logo
= v5.7.6 (19/04/2022) =
* Bug fixes
- Adjusted IPN notification to recognize discount coupon
- Added coupon information in order details
- Changed default value of checkout ticket date_expiration
= v5.7.5 (31/03/2022) =
* Bug fixes
- Instance a non-static class to call a method (Fatal error on PHP 8)
= v5.7.4 (25/02/2022) =
* Bug fixes
- Changed php constant
= v5.7.3 (16/02/2022) =
* Bug fixes
- fixed cho pro excluded payments
- fixed cho ticket excluded payments
- validate if has a checkout prod set all to prod
- fixed mp order screen
= v5.7.2 (14/02/2022) =
* Bug fixes
- Using Jquery from wp.ajax
= v5.7.1 (14/02/2022) =
* Bug fixes
- Adjusted js and css load of mercado pago pool
- Repass all active gateways
= v5.7.0 (14/02/2022) =
* Features
- Redesign Admin
- Performance improvements
- Added research in the Mercado Pago plugin configuration pages
* Bug fixes
- Adjusted the css of payment ticket images and text
= v5.6.1 (11/01/2022) =
* Bug fixes
- Set important to Mercado Pago inputs, to prevent ghost input type
- Updated Mercado Pago's logo images
= v5.6.0 (01/12/2021) =
* Features
- Support to PayCash in Mexico
- Simplified filling for ticket
* Bug fixes
- Adjusted term and conditions CSS
- Admin Order Details validation if is Mercado Pago order
- Updated develop dependencies
= v5.5.0 (19/10/2021) =
* Features
- Render pix image from backend for e-mails
- Added link to terms and conditions of Mercado Pago on checkout screen
* Bug fixes
- Fixed retry payment
= v5.4.1 (22/09/2021) =
* Bug fixes
- On the order page, the payment was fetched with the wrong token
- When the plugin was updated the checkout mode visually went to test
= v5.4.0 (20/09/2021) =
* Features
- Performance improvements
- Improved status of declined payments
- Improvements in store test flow
- Improved text distribution in the Wallet Button alert
- Inclusion of interest-free installment button in payment settings (PSJ)
- Inclusion of Pix code on the customer panel for later consultation
- Inclusion of visual information on the status of the credential
- Adding more QR Code expiration options to the PIX
* Bug fixes
- Fix QR Code breaking email layout
= 5.3.1 (12/08/2021) =
* Bug fixes
- Adjusted notification url, checking if it's a friendly url or not
= 5.3.0 (10/08/2021) =
* Features
- Credentials order on painel
- The seller can change checkout names
= v5.2.1 (28/07/2021) =
* Bug fixes
- Return of blank space validation in PHP CodeSniffer
- Adjusting all files that had the wrong spaces
= v5.2.0 (26/07/2021) =
* Features
- New payment method Wallet Button (wallet purchase)
- Added support to PHP 8
- Added support to PHPUnit
- Added support to source_news in notification
* Bug fixes
- Changed pix e-mail template
- Removed gulp dependency
- New pre-commit hooks
= v5.1.1 (22/04/2021) =
* Features
- Added WooCommerce linter
= v5.1.0 (29/03/2021) =
* Features
- Added new Pix Gateway for Brazil
- Added Payment type at order panel
* Bug fixes
- Fixed post in configuration page, removed html
= v5.0.1 (10/03/2021) =
* Features
- Compatibility with old notification urls
= v5.0.0 (24/02/2021) =
* Features
- Compatibility with WooCommerce v5.0.0
- Compatibility with WordPress v5.6.2
- Added Wordpress Code Standard at plugin
* Bug fixes
- Fixed round amount
= v4.6.4 (11/02/2021) =
* Bug fixes
- Removed payments methods in option custom checkout OFF
= v4.6.3 (06/01/2021) =
* Features
- Compatibility with WooCommerce v4.9.2
- Compatibility with WordPress v5.6.1
- Added index to all directories for more security
* Bug fixes
- Fixed wc-api request check when is ?wc_api or wc-api
- Fixed close of rating notification
= v4.6.2 (06/01/2021) =
* Bug fixes
- Changed loading of Mercado Pago SDK at custom checkout
= v4.6.1 (04/01/2021) =
* Features
- Add support to LearnPress
- Compatibility with Wordpress v5.6 and WooCommerce v4.8
- Added version in SDK Mercado Pago
- Added compatibility with WooCommerce Accepted Payment Methods plugin
* Bug fixes
- Changed event load of credit-card.js in checkout page
- Changed API to get payment_methods in Checkout Custo Offline and Checkout pro
- Changed event load in admin payments config
- Changed name Checkout Mercado Pago to Checkout Pro
= v4.6.0 (01/12/2020) =
* Features
- Add review rating banner
- Improve security on checkouts, xss javascript sanitizer
- Support section block added in checkout settings
* Bug fixes
- Fixed error that prevents configuring the Mercado Pago plugin
= v4.5.0 (26/10/2020) =
* Features
- Compatibility with WooCommerce v4.6.x
- Improved security (added access token in the header for all calls to Mercado Livre and Mercado Pago endpoints)
- Add new endpoint to validate Access Token and Public key to substitute old process to validation
- Improved performance with CSS minification
* Bug fixes
- Fixed conflict with wc-api webhook and Mercado Pago webhook/IPN.
- Fixed alert in currency conversion
- Fixed tranlate in currency conversion
- Bug fixed when updating orders that have two or more payments associated.
= v4.4.0 (21/09/2020) =
* Features
- Compatibility with WooCommerce v4.5.x
* Bug fixes
- Adjusted error when shipping is not used
= v4.3.1 (10/09/2020) =
* Bug fixes
- Adjusted inventory (for canceled orders) on payments made at the personalized offline checkout
= v4.3.0 (31/08/2020) =
* Features
- Improve plugin initialization
- Compatibility with Wordpress v5.5 and WooCommerce v4.4.x
* Bug fixes
- Fixed currency conversion API - Alert added at checkout when currency conversion fails
- Adjusted inventory (for canceled orders) on payments made at the personalized offline checkout
- Adjusted translation in general
- Adjusted currency translation alert
= v4.2.2 (27/07/2020) =
* Features
- Added feature: cancelled orders on WooCommerce are automatically cancelled on Mercado Pago
- Compatibility with Wordpress v5.4 and WooCommerce v4.3.x
* Bug fixes
- Fixed notification bug - No longer updates completed orders
- Fixed currency conversion API - No longer allows payments without currency conversion
- Fixed payment procesisng for virtual products
- Added ABSPATH in every PHP file
- Adjusted installments translation
- Adjusted state names for Transparent Checkout in Brazil
- Adjusted currency translation translations
- Removed text in code written in Spanish
CHANGELOG:
== Changelog ==
= v4.2.1 (18/05/2020) =
* Bug fixes
- Corrected CI document input validation on Uruguay Custom Offline Checkout.
= v4.2.0 (13/05/2020) =
* Features
- Added compatibility with WooCommerce version 4.1.0
- Added Integrator ID field on checkouts’ configuration screens
- Added validation for Public Keys
- Added alert to activate the WooCommerce plugin whenever it is inactive
- Added alert to install the WooCommerce plugin whenever it is uninstalled
- Added assets versioning
- Added minification of JS files
- Added debug mode for JS in order to use files without minification
- Added payment flow for WebPay in Chile for Checkout Custom Offline
- Updated documentation and regionalized links
* Bug fixes
- Corrected notification status on charged_back
- Corrected issue when invalid credentials were switched
- Corrected checkout options for Store Name, Store Category and Store ID
- Corrected validation on the cardNumber field whenever card number is removed
- Corrected input masks on CPNJ and CPF; CNPJ validation and translation in Brazil for Custom Checkout Offline;
- Corrected mercadopago.js loading
- Corrected processing of payment status notifications
- Corrected personalized URLs for successful, refused and pending payments on Checkout Mercado Pago
- Added success and error messages on received payment notifications
- Added alphabetical order on offline payment methods for Checkout Custom
- Added CI document input on Custom Checkout OFF in Uruguay
- Added compatibility with third-party discount plugins which attribute value on order->fees (computation of fees_cost upon purchase)
- Added validation, focus and error messages on all JS inputs on Checkout Custom Online and Offline
- Usability improvements for Checkout Custom - Credit Card on mobile devices
- Adjusted error messages on online Checkout Custom Online
- Adjusted status updates on Checkout Custom Offline orders
- Updated documentation and guide links
= v4.1.1 (10/01/2020) =
* Feature
- Currency Conversion in Checkout Mercado Pago added
* Bug fixes
- Currency Conversion for CHO Custom ON and OFF fixed
- Shipping Cost in the creation of Preferences fixed
- ME2 shipping mode in the creation of Preferences removed
- Checkout Mercado Pago class instance fixed when the first configurations are saved
= v4.1.0 (06/01/2020) =
* Feature
- Updated plugin name from "WooCommerce Mercado Pago" to "Mercado Pago payments for WooCommerce".
- Feature currency conversion returned.
- New feature to check if cURL is installed
- Refactored Javascript code for custom checkout Debit and credit card. Performance improvement, reduced number of SDK calls. Fixed validation errors. Javascript code refactored to the order review page. Removed select from mexico payment method.
* Bug fixes
- Fixed credential issue when the plugin is upgraded from version 3.x.x to 4xx. Unable to save empty credential.
- Fixed issue to validate credential when checkout is active. The same problem occurs when removing the enabled checkout credential.
- Fixed error: Undefined index: MLA in WC_WooMercadoPago_Credentials.php on line 163.
- Fixed error: Call to a member function analytics_save_settings() in WC_WooMercadoPago_Hook_Abstract.php on line 68. Has affected users that cleared the credential and filled new credential production.
- Fixed load of WC_WooMercadoPago_Module.php file.
- Fixed error Uncaught Error: Call to a member function homologValidate().
- Fixed error Undefined index: section in WC_WooMercadoPago_PaymentAbstract.php on line 303. Affected users who did not have homologous accounts
- Fixed issue to validate credential when checkout is active. The same problem occurs when removing the enabled checkout credential.
- Fixed issue to calculate commission and discount.
- Fixed Layout of checkout custom input.
- Fixed translation ES of Modo Producción, Habilitá and definí
- Fixed Uncaught Error call to a member function update_status() in WC_WooMercadoPago_Notification_Abstract.php. Handle Mercado Pago Notification Failures and Exceptions.
- Fix PT-BR debit card translation on admin.
- Fix PT-BR debit card translation on checkout.
- Remove "One Step Checkout" from CHO Custom Off.
- Remove Mercado Creditos from Custom CHO OFF.
- Fixed issue to check if WooCommerce plugin is installed
* Break change
- Removed feature and support to Mercado Envios shipping. Before install the plugin verify if your store has another method of shipping configured.
= v4.0.8 (13/09/2019) =
* Bug fixes
- Fixed mercado envios
- Fexed show fee in checkout
- Fixed translation file
- Fixed constant file
= v4.0.7 (12/09/2019) =
* Bug fixes
- Fixed layout incompatibility
- Fixed process to validate card at custom checkout
- Fixed payment due at ticket
- Fixed spanish translation
= v4.0.6 (09/09/2019) =
* Bug fixes
- Problem with all translations fixed
= v4.0.5 (04/09/2019) =
* Bug fixes
- Problem with translations in Portuguese fixed
= v4.0.4 (03/09/2019) =
* Bug fixes
- Conflict between php5.6 and php7 solved
= v4.0.3 (03/09/2019) =
* Bug fixes
- Fixed basic checkout layout when theme uses bootstrap
- Fixed all Custom checkout layout when theme uses bootstrap
- Fixed input blank in basic checkout config
= v4.0.2 (02/09/2019) =
* Feature All
- Performance improvement
- UX and UI improvements
- Code refactoring
- Design standards: SOLID, Abstract Factory and Singleton
- SDK Refactor: Avoid repeated external requests.
- New Credential Validation Logic
- Plugin Content Review
- Adjustment in translations
- Unification of general plugin settings with payment method setup, simplifying setup steps
- Logs to assist support and integration
* Bug fixes
- Added product_id
- Fixed payment account_money
- Fixed translation Spanish Neutral and Argentino
= v4.0.2-Beta (13/08/2019) =
* Bug fixes
- Fixed bug when update plugin from version 3.0.17
- Fixed bug thats change production mode of basic, custom and ticket checkout when update version.
- Added statement_descriptor in basic checkout
- Fixed title space checkout custom
= v4.0.1-Beta (09/08/2019) =
* Bug fixes
- Fixed notification IPN and Webhook
- Fixed payment processing
- Fixed Argentina ticket checkout
- Fixed rule for custom checkout to generate token
- Fixed layout checkouts
= v4.0.0-Beta (02/08/2019) =
* Feature All
- Performance improvement
- UX and UI improvements
- Code refactoring
- Design standards: SOLID, Abstract Factory and Singleton
- SDK Refactor: Avoid repeated external requests.
- New Credential Validation Logic
- Plugin Content Review
- Adjustment in translations
- Unification of general plugin settings with payment method setup, simplifying setup steps
- Logs to assist support and integration
= v3.1.1 (03/05/2019) =
* Feature All
- Added alert message on all ADMIN pages for setting access_token and public_key credentials, as client_id and client_secret credentials will no longer be used. Basic Checkout will continue to work by setting these new credentials.
- We have added minor translation enhancements.
- We add error message when any API error occurs while validating credentials.
= v3.1.0 (17/04/2019) =
* Feature All
- We are no longer using client_id and client_secret credentials. This will affect the functioning of the basic checkout. You will need to configure access_token and public_key, in the plugin settings have. You can access the link to get the credentials inside of configurations of plugin.
* Improvements
- Performance enhancements have been made, removing unnecessary requests and adding scope limitation for some functionality.
= v3.0.17 (07/08/2018) =
* Feature All
- Adding X Product ID
- Migration from v0 (collections) to v1
= v3.0.16 (20/07/2018) =
* Feature MCO
- Adding PSE gateway for Colombia
* Improvements
- Some code improvements
= v3.0.15 (15/03/2018) =
* Improvements
- Allowing customization by merchants, in ticket fields (credits to https://github.com/fernandoacosta)
- Fixed a bug in Mercado Envios processment.
= v3.0.14 (13/03/2018) =
* Improvements
- Discount and fee by gateway accepts two leading zeros after decimal point;
- Customers now have the option to not save their credit cards;
- Checkout banner is now customizable.
= v3.0.13 (01/03/2018) =
* Bug fixes
- Fixed a bug in modal window for Basic Checkout.
= v3.0.12 (28/02/2018) =
* Improvements
- Added date limit for ticket payment;
- Added option for extra tax by payment gateway;
- Increased stability.
= v3.0.11 (19/02/2018) =
* Improvements
- Improved feedback messages when an order fails;
- Improved credential validation for custom checkout by credit cards.
= v3.0.10 (29/01/2018) =
* Improvements
- Improved layout in Credit Card and Ticket forms;
- Improved support to WordPress themes.
= v3.0.9 (16/01/2018) =
* Bug fixes
- Fixed a bug in the URL of product image;
- Fix count error in sdk (credits to xchwarze).
= v3.0.8 (05/01/2018) =
* Improvements
- Increased support and handling to older PHP;
- IPN/Webhook now customizable.
= v3.0.7 (21/12/2017) =
* Improvements
- Checking presence of older versions to prevent inconsistences.
= v3.0.6 (13/12/2017) =
* Improvements
- Added validation for dimensions of products;
- Added country code for analytics.
* Bug fixes
- Fixed a problem related to the title of payment method, that were in blank when configuring the module for the first time.
= v3.0.5 (22/11/2017) =
* Bug fixes
- Fixed a bug in the URL of javascript source for light-box window.
= v3.0.4 (13/11/2017) =
* Improvements
- Improved webhook of ticket printing to a less generic one.
* Bug fixes
- FIxed a bug related to payment status of tickets.
= v3.0.3 (25/10/2017) =
* Features
- Rollout to Uruguay for Custom Checkout and Tickets.
* Bug fixes
- Not showing ticket form when not needed.
= v3.0.2 (19/10/2017) =
* Bug fixes
- Fixed the absence of [zip_code] field in registered tickets for Brazil.
= v3.0.1 (04/10/2017) =
* Bug fixes
- We fixed a Javascript problem that are occurring when payments were retried in custom checkout and tickets;
- Resolved the size of Mercado Pago icon in checkout form.
* Improvements
- Allow merchants to customize IPN URL as in some cases the store is hosted in subdomains;
- Optmizations in form layout of custom checkout and tickets;
- Validating currency consistency before trying conversions;
- References to the new docummentations.
= v3.0.0 (25/09/2017) =
* Features
- All features already present in <a href="https://br.wordpress.org/plugins/woocommerce-mercadopago/">Woo-Mercado-Pago-Module 2.x</a>;
- Customization of status mappings between order and payments.
* Improvements
- Added CNPJ document for brazilian tickets;
- Optimization in HTTP requests and algorithms;
- Removal of several redundancies;
- HTML and Javascript separation;
- Improvements in the checklist of system status;
- More intuitive menus and admin navigations.
= v2.2.15 (22/09/2017) =
* Bug fixes
- Synchronizing Mercado Pago account when WooCommerce back-office cancels an order.
* Improvements
- Added CNPJ document for brazilian tickets;
- Optimized error tracking.
= v2.2.14 (14/09/2017) =
* Bug fixes
- Fixed a bug in Ticket form related with inconsistent use of variables of Custom Checkout form;
- Not showing card issuer field for Chile as it is unnecessary.
= v2.2.13 (28/08/2017) =
* Bug fixes
- Fixing a bug in Custom Checkout, that wasn't showing the form.
= v2.2.12 (14/08/2017) =
* Improvements
- Improved layout alignment for custom checkout and tickets;
- Added a checklist for platform statuses of cURL, SSL and PHP verification;
- Added the ticket view after the checkout.
* Bug fixes
- Fixed a bug that was locking inputs in ticket fields for Brazil.
= v2.2.11 (24/07/2017) =
* Improvements
- Improved credential validation algorithm;
- Added FEBRABAN rules for brazilian tickets.
* Bug fixes
- Resolved a bug when converting currency.
= v2.2.10 (04/07/2017) =
* Bug fixes
- Fixed a bug in subscriptions, where a recurrent product wasn't possible to be bought if its end-date is blank.
= v2.2.9 (29/06/2017) =
* Bug fixes
- Fixed a bug in Mercado Envios for WooCommerce 3.x, involving use of undeclared variable.
= v2.2.8 (23/06/2017) =
* Improvements
- Integrated error log API. This can help to debug any cURL requests;
- Increased stability.
= v2.2.7 (01/06/2017) =
* Improvements
- Optimizations in checkout JavaScript;
- Additional checking for test users within checkout process.
* Bug fixes
- Properly changing order status when paying with Basic Checkout using two cards.
= v2.2.6 (18/05/2017) =
* Improvements
- Increased stability for internal payment process.
* Bug fixes
- Fixed a bug related to shipping value not added to total amount;
- Not showing ticket button when payment method is not applicable;
- Removed unused snippet from ticket solution, handling an unexpected warning.
= v2.2.5 (08/05/2017) =
* Bug fixes
- Added support for WooCommerce/WordPress functions to handle warnings;
- Algorithm of Chile/Colombia when removing decimals.
= v2.2.4 (03/05/2017) =
* Improvements
- Increased support to older versions of PHP;
- Optimized calls of WordPress/WooCommerce specific functions.
= v2.2.3 (02/05/2017) =
* Bug fixes
- Resolved a bug related to the missing menus in Appearance.
= v2.2.2 (27/04/2017) =
* Improvements
- When using Mercado Envios, the plugin now sends an email with tracking ID to the merchant and customer.
* Bug fixes
- Resolved a bug related with non-persisted data of Simple Products;
- Resolved the status update for "in_procerss" in the basic checkout.
= v2.2.1 (13/04/2017) =
* Features
- Discount by payment method. Merchants can give a discount to their customers if the payment is made with a given gateway.
* Improvements
- Support for WooCommerce 3.0.
= v2.2.0 (03/04/2017) =
* Features
- Recurrent Payments. This feature allow merchants to create subscriptions and charge their customers periodically. For now, available only to Argentina, Brazil and Mexico.
= v2.1.9 (23/03/2017) =