Skip to content

Release/v2.5.4 #308

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

Merged
merged 41 commits into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
19c8e75
fix: fatal error on Amazon API errors
dpanta94 Dec 16, 2021
5273033
fix: return WP_Error after constructing it
dpanta94 Dec 16, 2021
2342a46
feat: return the variable directly
dpanta94 Dec 16, 2021
555d819
Merge pull request #137 from saucal/fix/fatal-admin-when-agreement-in…
msaggiorato Jan 17, 2022
408d963
fix: check for wp_error before requesting status_details_label
dpanta94 Dec 17, 2021
7f3c1f5
fix: check again for wp_error before accessing variable's prop
dpanta94 Dec 17, 2021
49f98c7
Merge pull request #138 from saucal/fix/wp-error-check-on-status-deta…
msaggiorato Jan 17, 2022
1659b35
improve detection japanese region
alexiglesias31 Feb 16, 2024
2fe7042
use "-" instead of "." as fallback
alexiglesias31 Mar 5, 2024
9fde4a7
fix 2nd column
alexiglesias31 Mar 23, 2024
8370312
cache checkout session if possible
alexiglesias31 Jun 19, 2024
48fbc00
avoid infinite loop on checkout blocks
alexiglesias31 Jun 19, 2024
53be502
use dash as fallback to avoid sanitization of hyphen
alexiglesias31 Jun 19, 2024
e02de80
override non required fields on checkout blocks
alexiglesias31 Jun 19, 2024
336a306
refactor duplicated fields
alexiglesias31 Jun 20, 2024
9f42d34
adjust parameter name and description
alexiglesias31 Jun 20, 2024
001547f
Merge remote-tracking branch 'upstream/main' into fix/japanese-addres…
alexiglesias31 Aug 2, 2024
1c07c36
remove not needed method
alexiglesias31 Aug 2, 2024
fd212e1
use - as city fallback
alexiglesias31 Aug 2, 2024
9e91356
fix express button not rendered on single product page
alexiglesias31 Aug 2, 2024
7d83a08
explode with ideagraphic space
alexiglesias31 Aug 6, 2024
0d416f2
Fix Billing Phone ID getter
lauramelos Sep 30, 2024
de72a6b
Fix typo on phpunit tests
lauramelos Sep 30, 2024
7d469a4
Fix PHP compatibility
worais Oct 1, 2024
5143e28
Update Node and Fix CI
worais Oct 1, 2024
b084456
Merge pull request #230 from saucal/fix/phone-validation
lauramelos Oct 2, 2024
995955d
Merge pull request #223 from saucal/fix/japanese-address-format-issue
lauramelos Oct 2, 2024
5cd2fff
Update Amazon Pay SDK
lauramelos Oct 3, 2024
754aaf1
phpcs fixes
lauramelos Oct 17, 2024
d76fc85
Replace deprecated FILTER_SANITIZE_STRING
lauramelos Oct 17, 2024
764e925
Fix legacy Code
lauramelos Oct 17, 2024
675b3ca
Merge pull request #232 from saucal/feature/fix-standars
lauramelos Oct 21, 2024
172a711
Fix function to get privacy_url
worais Dec 9, 2024
27d7bcf
Replace onCheckoutAfterProcessingWithSuccess and onPaymentProcessing
worais Mar 5, 2025
c9cfcf2
Merge remote-tracking branch 'origin/update/amazon-pay-sdk' into rele…
alexiglesias31 Apr 18, 2025
ae30fbd
Merge remote-tracking branch 'origin/feature/fix-standars' into relea…
alexiglesias31 Apr 18, 2025
95a9542
change plugin name
alexiglesias31 Apr 18, 2025
ddd5fd4
Merge branch 'fix/policy-url' into release/v2.5.4
alexiglesias31 Apr 18, 2025
8cb1789
Merge remote-tracking branch 'origin/fix/deprecated-hooks' into relea…
alexiglesias31 Apr 18, 2025
cc5867b
remove ; character
alexiglesias31 Mar 27, 2025
4d5ebc8
bump versions and update changelog
alexiglesias31 Apr 29, 2025
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
10 changes: 5 additions & 5 deletions .github/workflows/php-unit-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
# Checkout the repository
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# PHP setup
- name: Setup PHP ${{ matrix.php }}
Expand All @@ -37,22 +37,22 @@ jobs:

# Use node version from .nvmrc
- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

# Cache composer dependencies
- name: Cache composer dependencies
id: composer-cache
uses: actions/cache@v3
uses: actions/cache@v1
with:
path: ./vendor
key: ${{ runner.os }}-vendor-${{ hashFiles('composer.lock') }}

# Cache node dependencies
- name: Cache node dependencies
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
Expand All @@ -76,7 +76,7 @@ jobs:
# Prepare test environment
- name: Prepare test environment
run: |
bash tests/bin/install-phpunit-tests-dependencies.sh wc_apa_test root root 127.0.0.1 latest
bash tests/bin/install-phpunit-tests-dependencies.sh wc_apa_test root root 127.0.0.1 latest ${{ matrix.php }}

# Run tests
- name: Run tests
Expand Down
10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
*** Amazon Pay Changelog ***

= 2.5.4 - 2025-xx-xx =

* Fix - Error when using a non Standard decimal amount for a currency.
* Fix - Error when phone number was required in Checkout Blocks.
* Fix - Deprecated PHP constants and functions.
* Fix - Pull the Privacy Policy URL from WordPress settings.
* Update - Amazon Pay SDK to v2.6.7.
* Dev - Bumped tested up to WordPress v6.8.
* Dev - Bumped tested up to WooCommerce v9.7.1.

= 2.5.3 - 2024-09-24 =

* Fix - Add onboarding text and link
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"wp-cli/wp-cli-bundle": "*"
},
"require": {
"amzn/amazon-pay-api-sdk-php": "2.6.2",
"amzn/amazon-pay-api-sdk-php": "2.6.7",
"php": "7.*"
}
}
Loading
Loading