From eb8ebfad984b710ce9ebc1ffae4e326cc6b5be2f Mon Sep 17 00:00:00 2001 From: Achyuth Ajoy Date: Thu, 28 Nov 2024 14:27:51 +0530 Subject: [PATCH 1/2] Update references to woocommerce_payments_server (#9824) (#9838) --- .github/workflows/e2e-pull-request.yml | 34 +++++++++++------------ .github/workflows/e2e-pw-pull-request.yml | 2 +- .github/workflows/e2e-test.yml | 32 ++++++++++----------- changelog/update-server-container-name | 5 ++++ tests/e2e/README.md | 12 ++++---- tests/e2e/env/down.sh | 2 +- tests/e2e/env/setup.sh | 10 +++---- tests/e2e/env/shared.sh | 4 +-- tests/e2e/env/up.sh | 2 +- 9 files changed, 54 insertions(+), 49 deletions(-) create mode 100644 changelog/update-server-container-name diff --git a/.github/workflows/e2e-pull-request.yml b/.github/workflows/e2e-pull-request.yml index aa4748b37d0..4ed61a3882b 100644 --- a/.github/workflows/e2e-pull-request.yml +++ b/.github/workflows/e2e-pull-request.yml @@ -18,23 +18,23 @@ on: description: "Branch to be used for running tests" env: - E2E_GH_TOKEN: ${{ secrets.E2E_GH_TOKEN }} - WCP_DEV_TOOLS_REPO: ${{ secrets.WCP_DEV_TOOLS_REPO }} - WCP_DEV_TOOLS_BRANCH: 'trunk' - WCP_SERVER_REPO: ${{ secrets.WCP_SERVER_REPO }} - WC_SUBSCRIPTIONS_REPO: ${{ secrets.WC_SUBSCRIPTIONS_REPO }} - E2E_BLOG_ID: ${{ secrets.E2E_BLOG_ID }} - E2E_BLOG_TOKEN: ${{ secrets.E2E_BLOG_TOKEN }} - E2E_USER_TOKEN: ${{ secrets.E2E_USER_TOKEN }} - WC_E2E_SCREENSHOTS: 1 - E2E_SLACK_CHANNEL: ${{ secrets.E2E_SLACK_CHANNEL }} - E2E_SLACK_TOKEN: ${{ secrets.E2E_SLACK_TOKEN }} - E2E_USE_LOCAL_SERVER: false - E2E_RESULT_FILEPATH: 'tests/e2e/results.json' - WCPAY_USE_BUILD_ARTIFACT: ${{ inputs.wcpay-use-build-artifact }} - WCPAY_ARTIFACT_DIRECTORY: 'zipfile' - NODE_ENV: 'test' - FORCE_E2E_DEPS_SETUP: true + E2E_GH_TOKEN: ${{ secrets.E2E_GH_TOKEN }} + WCP_DEV_TOOLS_REPO: ${{ secrets.WCP_DEV_TOOLS_REPO }} + WCP_DEV_TOOLS_BRANCH: 'trunk' + TRANSACT_PLATFORM_SERVER_REPO: ${{ secrets.TRANSACT_PLATFORM_SERVER_REPO }} + WC_SUBSCRIPTIONS_REPO: ${{ secrets.WC_SUBSCRIPTIONS_REPO }} + E2E_BLOG_ID: ${{ secrets.E2E_BLOG_ID }} + E2E_BLOG_TOKEN: ${{ secrets.E2E_BLOG_TOKEN }} + E2E_USER_TOKEN: ${{ secrets.E2E_USER_TOKEN }} + WC_E2E_SCREENSHOTS: 1 + E2E_SLACK_CHANNEL: ${{ secrets.E2E_SLACK_CHANNEL }} + E2E_SLACK_TOKEN: ${{ secrets.E2E_SLACK_TOKEN }} + E2E_USE_LOCAL_SERVER: false + E2E_RESULT_FILEPATH: 'tests/e2e/results.json' + WCPAY_USE_BUILD_ARTIFACT: ${{ inputs.wcpay-use-build-artifact }} + WCPAY_ARTIFACT_DIRECTORY: 'zipfile' + NODE_ENV: 'test' + FORCE_E2E_DEPS_SETUP: true concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/e2e-pw-pull-request.yml b/.github/workflows/e2e-pw-pull-request.yml index 0cc22f767c2..da6765fb51b 100644 --- a/.github/workflows/e2e-pw-pull-request.yml +++ b/.github/workflows/e2e-pw-pull-request.yml @@ -21,7 +21,7 @@ env: E2E_GH_TOKEN: ${{ secrets.E2E_GH_TOKEN }} WCP_DEV_TOOLS_REPO: ${{ secrets.WCP_DEV_TOOLS_REPO }} WCP_DEV_TOOLS_BRANCH: 'trunk' - WCP_SERVER_REPO: ${{ secrets.WCP_SERVER_REPO }} + TRANSACT_PLATFORM_SERVER_REPO: ${{ secrets.TRANSACT_PLATFORM_SERVER_REPO }} WC_SUBSCRIPTIONS_REPO: ${{ secrets.WC_SUBSCRIPTIONS_REPO }} E2E_BLOG_ID: ${{ secrets.E2E_BLOG_ID }} E2E_BLOG_TOKEN: ${{ secrets.E2E_BLOG_TOKEN }} diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 04e85183f3e..1d1f0b1bd71 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -10,22 +10,22 @@ on: workflow_dispatch: env: - E2E_GH_TOKEN: ${{ secrets.E2E_GH_TOKEN }} - WCP_DEV_TOOLS_REPO: ${{ secrets.WCP_DEV_TOOLS_REPO }} - WCP_DEV_TOOLS_BRANCH: 'trunk' - WCP_SERVER_REPO: ${{ secrets.WCP_SERVER_REPO }} - WC_SUBSCRIPTIONS_REPO: ${{ secrets.WC_SUBSCRIPTIONS_REPO }} - E2E_BLOG_ID: ${{ secrets.E2E_BLOG_ID }} - E2E_BLOG_TOKEN: ${{ secrets.E2E_BLOG_TOKEN }} - E2E_USER_TOKEN: ${{ secrets.E2E_USER_TOKEN }} - WC_E2E_SCREENSHOTS: 1 - E2E_SLACK_CHANNEL: ${{ secrets.E2E_SLACK_CHANNEL }} - E2E_SLACK_TOKEN: ${{ secrets.E2E_SLACK_TOKEN }} - E2E_USE_LOCAL_SERVER: false - E2E_RESULT_FILEPATH: 'tests/e2e/results.json' - WC_MIN_SUPPORTED_VERSION: '7.6.0' - NODE_ENV: 'test' - FORCE_E2E_DEPS_SETUP: true + E2E_GH_TOKEN: ${{ secrets.E2E_GH_TOKEN }} + WCP_DEV_TOOLS_REPO: ${{ secrets.WCP_DEV_TOOLS_REPO }} + WCP_DEV_TOOLS_BRANCH: 'trunk' + TRANSACT_PLATFORM_SERVER_REPO: ${{ secrets.TRANSACT_PLATFORM_SERVER_REPO }} + WC_SUBSCRIPTIONS_REPO: ${{ secrets.WC_SUBSCRIPTIONS_REPO }} + E2E_BLOG_ID: ${{ secrets.E2E_BLOG_ID }} + E2E_BLOG_TOKEN: ${{ secrets.E2E_BLOG_TOKEN }} + E2E_USER_TOKEN: ${{ secrets.E2E_USER_TOKEN }} + WC_E2E_SCREENSHOTS: 1 + E2E_SLACK_CHANNEL: ${{ secrets.E2E_SLACK_CHANNEL }} + E2E_SLACK_TOKEN: ${{ secrets.E2E_SLACK_TOKEN }} + E2E_USE_LOCAL_SERVER: false + E2E_RESULT_FILEPATH: 'tests/e2e/results.json' + WC_MIN_SUPPORTED_VERSION: '7.6.0' + NODE_ENV: 'test' + FORCE_E2E_DEPS_SETUP: true jobs: generate-matrix: diff --git a/changelog/update-server-container-name b/changelog/update-server-container-name new file mode 100644 index 00000000000..cb9580f8a22 --- /dev/null +++ b/changelog/update-server-container-name @@ -0,0 +1,5 @@ +Significance: patch +Type: dev +Comment: Updates server container name used by E2E tests + + diff --git a/tests/e2e/README.md b/tests/e2e/README.md index 35b5e5c5e5f..38ca21dbdbd 100644 --- a/tests/e2e/README.md +++ b/tests/e2e/README.md @@ -24,18 +24,18 @@ DEBUG=false ---
-Choose WCPay Server instance +Choose Transact Platform Server instance

-It is possible to use the live server or a local docker instance of WCPay server locally. On Github Actions, live server is used for tests. Add the following env variables to your `local.env` based on your preference (replace values as required). +It is possible to use the live server or a local docker instance of Transact Platform Server locally. On Github Actions, live server is used for tests. Add the following env variables to your `local.env` based on your preference (replace values as required). **Using Local Server on Docker** -By default, the local E2E environment is configured to use WCPay local server instance. Add the following env variables to configure the local server instance. +By default, the local E2E environment is configured to use Transact Platform local server instance. Add the following env variables to configure the local server instance. ``` -# WooCommerce Payments Server Repo -WCP_SERVER_REPO='https://github.com/server-repo.git or git@github.com:org/server-repo.git' +# Transact Platform Server Repo +TRANSACT_PLATFORM_SERVER_REPO='https://github.com/server-repo.git or git@github.com:org/server-repo.git' # Stripe account data. Need to support level 3 data to run tests successfully. # These values can be obtained from the Stripe Dashboard: https://dashboard.stripe.com/test/apikeys @@ -135,7 +135,7 @@ E2E_WC_VERSION='' - WC E2E Client: http://localhost:8084 - WC E2E Server: http://localhost:8088 (Available only when using local server) - **Note:** Be aware that the server port may change in the `docker-compose.e2e.yml` configuration, so when you can't access the server, try running `docker port woocommerce_payments_server_wordpress_e2e 80` to find out the bound port of the E2E server container. + **Note:** Be aware that the server port may change in the `docker-compose.e2e.yml` configuration, so when you can't access the server, try running `docker port transact_platform_server_wordpress_e2e 80` to find out the bound port of the E2E server container.

diff --git a/tests/e2e/env/down.sh b/tests/e2e/env/down.sh index 6dc112bef7f..ba3cc6f2503 100755 --- a/tests/e2e/env/down.sh +++ b/tests/e2e/env/down.sh @@ -13,7 +13,7 @@ docker compose -f $E2E_ROOT/env/docker-compose.yml down if [[ "$E2E_USE_LOCAL_SERVER" != false ]]; then step "Stopping server containers" - docker compose -f $E2E_ROOT/deps/wcp-server/docker-compose.yml down + docker compose -f $E2E_ROOT/deps/transact-platform-server/docker-compose.yml down fi # Remove auth credentials from the Playwright config. diff --git a/tests/e2e/env/setup.sh b/tests/e2e/env/setup.sh index 50d4313f235..d2aa3a50e89 100755 --- a/tests/e2e/env/setup.sh +++ b/tests/e2e/env/setup.sh @@ -33,19 +33,19 @@ if [[ $FORCE_E2E_DEPS_SETUP ]]; then sudo rm -rf tests/e2e/deps fi -# Setup WCPay local server instance. +# Setup Transact Platform local server instance. # Only if E2E_USE_LOCAL_SERVER is present & equals to true. if [[ "$E2E_USE_LOCAL_SERVER" != false ]]; then if [[ ! -d "$SERVER_PATH" ]]; then - step "Fetching server (branch ${WCP_SERVER_BRANCH-trunk})" + step "Fetching server (branch ${TRANSACT_PLATFORM_SERVER_BRANCH-trunk})" - if [[ -z $WCP_SERVER_REPO ]]; then - echo "WCP_SERVER_REPO env variable is not defined" + if [[ -z $TRANSACT_PLATFORM_SERVER_REPO ]]; then + echo "TRANSACT_PLATFORM_SERVER_REPO env variable is not defined" exit 1; fi rm -rf "$SERVER_PATH" - git clone --depth=1 --branch "${WCP_SERVER_BRANCH-trunk}" "$WCP_SERVER_REPO" "$SERVER_PATH" + git clone --depth=1 --branch "${TRANSACT_PLATFORM_SERVER_BRANCH-trunk}" "$TRANSACT_PLATFORM_SERVER_REPO" "$SERVER_PATH" else echo "Using cached server at ${SERVER_PATH}" fi diff --git a/tests/e2e/env/shared.sh b/tests/e2e/env/shared.sh index 042eb3d615a..39ac4fdd760 100644 --- a/tests/e2e/env/shared.sh +++ b/tests/e2e/env/shared.sh @@ -5,8 +5,8 @@ cwd=$(pwd) export WCP_ROOT=$cwd export E2E_ROOT="$cwd/tests/e2e" export WP_URL="localhost:8084" -export SERVER_PATH="$E2E_ROOT/deps/wcp-server" -export SERVER_CONTAINER="woocommerce_payments_server_wordpress_e2e" +export SERVER_PATH="$E2E_ROOT/deps/transact-platform-server" +export SERVER_CONTAINER="transact_platform_server_wordpress_e2e" export DEV_TOOLS_DIR="wcp-dev-tools" export DEV_TOOLS_PATH="$E2E_ROOT/deps/$DEV_TOOLS_DIR" export CLIENT_CONTAINER="wcp_e2e_wordpress" diff --git a/tests/e2e/env/up.sh b/tests/e2e/env/up.sh index 1a5998b9047..80696a67579 100755 --- a/tests/e2e/env/up.sh +++ b/tests/e2e/env/up.sh @@ -13,5 +13,5 @@ docker compose -f "$E2E_ROOT/env/docker-compose.yml" up -d if [[ "$E2E_USE_LOCAL_SERVER" != false ]]; then step "Starting server containers" - docker compose -f "$E2E_ROOT/deps/wcp-server/docker-compose.yml" up -d + docker compose -f "$E2E_ROOT/deps/transact-platform-server/docker-compose.yml" up -d fi From 1c5e5bf2c50399cb63cafb96ce88de13d9c8c3de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 12:10:36 +0000 Subject: [PATCH 2/2] Update version and add changelog entries for release 8.6.0 --- changelog.txt | 33 +++++++++++++++++ changelog/8897-add-card-brands-order-received | 4 --- changelog/add-5316-payout-trace-id | 4 --- .../add-9556-set-support-phone-mandatory | 4 --- changelog/add-ipp-missing-failure-webhooks | 4 --- .../as-fix-ece-tax-based-billing-address | 4 --- ...ss-checkout-ece-for-tokenized-feature-flag | 5 --- changelog/chore-ece-php-tests-location | 5 --- changelog/chore-ece-states-class-constants | 5 --- ...t-request-to-express-checkout-wrapper-name | 4 --- .../chore-port-ece-changes-into-tokenized-ece | 5 --- ...re-remove-arguments-passed-to-ece-handlers | 5 --- ...hore-remove-redundant-init-for-payfororder | 4 --- ...rename-tokenized-prb-flag-to-tokenized-ece | 5 --- changelog/chore-withBlockOverride-arguments | 5 --- .../dev-4293-address-additional-union-types | 4 --- ...ctions-get_order_from_event_body_intent_id | 4 --- ...direct-to-settings-page-from-wcpay-connect | 4 --- .../dev-disable-flaky-visual-regression-tests | 4 --- changelog/dev-update-pw-screenshots | 4 --- .../feat-add-gateway-label-filter-override | 4 --- ...4-documents-list-view-table-download-label | 4 --- changelog/fix-7399 | 5 --- ...alignment-issue-with-link-logo-in-settings | 4 --- ...447-validate-required-fields-using-objects | 4 --- ...ible-for-zero-amount-after-coupon-discount | 4 --- .../fix-9700-payout-spotlight-illustration | 5 --- changelog/fix-9703-klarna-inquiries | 4 --- changelog/fix-9709-load-stripe-asynchronously | 4 --- ...x-9749-limit-stripe-link-to-checkout-forms | 5 --- changelog/fix-9784-ece-tracks-events | 4 --- .../fix-9795-debounce-of-ece-load-events | 4 --- .../fix-deprecated-message-on-empty-pmme | 4 --- changelog/fix-dev-constructor-descriptions | 5 --- changelog/fix-express-checkout-css-file | 4 --- changelog/fix-improve-woopay-test-coverage | 5 --- changelog/fix-manual-capture-status | 4 --- changelog/fix-missing-ece-checks | 4 --- changelog/fix-no-bnpl-subscriptions | 5 --- changelog/fix-pmme-appearance-blocks | 4 --- ...emove-shortcode-test-mode-badge-from-label | 4 --- ...hortcode-checkout-update-and-ece-container | 5 --- ...okenized-express-checkout-relative-imports | 5 --- changelog/fix-woopay-component-spacing | 4 --- .../fix-woopay-direct-checkout-docblock-name | 5 --- changelog/fix-woopay-trial-subscriptions | 4 --- changelog/gh-update-actions-to-v4 | 5 --- changelog/poc-prbs-cleanup | 4 --- ...efactor-express-checkout-button-ui-utility | 4 --- ...ress-checkout-initialization-page-location | 4 --- ...refactor-tokenized-ece-base-implementation | 5 --- changelog/update-9600-readme | 5 --- changelog/update-phpcompatibility-latest | 5 --- changelog/update-server-container-name | 5 --- package-lock.json | 4 +-- package.json | 2 +- readme.txt | 35 ++++++++++++++++++- woocommerce-payments.php | 2 +- 58 files changed, 71 insertions(+), 238 deletions(-) delete mode 100644 changelog/8897-add-card-brands-order-received delete mode 100644 changelog/add-5316-payout-trace-id delete mode 100644 changelog/add-9556-set-support-phone-mandatory delete mode 100644 changelog/add-ipp-missing-failure-webhooks delete mode 100644 changelog/as-fix-ece-tax-based-billing-address delete mode 100644 changelog/chore-copy-of-express-checkout-ece-for-tokenized-feature-flag delete mode 100644 changelog/chore-ece-php-tests-location delete mode 100644 changelog/chore-ece-states-class-constants delete mode 100644 changelog/chore-payment-request-to-express-checkout-wrapper-name delete mode 100644 changelog/chore-port-ece-changes-into-tokenized-ece delete mode 100644 changelog/chore-remove-arguments-passed-to-ece-handlers delete mode 100644 changelog/chore-remove-redundant-init-for-payfororder delete mode 100644 changelog/chore-rename-tokenized-prb-flag-to-tokenized-ece delete mode 100644 changelog/chore-withBlockOverride-arguments delete mode 100644 changelog/dev-4293-address-additional-union-types delete mode 100644 changelog/dev-4293-enforce-proper-return-types-for-methodsfunctions-get_order_from_event_body_intent_id delete mode 100644 changelog/dev-allow-redirect-to-settings-page-from-wcpay-connect delete mode 100644 changelog/dev-disable-flaky-visual-regression-tests delete mode 100644 changelog/dev-update-pw-screenshots delete mode 100644 changelog/feat-add-gateway-label-filter-override delete mode 100644 changelog/fix-7014-documents-list-view-table-download-label delete mode 100644 changelog/fix-7399 delete mode 100644 changelog/fix-9304-fix-alignment-issue-with-link-logo-in-settings delete mode 100644 changelog/fix-9447-validate-required-fields-using-objects delete mode 100644 changelog/fix-9687-express-checkout-visible-for-zero-amount-after-coupon-discount delete mode 100644 changelog/fix-9700-payout-spotlight-illustration delete mode 100644 changelog/fix-9703-klarna-inquiries delete mode 100644 changelog/fix-9709-load-stripe-asynchronously delete mode 100644 changelog/fix-9749-limit-stripe-link-to-checkout-forms delete mode 100644 changelog/fix-9784-ece-tracks-events delete mode 100644 changelog/fix-9795-debounce-of-ece-load-events delete mode 100644 changelog/fix-deprecated-message-on-empty-pmme delete mode 100644 changelog/fix-dev-constructor-descriptions delete mode 100644 changelog/fix-express-checkout-css-file delete mode 100644 changelog/fix-improve-woopay-test-coverage delete mode 100644 changelog/fix-manual-capture-status delete mode 100644 changelog/fix-missing-ece-checks delete mode 100644 changelog/fix-no-bnpl-subscriptions delete mode 100644 changelog/fix-pmme-appearance-blocks delete mode 100644 changelog/fix-remove-shortcode-test-mode-badge-from-label delete mode 100644 changelog/fix-shortcode-checkout-update-and-ece-container delete mode 100644 changelog/fix-tokenized-express-checkout-relative-imports delete mode 100644 changelog/fix-woopay-component-spacing delete mode 100644 changelog/fix-woopay-direct-checkout-docblock-name delete mode 100644 changelog/fix-woopay-trial-subscriptions delete mode 100644 changelog/gh-update-actions-to-v4 delete mode 100644 changelog/poc-prbs-cleanup delete mode 100644 changelog/refactor-express-checkout-button-ui-utility delete mode 100644 changelog/refactor-express-checkout-initialization-page-location delete mode 100644 changelog/refactor-tokenized-ece-base-implementation delete mode 100644 changelog/update-9600-readme delete mode 100644 changelog/update-phpcompatibility-latest delete mode 100644 changelog/update-server-container-name diff --git a/changelog.txt b/changelog.txt index d97e8e7ba85..969e9401b6c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,38 @@ *** WooPayments Changelog *** += 8.6.0 - 2024-12-04 = +* Add - Add Bank reference key column in Payout reports. This will help reconcile WooPayments Payouts with bank statements. +* Add - Display credit card brand icons on order received page. +* Fix - Add support to load stripe js asynchronously when it is not immediately available in the global scope. +* Fix - Add the missing "Download" column heading label and toggle menu option to the Payments → Documents list view table. +* Fix - Ensure ECE button load events are triggered for multiple buttons on the same page. +* Fix - Ensure ECE is displayed correctly taking into account the tax settings. +* Fix - Evidence submission is no longer available for Klarna inquiries as this is not supported by Stripe / Klarna. +* Fix - fix: express checkout to use its own css files. +* Fix - fix: missing ece is_product_page checks +* Fix - Fix ECE Tracks events not triggering when WooPay is disabled. +* Fix - Fix WooPay component spacing. +* Fix - Fix WooPay trial subscriptions purchases. +* Fix - Make sure the status of manual capture enablement is fetched from the right place. +* Fix - Prevent express checkout from being used if cart total becomes zero after coupon usage. +* Fix - Resolved issue with terminal payments in the payment intent failed webhook processing. +* Fix - Set the support phone field as mandatory in the settings page. +* Fix - Update Link logo alignment issue when WooPay is enabled and a specific version of Gutenberg is enabled. +* Fix - Use paragraph selector instead of label for pmme appearance +* Fix - Validate required billing fields using data from objects instead of checking the labels. +* Update - Avoid getting the appearance for pay for order page with the wrong appearance key. +* Update - chore: rename wrapper from payment-request to express-checkout +* Update - feat: add `wcpay_checkout_use_plain_method_label` filter to allow themes or merchants to force the "plain" WooPayments label on shortcode checkout. +* Update - refactor: express checkout initialization page location checks +* Update - refactor: express checkout utility for button UI interactions +* Dev - Allow redirect to the settings page from WCPay connect +* Dev - chore: removed old PRB implementation for ApplePay/GooglePay in favor of the ECE implementation; cleaned up ECE feature flag; +* Dev - Disable visual regression testing from Playwright until a more reliable approach is defined. +* Dev - Ensure proper return types in the webhook processing service. +* Dev - fix: E_DEPRECATED on BNPL empty PMME +* Dev - Fix return types +* Dev - Update snapshots for E2E Playwright screenshots + = 8.5.1 - 2024-11-25 = * Fix - fix: remove "test mode" badge from shortcode checkout. diff --git a/changelog/8897-add-card-brands-order-received b/changelog/8897-add-card-brands-order-received deleted file mode 100644 index 3ce97c272d4..00000000000 --- a/changelog/8897-add-card-brands-order-received +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: add - -Display credit card brand icons on order received page. diff --git a/changelog/add-5316-payout-trace-id b/changelog/add-5316-payout-trace-id deleted file mode 100644 index a5e90413a86..00000000000 --- a/changelog/add-5316-payout-trace-id +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: add - -Add Bank reference key column in Payout reports. This will help reconcile WooPayments Payouts with bank statements. diff --git a/changelog/add-9556-set-support-phone-mandatory b/changelog/add-9556-set-support-phone-mandatory deleted file mode 100644 index e777eaae4a6..00000000000 --- a/changelog/add-9556-set-support-phone-mandatory +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fix - -Set the support phone field as mandatory in the settings page. diff --git a/changelog/add-ipp-missing-failure-webhooks b/changelog/add-ipp-missing-failure-webhooks deleted file mode 100644 index 1266fa1813e..00000000000 --- a/changelog/add-ipp-missing-failure-webhooks +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Resolved issue with terminal payments in the payment intent failed webhook processing. diff --git a/changelog/as-fix-ece-tax-based-billing-address b/changelog/as-fix-ece-tax-based-billing-address deleted file mode 100644 index ab6fc7be8fd..00000000000 --- a/changelog/as-fix-ece-tax-based-billing-address +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Ensure ECE is displayed correctly taking into account the tax settings. \ No newline at end of file diff --git a/changelog/chore-copy-of-express-checkout-ece-for-tokenized-feature-flag b/changelog/chore-copy-of-express-checkout-ece-for-tokenized-feature-flag deleted file mode 100644 index 4bfc3e883ad..00000000000 --- a/changelog/chore-copy-of-express-checkout-ece-for-tokenized-feature-flag +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: add -Comment: chore: create copy of ECE for tokenized cart feature flag - - diff --git a/changelog/chore-ece-php-tests-location b/changelog/chore-ece-php-tests-location deleted file mode 100644 index fd97ca1faea..00000000000 --- a/changelog/chore-ece-php-tests-location +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: ECE phpunit test location - - diff --git a/changelog/chore-ece-states-class-constants b/changelog/chore-ece-states-class-constants deleted file mode 100644 index 5ff6dfd3ab8..00000000000 --- a/changelog/chore-ece-states-class-constants +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: rename Payment_Request_Button_States to Express_Checkout_Element_States to reflect its usage - - diff --git a/changelog/chore-payment-request-to-express-checkout-wrapper-name b/changelog/chore-payment-request-to-express-checkout-wrapper-name deleted file mode 100644 index a8471227c9c..00000000000 --- a/changelog/chore-payment-request-to-express-checkout-wrapper-name +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: update - -chore: rename wrapper from payment-request to express-checkout diff --git a/changelog/chore-port-ece-changes-into-tokenized-ece b/changelog/chore-port-ece-changes-into-tokenized-ece deleted file mode 100644 index 4c5111f66ea..00000000000 --- a/changelog/chore-port-ece-changes-into-tokenized-ece +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: port ece changes into tokenized ece - - diff --git a/changelog/chore-remove-arguments-passed-to-ece-handlers b/changelog/chore-remove-arguments-passed-to-ece-handlers deleted file mode 100644 index c6b00b8c1f2..00000000000 --- a/changelog/chore-remove-arguments-passed-to-ece-handlers +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: remove arguments passed to ece handlers - - diff --git a/changelog/chore-remove-redundant-init-for-payfororder b/changelog/chore-remove-redundant-init-for-payfororder deleted file mode 100644 index 3ca1a909911..00000000000 --- a/changelog/chore-remove-redundant-init-for-payfororder +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: update - -Avoid getting the appearance for pay for order page with the wrong appearance key. diff --git a/changelog/chore-rename-tokenized-prb-flag-to-tokenized-ece b/changelog/chore-rename-tokenized-prb-flag-to-tokenized-ece deleted file mode 100644 index 23c24d8cf37..00000000000 --- a/changelog/chore-rename-tokenized-prb-flag-to-tokenized-ece +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: rename tokenized prb flag to ece - - diff --git a/changelog/chore-withBlockOverride-arguments b/changelog/chore-withBlockOverride-arguments deleted file mode 100644 index c883719eaf3..00000000000 --- a/changelog/chore-withBlockOverride-arguments +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: remove argument passed to withBlockOverride function, since function doesn't accept arguments - - diff --git a/changelog/dev-4293-address-additional-union-types b/changelog/dev-4293-address-additional-union-types deleted file mode 100644 index 361b062f85f..00000000000 --- a/changelog/dev-4293-address-additional-union-types +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -Fix return types diff --git a/changelog/dev-4293-enforce-proper-return-types-for-methodsfunctions-get_order_from_event_body_intent_id b/changelog/dev-4293-enforce-proper-return-types-for-methodsfunctions-get_order_from_event_body_intent_id deleted file mode 100644 index c31e1d66df8..00000000000 --- a/changelog/dev-4293-enforce-proper-return-types-for-methodsfunctions-get_order_from_event_body_intent_id +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -Ensure proper return types in the webhook processing service. diff --git a/changelog/dev-allow-redirect-to-settings-page-from-wcpay-connect b/changelog/dev-allow-redirect-to-settings-page-from-wcpay-connect deleted file mode 100644 index 3fca0c1ff3e..00000000000 --- a/changelog/dev-allow-redirect-to-settings-page-from-wcpay-connect +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -Allow redirect to the settings page from WCPay connect diff --git a/changelog/dev-disable-flaky-visual-regression-tests b/changelog/dev-disable-flaky-visual-regression-tests deleted file mode 100644 index e0d0a6b01cf..00000000000 --- a/changelog/dev-disable-flaky-visual-regression-tests +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -Disable visual regression testing from Playwright until a more reliable approach is defined. diff --git a/changelog/dev-update-pw-screenshots b/changelog/dev-update-pw-screenshots deleted file mode 100644 index 39936926058..00000000000 --- a/changelog/dev-update-pw-screenshots +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -Update snapshots for E2E Playwright screenshots diff --git a/changelog/feat-add-gateway-label-filter-override b/changelog/feat-add-gateway-label-filter-override deleted file mode 100644 index b101f2ea70a..00000000000 --- a/changelog/feat-add-gateway-label-filter-override +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: update - -feat: add `wcpay_checkout_use_plain_method_label` filter to allow themes or merchants to force the "plain" WooPayments label on shortcode checkout. diff --git a/changelog/fix-7014-documents-list-view-table-download-label b/changelog/fix-7014-documents-list-view-table-download-label deleted file mode 100644 index 1002fb6c5a1..00000000000 --- a/changelog/fix-7014-documents-list-view-table-download-label +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Add the missing "Download" column heading label and toggle menu option to the Payments → Documents list view table. diff --git a/changelog/fix-7399 b/changelog/fix-7399 deleted file mode 100644 index 91b8aed706d..00000000000 --- a/changelog/fix-7399 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: Ensure dispute urls in order notes are urlencoded - - diff --git a/changelog/fix-9304-fix-alignment-issue-with-link-logo-in-settings b/changelog/fix-9304-fix-alignment-issue-with-link-logo-in-settings deleted file mode 100644 index 031e0b94a55..00000000000 --- a/changelog/fix-9304-fix-alignment-issue-with-link-logo-in-settings +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Update Link logo alignment issue when WooPay is enabled and a specific version of Gutenberg is enabled. diff --git a/changelog/fix-9447-validate-required-fields-using-objects b/changelog/fix-9447-validate-required-fields-using-objects deleted file mode 100644 index 76fa8322c51..00000000000 --- a/changelog/fix-9447-validate-required-fields-using-objects +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fix - -Validate required billing fields using data from objects instead of checking the labels. diff --git a/changelog/fix-9687-express-checkout-visible-for-zero-amount-after-coupon-discount b/changelog/fix-9687-express-checkout-visible-for-zero-amount-after-coupon-discount deleted file mode 100644 index 0c9d54bcee1..00000000000 --- a/changelog/fix-9687-express-checkout-visible-for-zero-amount-after-coupon-discount +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Prevent express checkout from being used if cart total becomes zero after coupon usage. diff --git a/changelog/fix-9700-payout-spotlight-illustration b/changelog/fix-9700-payout-spotlight-illustration deleted file mode 100644 index 6d218d3dd98..00000000000 --- a/changelog/fix-9700-payout-spotlight-illustration +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fix -Comment: Update the spotlight notice illustration for 'deposit' to 'payout' rename announcement. - - diff --git a/changelog/fix-9703-klarna-inquiries b/changelog/fix-9703-klarna-inquiries deleted file mode 100644 index 3fc2f0eab8f..00000000000 --- a/changelog/fix-9703-klarna-inquiries +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fix - -Evidence submission is no longer available for Klarna inquiries as this is not supported by Stripe / Klarna. diff --git a/changelog/fix-9709-load-stripe-asynchronously b/changelog/fix-9709-load-stripe-asynchronously deleted file mode 100644 index 0e95dac6d8d..00000000000 --- a/changelog/fix-9709-load-stripe-asynchronously +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fix - -Add support to load stripe js asynchronously when it is not immediately available in the global scope. diff --git a/changelog/fix-9749-limit-stripe-link-to-checkout-forms b/changelog/fix-9749-limit-stripe-link-to-checkout-forms deleted file mode 100644 index 8e3e07454ca..00000000000 --- a/changelog/fix-9749-limit-stripe-link-to-checkout-forms +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fix -Comment: Small fix for My Account billing address form. - - diff --git a/changelog/fix-9784-ece-tracks-events b/changelog/fix-9784-ece-tracks-events deleted file mode 100644 index 4c9ab158fa3..00000000000 --- a/changelog/fix-9784-ece-tracks-events +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Fix ECE Tracks events not triggering when WooPay is disabled. diff --git a/changelog/fix-9795-debounce-of-ece-load-events b/changelog/fix-9795-debounce-of-ece-load-events deleted file mode 100644 index f3d98c66136..00000000000 --- a/changelog/fix-9795-debounce-of-ece-load-events +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Ensure ECE button load events are triggered for multiple buttons on the same page. diff --git a/changelog/fix-deprecated-message-on-empty-pmme b/changelog/fix-deprecated-message-on-empty-pmme deleted file mode 100644 index ffaee24b5d1..00000000000 --- a/changelog/fix-deprecated-message-on-empty-pmme +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -fix: E_DEPRECATED on BNPL empty PMME diff --git a/changelog/fix-dev-constructor-descriptions b/changelog/fix-dev-constructor-descriptions deleted file mode 100644 index 8584e8764fb..00000000000 --- a/changelog/fix-dev-constructor-descriptions +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: chore: updated BNPL constructor descriptions. - - diff --git a/changelog/fix-express-checkout-css-file b/changelog/fix-express-checkout-css-file deleted file mode 100644 index cdb58fccc5d..00000000000 --- a/changelog/fix-express-checkout-css-file +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -fix: express checkout to use its own css files. diff --git a/changelog/fix-improve-woopay-test-coverage b/changelog/fix-improve-woopay-test-coverage deleted file mode 100644 index 001374c440a..00000000000 --- a/changelog/fix-improve-woopay-test-coverage +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: Minor improvements to automated tests around WooPay - - diff --git a/changelog/fix-manual-capture-status b/changelog/fix-manual-capture-status deleted file mode 100644 index 57d0ee62181..00000000000 --- a/changelog/fix-manual-capture-status +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fix - -Make sure the status of manual capture enablement is fetched from the right place. diff --git a/changelog/fix-missing-ece-checks b/changelog/fix-missing-ece-checks deleted file mode 100644 index 449759f0e3e..00000000000 --- a/changelog/fix-missing-ece-checks +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -fix: missing ece is_product_page checks diff --git a/changelog/fix-no-bnpl-subscriptions b/changelog/fix-no-bnpl-subscriptions deleted file mode 100644 index 7c9035f8736..00000000000 --- a/changelog/fix-no-bnpl-subscriptions +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fix -Comment: Small fix for BNPL messaging element. - - diff --git a/changelog/fix-pmme-appearance-blocks b/changelog/fix-pmme-appearance-blocks deleted file mode 100644 index bfde3b89bdd..00000000000 --- a/changelog/fix-pmme-appearance-blocks +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Use paragraph selector instead of label for pmme appearance diff --git a/changelog/fix-remove-shortcode-test-mode-badge-from-label b/changelog/fix-remove-shortcode-test-mode-badge-from-label deleted file mode 100644 index 80d0813d077..00000000000 --- a/changelog/fix-remove-shortcode-test-mode-badge-from-label +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -fix: remove "test mode" badge from shortcode checkout. diff --git a/changelog/fix-shortcode-checkout-update-and-ece-container b/changelog/fix-shortcode-checkout-update-and-ece-container deleted file mode 100644 index 18688ee5ff2..00000000000 --- a/changelog/fix-shortcode-checkout-update-and-ece-container +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fix -Comment: fix: ECE container retrieval on shortcode checkout - - diff --git a/changelog/fix-tokenized-express-checkout-relative-imports b/changelog/fix-tokenized-express-checkout-relative-imports deleted file mode 100644 index 7fcb20cc18b..00000000000 --- a/changelog/fix-tokenized-express-checkout-relative-imports +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: update -Comment: fix: tokenized ECE referring to non-tokenized ECE imports - - diff --git a/changelog/fix-woopay-component-spacing b/changelog/fix-woopay-component-spacing deleted file mode 100644 index 0939c834ad9..00000000000 --- a/changelog/fix-woopay-component-spacing +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Fix WooPay component spacing. diff --git a/changelog/fix-woopay-direct-checkout-docblock-name b/changelog/fix-woopay-direct-checkout-docblock-name deleted file mode 100644 index 21abc2cc948..00000000000 --- a/changelog/fix-woopay-direct-checkout-docblock-name +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fix -Comment: chore: fix WooPay direct checkout docblock name - - diff --git a/changelog/fix-woopay-trial-subscriptions b/changelog/fix-woopay-trial-subscriptions deleted file mode 100644 index 58c43b05c16..00000000000 --- a/changelog/fix-woopay-trial-subscriptions +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fix - -Fix WooPay trial subscriptions purchases. diff --git a/changelog/gh-update-actions-to-v4 b/changelog/gh-update-actions-to-v4 deleted file mode 100644 index 0d36b3253d1..00000000000 --- a/changelog/gh-update-actions-to-v4 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: Update upload-artifact action to v4 - - diff --git a/changelog/poc-prbs-cleanup b/changelog/poc-prbs-cleanup deleted file mode 100644 index cfe35432cb2..00000000000 --- a/changelog/poc-prbs-cleanup +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: dev - -chore: removed old PRB implementation for ApplePay/GooglePay in favor of the ECE implementation; cleaned up ECE feature flag; diff --git a/changelog/refactor-express-checkout-button-ui-utility b/changelog/refactor-express-checkout-button-ui-utility deleted file mode 100644 index 0949520923a..00000000000 --- a/changelog/refactor-express-checkout-button-ui-utility +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: update - -refactor: express checkout utility for button UI interactions diff --git a/changelog/refactor-express-checkout-initialization-page-location b/changelog/refactor-express-checkout-initialization-page-location deleted file mode 100644 index d6ac255d267..00000000000 --- a/changelog/refactor-express-checkout-initialization-page-location +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: update - -refactor: express checkout initialization page location checks diff --git a/changelog/refactor-tokenized-ece-base-implementation b/changelog/refactor-tokenized-ece-base-implementation deleted file mode 100644 index 8402a60a94f..00000000000 --- a/changelog/refactor-tokenized-ece-base-implementation +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: update -Comment: feat: tokenized cart ECE shortcode base implementation. - - diff --git a/changelog/update-9600-readme b/changelog/update-9600-readme deleted file mode 100644 index 3ed38a44816..00000000000 --- a/changelog/update-9600-readme +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: update -Comment: No need changelog entry for this change as there has been one that encapsulate all the payout rename changes. - - diff --git a/changelog/update-phpcompatibility-latest b/changelog/update-phpcompatibility-latest deleted file mode 100644 index 5765c8249d8..00000000000 --- a/changelog/update-phpcompatibility-latest +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: Update phpcompatibility to develop version to get sniffs for PHP 8. No need to include it in the changelog since it is a dev task that doesn't impact WooPayments. - - diff --git a/changelog/update-server-container-name b/changelog/update-server-container-name deleted file mode 100644 index cb9580f8a22..00000000000 --- a/changelog/update-server-container-name +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: dev -Comment: Updates server container name used by E2E tests - - diff --git a/package-lock.json b/package-lock.json index 83cd7a25f41..4d8d73b8e87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "woocommerce-payments", - "version": "8.5.1", + "version": "8.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "woocommerce-payments", - "version": "8.5.1", + "version": "8.6.0", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 23844afd780..4fa803a245c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "woocommerce-payments", - "version": "8.5.1", + "version": "8.6.0", "main": "webpack.config.js", "author": "Automattic", "license": "GPL-3.0-or-later", diff --git a/readme.txt b/readme.txt index bbe3e783642..d67f01c3951 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: woocommerce payments, apple pay, credit card, google pay, payment, payment Requires at least: 6.0 Tested up to: 6.7 Requires PHP: 7.3 -Stable tag: 8.5.1 +Stable tag: 8.6.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -94,6 +94,39 @@ Please note that our support for the checkout block is still experimental and th == Changelog == += 8.6.0 - 2024-12-04 = +* Add - Add Bank reference key column in Payout reports. This will help reconcile WooPayments Payouts with bank statements. +* Add - Display credit card brand icons on order received page. +* Fix - Add support to load stripe js asynchronously when it is not immediately available in the global scope. +* Fix - Add the missing "Download" column heading label and toggle menu option to the Payments → Documents list view table. +* Fix - Ensure ECE button load events are triggered for multiple buttons on the same page. +* Fix - Ensure ECE is displayed correctly taking into account the tax settings. +* Fix - Evidence submission is no longer available for Klarna inquiries as this is not supported by Stripe / Klarna. +* Fix - fix: express checkout to use its own css files. +* Fix - fix: missing ece is_product_page checks +* Fix - Fix ECE Tracks events not triggering when WooPay is disabled. +* Fix - Fix WooPay component spacing. +* Fix - Fix WooPay trial subscriptions purchases. +* Fix - Make sure the status of manual capture enablement is fetched from the right place. +* Fix - Prevent express checkout from being used if cart total becomes zero after coupon usage. +* Fix - Resolved issue with terminal payments in the payment intent failed webhook processing. +* Fix - Set the support phone field as mandatory in the settings page. +* Fix - Update Link logo alignment issue when WooPay is enabled and a specific version of Gutenberg is enabled. +* Fix - Use paragraph selector instead of label for pmme appearance +* Fix - Validate required billing fields using data from objects instead of checking the labels. +* Update - Avoid getting the appearance for pay for order page with the wrong appearance key. +* Update - chore: rename wrapper from payment-request to express-checkout +* Update - feat: add `wcpay_checkout_use_plain_method_label` filter to allow themes or merchants to force the "plain" WooPayments label on shortcode checkout. +* Update - refactor: express checkout initialization page location checks +* Update - refactor: express checkout utility for button UI interactions +* Dev - Allow redirect to the settings page from WCPay connect +* Dev - chore: removed old PRB implementation for ApplePay/GooglePay in favor of the ECE implementation; cleaned up ECE feature flag; +* Dev - Disable visual regression testing from Playwright until a more reliable approach is defined. +* Dev - Ensure proper return types in the webhook processing service. +* Dev - fix: E_DEPRECATED on BNPL empty PMME +* Dev - Fix return types +* Dev - Update snapshots for E2E Playwright screenshots + = 8.5.1 - 2024-11-25 = * Fix - fix: remove "test mode" badge from shortcode checkout. diff --git a/woocommerce-payments.php b/woocommerce-payments.php index dcd04641ef6..19012d26053 100644 --- a/woocommerce-payments.php +++ b/woocommerce-payments.php @@ -11,7 +11,7 @@ * WC tested up to: 9.4.0 * Requires at least: 6.0 * Requires PHP: 7.3 - * Version: 8.5.1 + * Version: 8.6.0 * Requires Plugins: woocommerce * * @package WooCommerce\Payments