Skip to content

Commit

Permalink
Merge pull request #341 from mercadopago/release/7.0.6
Browse files Browse the repository at this point in the history
Release v7.0.6
  • Loading branch information
gubrito authored Dec 13, 2023
2 parents f5ff742 + 73fb663 commit 3a2d0f9
Show file tree
Hide file tree
Showing 576 changed files with 47,688 additions and 61,614 deletions.
13 changes: 3 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@ charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{*.yml,*.neon,*.js}]
indent_style = space
indent_size = 2

[{composer.json,composer.lock,package.json}]
indent_style = space
indent_size = 4

[{*.yml,*.neon,*.js,*.css}]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[readme.txt]
indent_style = space
File renamed without changes.
36 changes: 0 additions & 36 deletions .github/workflows/phpcs.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/phpunit.yml

This file was deleted.

13 changes: 9 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
node_modules
.DS_Store
.vscode
.idea
.idea/
.phpunit.result.cache

clover.xml
coverage

/.idea/
/.vscode/
/vendor/
/node_modules/

woocommerce-mercadopago.zip
31 changes: 0 additions & 31 deletions .husky/_/husky.sh

This file was deleted.

22 changes: 0 additions & 22 deletions .husky/pre-commit

This file was deleted.

4 changes: 2 additions & 2 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
vendor
**/*.min.js
node_modules
**/*.min.js
6 changes: 3 additions & 3 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"boss": true,
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
Expand All @@ -11,7 +11,7 @@
"trailing": true,
"undef": true,
"unused": true,
"esversion": 6,
"esversion": 11,
"browser": true,
"globals": {
"_": false,
Expand All @@ -22,4 +22,4 @@
"console": false,
"module": false
}
}
}
93 changes: 70 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,53 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.0.6] - 2023-12-11
### Fixed
- Fixed applying store discount code twice

## [7.0.5] - 2023-12-08
### Fixed
- Fixed discounts and commision calcs
- Instance logs for Seller and Order classes

### Changed
- Improved Metadata getSettings return value
- Improved 3ds fields validation to proccess payment
- Review and improved checkout items calc methods

## [7.0.4] - 2023-12-06
### Changed
- Improved notification_url
- Improved checkout sanitized urls
- Changed initial hook from wc_loaded to plugins_loaded

### Fixed
- Always render pix qrcode on thankyou page
- Removed get_checkout_order_received_url sanitization

## [7.0.3] - 2023-12-05
### Fixed
- Checkout PRO Modal dependency loading

## [7.0.2] - 2023-12-05
### Fixed
- Credits enabled by default searching for available countries
- Status sync rendering compatibility

## [7.0.1] - 2023-12-05
### Fixed
- Shipping rate value on transparent checkouts

## [7.0.0] - 2023-12-04
### Changed
- Complete refactoring of the Plugin
- Improvement in the additional information node
- Full refactoring of the Plugin
### Fixed
- Record info LOG only if option activated in STEP 2 of config
### Added
- Payment implementation with 3DS security flow

## [6.9.3] - 2023-07-13
### Fixed
- Updated the link to obtain credentials on the developer site
Expand Down Expand Up @@ -65,12 +112,12 @@ fix pix renderization

### 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
- 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
- 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
Expand Down Expand Up @@ -588,27 +635,27 @@ fix pix renderization

