Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v7.6.4 #365

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading