diff --git a/CHANGELOG.md b/CHANGELOG.md index 371a208a5..3852b38d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,17 @@ 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.1.1] - 2024-01-15 +### Fixed +- Removes incorrectly showing the discount and commison information in the cart +- TypeError when opening orders in the admin panel + ## [7.1.0] - 2024-01-11 ### Added - Added support to Woocommerce Blocks +### Fixed +- Fixed the error that did not allow changing the name of checkouts +- Fix checkout pro modal mode ## [7.0.6] - 2023-12-11 ### Fixed diff --git a/README.md b/README.md index 66d15f50e..c6c48b71a 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,36 @@ -

MercadoPago -

+# Plugins Enablers (Woocommerce) -

-version -download -license -

+[![made-with-Php](https://img.shields.io/badge/Made%20with-Php-1f425f.svg)](https://www.php.net/) [![php-version](https://img.shields.io/badge/Php->=7.4-1f425f)]() -The Mercado Pago payments for WooCommerce plugin allows you to expand the functionalities of your online store and offer a unique payment experience for your customers. +The base project for the Plugins Enablers Initiative. -
+## Install -## Documentation in English +Open your terminal and run the script below in your ````wp-content/plugins```` to install the base plugin. -For a better experience, you will be redirected to our site by clicking on the links below: +```` +plugin_base_dir="woocommerce-plugins-enablers" \ +&& git clone --quiet --recursive -j8 git@github.com:melisource/fury_woocommerce-plugins-enablers.git $plugin_base_dir \ +&& cd $plugin_base_dir && composer i && composer i -d "./packages/sdk/" +```` -* [Introduction](https://www.mercadopago.com.ar/developers/en/guides/plugins/woocommerce/introduction/) -* [Installation](https://www.mercadopago.com.ar/developers/en/docs/woocommerce/how-tos/install-module-manually) -* [Integration](https://www.mercadopago.com.ar/developers/en/docs/woocommerce/integration-configuration/plugin-configuration) -* [Payments configuration](https://www.mercadopago.com.ar/developers/en/docs/woocommerce/payments-configuration) -* [Test and receive payments](https://www.mercadopago.com.ar/developers/en/docs/woocommerce/integration-test) +## Getting started -## Documentación en Español +The purpose of this tutorial is to support the creation and integration of payment gateway plugins to the base plugin. -Para una mejor experiencia, será redirigido a nuestro sitio haciendo clic en los links a abajo: +#### Creating and integrating a payment gateway to the base plugin -* [Introducción](https://www.mercadopago.com.ar/developers/es/guides/plugins/woocommerce/introduction/) -* [Instalación](https://www.mercadopago.com.ar/developers/es/docs/woocommerce/how-tos/install-module-manually) -* [Integración](https://www.mercadopago.com.ar/developers/es/docs/woocommerce/integration-configuration/plugin-configuration) -* [Preferencias de pago](https://www.mercadopago.com.ar/developers/es/docs/woocommerce/payments-configuration) -* [Prueba y recibe pagos](https://www.mercadopago.com.ar/developers/e/docs/woocommerce/integration-test) +It is necessary that the creation of the payment gateway plugin be done along the lines of an additional Woocommerce plugin, and as part of the process, we must create a main class that will add the Wordpress loading hook to call the method that allows the plugin to be recognized as a Woocommerce payment gateway plugin. -## Documentação em Português +```` +add_action('wp_loaded', 'initPaymentGateway'); +```` -Para uma melhor experiência, você será redirecionado para o nosso site, clicando nos links abaixo: +In addition, we must create a custom class to extend Woocommerce gateway class, allowing inheritance of gateway methods and the [configs api](https://woocommerce.com/document/settings-api/). -* [Introdução](https://www.mercadopago.com.br/developers/pt/guides/plugins/woocommerce/introduction/) -* [Instalação](https://www.mercadopago.com.br/developers/pt/docs/woocommerce/how-tos/install-module-manually) -* [Integração](https://www.mercadopago.com.br/developers/pt/docs/woocommerce/integration-configuration/plugin-configuration) -* [Preferências de pagamento](https://www.mercadopago.com.br/developers/pt/docs/woocommerce/payments-configuration) -* [Teste e receba pagamentos](https://www.mercadopago.com.br/developers/pt/docs/woocommerce/integration-test) +```` +class MPGateway extends \WC_Payment_Gateway {} +```` *To learn more about how to structure your gateway class, access the official [Woocommerce documentation](https://woocommerce.com/document/payment-gateway-api/).* @@ -54,4 +45,3 @@ function initPaymentGateway() { As you can see in the example above, ````mercadopago```` is a global variable that represents an instance of the base plugin, global variables can be accessed from anywhere, that is, inside and outside the plugin. This variable allows payment gateway plugins to access resources of the base plugin. -Something's wrong? [Get in touch with our support](https://www.mercadopago.com.ar/developers/en/support) diff --git a/changelog.log b/changelog.log index c05fc2d68..695c58045 100644 --- a/changelog.log +++ b/changelog.log @@ -1,9 +1,17 @@ CHANGELOG: == Changelog == -= v7.1.0 (26/12/2023) = += v7.1.1 (15/01/2024) = +* Fixed +- Removes incorrectly showing the discount and commison information in the cart +- TypeError when opening orders in the admin panel + += v7.1.0 (11/01/2024) = * Added - Added support to Woocommerce Blocks +* Fixed: +- Fixed the error that did not allow changing the name of checkouts +- Fix checkout pro modal mode = v7.0.6 (11/12/2023) = * Fixed diff --git a/package.json b/package.json index ee20e6aa4..60110dd7b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "woocommerce-mercadopago", "description": "Woocommerce MercadoPago Payment Gateway", - "version": "7.1.0", + "version": "7.1.1", "main": "main.js", "repository": { "type": "git", diff --git a/readme.txt b/readme.txt index 5df4dd1a1..cbdccdfdd 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce Requires at least: 5.6 Tested up to: 6.4 Requires PHP: 7.4 to 8.3 -Stable tag: 7.1.0 +Stable tag: 7.1.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -136,9 +136,17 @@ Check out our