- Updated plugin name from "WooCommerce Mercado Pago" to "Mercado Pago payments for WooCommerce".
- [PLUG-459]
- 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 issue on methadata.
- Fixed Layout of checkout custom input.
- Fixed translation of Modo Producción, Habilitá and definí
- 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 issue on methadata.
- Fixed Layout of checkout custom input.
- Fixed translation of Modo Producción, Habilitá and definí
- [PLUG-459-2] 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.
- [PLUG-462]
- Fixed Uncaught Error call to a member function update_status() in WC_WooMercadoPago_Notification_Abstract.php. Handle Mercado Pago Notification Failures and Exceptions.
- Fixed Uncaught Error call to a member function update_status() in WC_WooMercadoPago_Notification_Abstract.php. Handle Mercado Pago Notification Failures and Exceptions.
- Fixed Uncaught Error call to a member function update_status() in WC_WooMercadoPago_Notification_Abstract.php. Handle Mercado Pago Notification Failures and Exceptions.
- Fixed Uncaught Error call to a member function update_status() in WC_WooMercadoPago_Notification_Abstract.php. Handle Mercado Pago Notification Failures and Exceptions.
- [PLUG-463]
- Remove Mercado Creditos from Custom CHO OFF.
- 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.
- Fix PT-BR debit card translation on admin.
- Fix PT-BR debit card translation on checkout.
- Remove "One Step Checkout" from CHO Custom Off.
- [PLUG-466] Removed feature and support to Mercado Envios shipping. Before install the plugin verify if your store has another method of shipping configured.
- [PLUG-470] Fixed issue to check if WooCommerce plugin is installed
- [PLUG-455] Curl Validation.
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ The Mercado Pago payments for WooCommerce plugin allows you to expand the functi

<br/>

## Attention / Atención / Atenção

| Note (English) | Nota (Español) | Nota (Português) |
| :------------ | :------------- | :--------------- |
|<br/> **Warning about v6.0.0**: when updating, if you have made custom layout changes to your checkout, it is possible that some of those customizations become misconfigured. If you have a separate store environment just for testing, please update there first in order to visualize and test the changes. | <br/> **Advertencia sobre la v6.0.0**: al actualizar, si hiciste cambios de diseño personalizados en tu checkout, es posible que algunas de estas customizaciones se desconfiguren. Si tenés una tienda en un entorno separado sólo para pruebas, actualizalo ahí primero para previsualizar y probar los cambios. | <br/>**Aviso sobre a v6.0.0**: ao atualizar, caso você tenha feito mudanças de layout customizadas no seu checkout, é possível que algumas dessas customizações se desconfigurem. Se você tiver uma loja em ambiente separado só para testes, atualize por lá antes para visualizar e testar as alterações.
|<br/>On 7/13/21, WooCommerce notified its customers that some of its versions are vulnerable. The necessary fixes were already made in the last update. Therefore, it is **very important that your store has the latest version of WooCommerce updated** to prevent exposure of sensitive information. <br/> <br/> More information on the [WooCommerce blog.](https://woocommerce.com/pt-br/posts/critical-vulnerability-detected-july-2021/) | <br/> El 13/07/21, WooCommerce notificó a sus clientes que algunas de sus versiones resultan vulnerables. Las correcciones necesarias ya se han realizado en la última actualización. Por lo tanto, es **muy importante que tu tienda tenga la última versión de WooCommerce actualizada** para evitar la exposición de información sensible. <br/> <br/> Más información en el [WooCommerce blog.](https://woocommerce.com/pt-br/posts/critical-vulnerability-detected-july-2021/) | <br/> Em 13/07/21, o WooCommerce notificou seus clientes de que algumas de suas versões estão vulneráveis. As correções necessárias já foram feitas na última atualização. Por isso, é **muito importante que sua loja esteja com a última versão do WooCommerce atualizada** para prevenir a exposição de informações sensíveis. <br/> <br/> Mais informações no [WooCommerce blog.](https://woocommerce.com/pt-br/posts/critical-vulnerability-detected-july-2021/) |

## Documentation in English

For a better experience, you will be redirected to our site by clicking on the links below:
Expand Down Expand Up @@ -50,4 +43,4 @@ Para uma melhor experiência, você será redirecionado para o nosso site, clica

## Support

Something's wrong? [Get in touch with our support](https://www.mercadopago.com.ar/developers/en/support)
Something's wrong? [Get in touch with our support](https://www.mercadopago.com.ar/developers/en/support)
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
color: #009EE3;
}

.credits-info-button-selected {
.selected {
color: #009EE3;
}

Expand Down
Loading

0 comments on commit 3a2d0f9

Please sign in to comment.