Skip to content

Commit

Permalink
Merge pull request #365 from mercadopago/release/7.6.4
Browse files Browse the repository at this point in the history
Release v7.6.4
  • Loading branch information
DouglasCorreiaMeli authored Jul 31, 2024
2 parents 3077f3b + 9877b6c commit d57ee4e
Show file tree
Hide file tree
Showing 61 changed files with 2,974 additions and 2,760 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.6.4] - 2024-07-31
### Fix:
- Prevents payment from being created if the currency conversion system fails.

## [7.6.3] - 2024-07-29
### Fix:
- Fix the size of the card logos at checkout.
Expand Down
2 changes: 1 addition & 1 deletion assets/css/checkouts/mp-plugins-components.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/checkouts/mp-plugins-components.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions assets/js/blocks/basic.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,14 @@ const Content = (props) => {
terms_and_conditions_link_text,
terms_and_conditions_link_src,
test_mode,
amount,
message_error_amount,
} = settings.params;

if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

return (
<div className="mp-checkout-container">
<div className="mp-checkout-pro-container">
Expand Down
6 changes: 6 additions & 0 deletions assets/js/blocks/credits.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,14 @@ const Content = (props) => {
terms_and_conditions_link_text,
terms_and_conditions_link_src,
test_mode,
amount,
message_error_amount,
} = settings.params;

if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

return (
<div className="mp-checkout-container">
<div className="mp-checkout-pro-container">
Expand Down
7 changes: 7 additions & 0 deletions assets/js/blocks/custom.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,14 @@ const Content = (props) => {
terms_and_conditions_link_src,
amount,
currency_ratio,
message_error_amount,
} = settings.params;


if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

const ref = useRef(null);
const [checkoutType, setCheckoutType] = useState('custom');

Expand Down Expand Up @@ -455,6 +461,7 @@ const Content = (props) => {
value={checkoutType}
/>
</div>

</div>
);
};
Expand Down
6 changes: 6 additions & 0 deletions assets/js/blocks/pix.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,14 @@ const Content = (props) => {
terms_and_conditions_link_text,
terms_and_conditions_link_src,
test_mode,
amount,
message_error_amount,
} = settings.params;

if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

return (
<div className="mp-checkout-container">
<div className="mp-checkout-pix-container">
Expand Down
6 changes: 6 additions & 0 deletions assets/js/blocks/pse.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,14 @@ const Content = (props) => {
financial_institutions_label,
financial_institutions_helper,
financial_placeholder,
message_error_amount,

} = settings.params;

if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

const ref = useRef(null);

const { eventRegistration, emitResponse } = props;
Expand Down
5 changes: 5 additions & 0 deletions assets/js/blocks/ticket.block.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,13 @@ const Content = (props) => {
terms_and_conditions_link_text,
terms_and_conditions_link_src,
test_mode,
message_error_amount,
} = settings.params;

if (amount == null) {
return (<><p className={'alert-message'}>{message_error_amount}</p></>);
}

const ref = useRef(null);

const { eventRegistration, emitResponse } = props;
Expand Down
2 changes: 1 addition & 1 deletion build/basic.block.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '56daa004d9f709c30711');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '1f11fe1cdfce07e5b067');
2 changes: 1 addition & 1 deletion build/basic.block.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/credits.block.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'b74dafef30e8afb92599');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '5c9b681e20f4f7456c7e');
2 changes: 1 addition & 1 deletion build/credits.block.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/custom.block.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => '4d7915165f0d063461fa');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities'), 'version' => 'c503bd7affcbb1d93397');
Loading

0 comments on commit d57ee4e

Please sign in to comment.