Skip to content

Commit

Permalink
Release v7.9.4 (#371)
Browse files Browse the repository at this point in the history
Co-authored-by: Mercado Pago <[email protected]>
  • Loading branch information
extigcandid and Mercado Pago authored Feb 10, 2025
1 parent 4dbc6d3 commit 6c4e596
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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.9.4] - 2025-02-10
### Fixed
- Resolved an issue where stores with a permanent link configuration different from the default could cause errors on order payment links.

## [7.9.3] - 2025-02-04
### Fixed
- Fixed translations for ticket in ES language.
Expand Down
4 changes: 4 additions & 0 deletions changelog.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG:
== Changelog ==

= v7.9.4 (10/02/2025) =
* Fixed:
- Resolved an issue where stores with a permanent link configuration different from the default could cause errors on order payment links.

= v7.9.3 (04/02/2025) =
* Fixed:
- Fixed translations for ticket in ES language.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-mercadopago",
"description": "Woocommerce MercadoPago Payment Gateway",
"version": "7.9.3",
"version": "7.9.4",
"main": "main.js",
"repository": {
"type": "git",
Expand Down
9 changes: 3 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 7.9.3
Stable tag: 7.9.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -134,11 +134,8 @@ Set up both the plugin and the checkouts you want to activate on your payment av

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.

= v7.9.3 (04/02/2025) =
= v7.9.4 (10/02/2025) =
* Fixed:
- Fixed translations for ticket in ES language.
- Fixed order pay payments error with custom checkout method.
* Improved:
- Order update cron now ignores orders with errors after 2 retries.
- Resolved an issue where stores with a permanent link configuration different from the default could cause errors on order payment links.

[See changelog for all versions](https://github.com/mercadopago/cart-woocommerce/blob/main/CHANGELOG.md).
4 changes: 2 additions & 2 deletions src/Gateways/AbstractGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,9 @@ protected function getAmount(): float
$total = $this->mercadopago->helpers->cart->calculateTotalWithDiscountAndCommission($this);

if ($this->mercadopago->helpers->url->validateGetVar('pay_for_order')) {
$orderId = Form::sanitizedGetData('order-pay');
$orderId = sanitize_key(get_query_var('order-pay'));
$currentOrder = wc_get_order($orderId);
$total = (float)$currentOrder->get_total();
$total = (float) $currentOrder->get_total();
}

return $total;
Expand Down
2 changes: 1 addition & 1 deletion src/WoocommerceMercadoPago.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

class WoocommerceMercadoPago
{
private const PLUGIN_VERSION = '7.9.3';
private const PLUGIN_VERSION = '7.9.4';

private const PLUGIN_MIN_PHP = '7.4';

Expand Down
2 changes: 1 addition & 1 deletion woocommerce-mercadopago.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Mercado Pago
* Plugin URI: https://github.com/mercadopago/cart-woocommerce
* Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account.
* Version: 7.9.3
* Version: 7.9.4
* Author: Mercado Pago
* Author URI: https://developers.mercadopago.com/
* Text Domain: woocommerce-mercadopago
Expand Down

0 comments on commit 6c4e596

Please sign in to comment.