Skip to content

Commit

Permalink
Merge branch 'develop' into fix/9447-validate-required-fields-using-o…
Browse files Browse the repository at this point in the history
…bjects
  • Loading branch information
frosso authored Nov 14, 2024
2 parents 3955748 + f7ef37d commit 8f273ef
Show file tree
Hide file tree
Showing 69 changed files with 152 additions and 255 deletions.
34 changes: 34 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
*** WooPayments Changelog ***

= 8.5.0 - 2024-11-13 =
* Add - Add country-specific test card numbers for credit card testing
* Add - Add risk level information to the fraud and risk box on the order details page.
* Add - Add support for allowedShippingCountries in Express Checkout Element.
* Fix - Avoid PHP warnings for requests with an empty path.
* Fix - BNPL methods now work properly in Pay for Order when they are available. Default values are also provided when available.
* Fix - fix: payment method icon alt text
* Fix - Fix compatibility issues with CustomSelectControl component styles for WordPress 6.7
* Fix - Fix duplicate saving of 3DS card entry after checkout
* Fix - Fixed single product page view tracks when BNPL and PRB payment methods are inactive.
* Fix - Fix PMME appearance in checkout
* Fix - Fix settings display on the advanced fraud protection page.
* Fix - Fix WooPay button preview in plugin settings.
* Fix - Fix WooPay duplicated Save my info section.
* Fix - Include missing scripts that handle refunds for non credit card payments in the order details page.
* Fix - Introducing consistency in colors for deposits across pages
* Fix - Prevent dead space on product pages when no BNPL offers are available.
* Fix - Provide backwards-compatible method for retrieving the multi-currency instance.
* Fix - Register Expresss Checkout block only when enabled in the settings
* Fix - Remove unnecessary '.woocommerce-table' css overrides to fix WC Analytics styling and a11y issues
* Fix - Use 'Withdrawal' and 'Deducted' labels when referring to withdrawal deposits, to more accurately communicate the type of transaction that has occurred
* Update - Add in-memory cache fallback for our database-cached objects in case of database write failures.
* Update - Decoupled Multi-currency module from gateway dependencies.
* Update - Improvements to events during onboarding flow.
* Update - Refactor loadStripe for Express Checkouts.
* Update - Rename 'deposit' to 'payout' across various places in the WooPayments admin UI, docs and doc URLs.
* Update - update: payment method "test mode" label at checkout to be displayed only when payment method is selected
* Update - update: show LPM payment method icon on order success page
* Update - Use preview versions of the actual ECE buttons in the Block editor.
* Update - When tracking is enabled, send a tracks event when the merchant is redirected to a Stripe Capital offer.
* Dev - Add Jest tests for the disputed order notices
* Dev - Add unit tests for the Capital Loans page component.
* Dev - Bump WC tested up to version to 9.4.0

= 8.4.0 - 2024-10-23 =
* Add - Add test mode badge to classic checkout and add payment method.
* Add - Using Floating Labels with Stripe Appearance API for Blocks Checkout
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/9550-fix-single-product-page-view-tracks

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-1225-flag-elevated-risk-transactions

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/add-9673-payouts-rename-notice

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-country-specific-test-cards

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/as-improve-stripe-for-ece

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/chore-affirm-remove-unused-multicurrency-import

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/dev-1-9601-rename-deposit-dev-docs

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-add-unit-tests-for-capital-list

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-add-unit-tests-for-diputed-order-notice

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-bump-wc-version-9.4

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-readd-tracking-event

This file was deleted.

4 changes: 4 additions & 0 deletions changelog/dev-update-pw-screenshots
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

Update snapshots for E2E Playwright screenshots
4 changes: 0 additions & 4 deletions changelog/feature-deposits-payouts-rename

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-7761-align-deposit-colors

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-7802-deposit-withdrawal-text-changes

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8254-bnpl-pay-for-order

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9456-bnpl-respect-limits-per-currency

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9520-advanced-fraud-protection-settings

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9525-menu-url-payouts-rename

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9527-payouts-rename-settings

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9537-woopay-button-size-preview

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9542-rename-payouts-instant-depost-modal-flow

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9572-woococommerce-table-specificity

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9573-rename-payout-tos-modal

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9585-rename-instant-payouts

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9588-rename-payouts-error-messages

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9636-custom-select-control-styling

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9654-remove-test-mode-subheader

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9661-avoid-php-warning

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-9676-multi-currency-autoload

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-backwards-compat-mccy-instance

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-e2e-test-8.5.0-release

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-express-checkout-block-registering

This file was deleted.

5 changes: 5 additions & 0 deletions changelog/fix-improve-woopay-test-coverage
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Minor improvements to automated tests around WooPay


4 changes: 0 additions & 4 deletions changelog/fix-omit-test-mode-badge-in-change-payment-form

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-payment-method-icon-alt-text

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-payout-rename-account-errors

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-pmme-appearance-checkout

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-saving-duplicate-3ds-cards

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-stripe-connect-breaks-underscore

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-woopay-duplicated-component

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/gh-actions-e2e-optimize-composer-cache

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/multi-currency-v2

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-9417-ece-in-block-editor

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-9524-deposit-payout-deposits-list

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-9578-79-rename-deposit-overview-modal

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-9581-rename-deposit-onboarding-tasklist

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-9587-doc-url-payout-rename

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-npm-readme-update-e2e-pw-snapshots

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-order-success-lpm-icon

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-payment-method-test-mode-label

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ describe( 'CheckoutPageSaveUser', () => {
'Securely save my information for 1-click checkout'
)
).not.toBeChecked();
expect(
screen.queryAllByLabelText(
'Securely save my information for 1-click checkout'
)
).toHaveLength( 1 );
} );

it( 'should not render checkbox for saving WooPay user when user is already registered', () => {
Expand All @@ -184,7 +189,7 @@ describe( 'CheckoutPageSaveUser', () => {
).not.toBeInTheDocument();
} );

it( 'should render checkbox for saving WooPay user when selected payment method is not card', () => {
it( 'should not render checkbox for saving WooPay user when selected payment method is not card', () => {
useSelectedPaymentMethod.mockImplementation( () => ( {
isWCPayChosen: false,
} ) );
Expand Down Expand Up @@ -235,6 +240,7 @@ describe( 'CheckoutPageSaveUser', () => {

expect( label ).toBeChecked();
expect( screen.queryByTestId( 'save-user-form' ) ).toBeInTheDocument();
expect( screen.getAllByTestId( 'save-user-form' ) ).toHaveLength( 1 );
} );

it( 'should not call `request` on classic checkout when checkbox is clicked', () => {
Expand Down
1 change: 1 addition & 0 deletions client/settings/express-checkout/woopay-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const WooPayExpressCheckoutItem = (): React.ReactElement => {
) }
checked={ isWooPayEnabled }
onChange={ updateIsWooPayEnabled }
data-testid="woopay-toggle"
/>
) }
</div>
Expand Down
Loading

0 comments on commit 8f273ef

Please sign in to comment.