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/7.5.4-beta #911

Merged
merged 23 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a7fc42f
Add requires header PIWOO-146
mmaymo Apr 26, 2024
a951d16
Create release 7.5.3
mmaymo Apr 26, 2024
f2223df
Add alma payment method
mmaymo Apr 26, 2024
9962075
Merge branch 'refs/heads/develop' into release/7.5.3
mmaymo Apr 26, 2024
6eb3752
Merge branch 'refs/heads/fix/PIWOO-462-woo-dependency-header' into re…
mmaymo Apr 29, 2024
4f0c071
Add validate error on in3 future birthdate
mmaymo Apr 29, 2024
a6a9a1a
Change apple validation error string PIWOO-227
mmaymo Apr 29, 2024
02ffdac
Fix phpcs PIWOO-227
mmaymo Apr 29, 2024
a233c6b
Open link in new window
mmaymo May 6, 2024
4182b59
Merge pull request #901 from mollie/fix/PIWOO-227-improve-apple-valid…
mmaymo May 6, 2024
7582a5d
Merge pull request #900 from mollie/fix/PIWOO-439-in3-future-date
mmaymo May 6, 2024
e945917
Update to Syde and remove unneeded
mmaymo May 6, 2024
e490014
Update to Syde in readme.txt
mmaymo May 6, 2024
085fafe
Avoid rounding issues with trick maths
mmaymo May 7, 2024
fe60952
Add Alma payment method with new payment API fields
mmaymo May 8, 2024
c09c595
Fix CS
mmaymo May 8, 2024
9cd676c
Remove typo
mmaymo May 8, 2024
591727e
Merge branch 'refs/heads/release/7.5.3' into fix/PIWOO-461_rounding
mmaymo May 8, 2024
e155875
Fix CS
mmaymo May 8, 2024
46737da
Merge pull request #899 from mollie/feature/PIWOO-418-alma-method
mmaymo May 13, 2024
9a923b5
Merge pull request #903 from mollie/fix/PIWOO-461_rounding
mmaymo May 13, 2024
3b997c6
Merge branch 'refs/heads/develop' into release/7.5.3
mmaymo May 27, 2024
2403477
Update version to 7.5.4-beta
mmaymo May 27, 2024
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
430 changes: 0 additions & 430 deletions changelog.txt

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"email": "[email protected]"
},
{
"name": "Inpsyde Gmbh",
"email": "hello@inpsyde.com"
"name": "Syde Gmbh",
"email": "hello@syde.com"
}
],
"require": {
Expand Down
150 changes: 0 additions & 150 deletions deploy.sh

This file was deleted.

6 changes: 5 additions & 1 deletion inc/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ function mollieWooCommerceFormatCurrencyValue($value, $currency)
if (in_array($currency, $currenciesWithNoDecimals)) {
return number_format($value, 0, '.', '');
}

// trying to avoid floating point issues
$value = $value * 1000;
$value = (int) $value / 1000; //drop the last decimal after the third
$value = round($value, 3);
$value = round($value, 2, PHP_ROUND_HALF_DOWN); //round down, as seems woo like it :)
return number_format($value, 2, '.', '');
}

Expand Down
3 changes: 2 additions & 1 deletion mollie-payments-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Mollie Payments for WooCommerce
* Plugin URI: https://www.mollie.com
* Description: Accept payments in WooCommerce with the official Mollie plugin
* Version: 7.5.3
* Version: 7.5.4-beta
* Author: Mollie
* Author URI: https://www.mollie.com
* Requires at least: 5.0
Expand All @@ -14,6 +14,7 @@
* WC requires at least: 3.9
* WC tested up to: 8.7
* Requires PHP: 7.2
* Requires Plugins: woocommerce
*/
declare(strict_types=1);

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
],
"authors": [
{
"name": "Inpsyde GmbH",
"homepage": "https://inpsyde.com/",
"email": "hallo@inpsyde.com",
"name": "Syde GmbH",
"homepage": "https://syde.com/",
"email": "hello@syde.com",
"role": "Company"
},
{
Expand Down
77 changes: 0 additions & 77 deletions playwright.config.js

This file was deleted.

11 changes: 11 additions & 0 deletions public/images/alma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading