Skip to content

Commit

Permalink
Merge branch 'develop' into add/8808-woo-payment-method-logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mordeth authored Jul 12, 2024
2 parents 9fe143d + ba3b7f7 commit 65aa3cd
Show file tree
Hide file tree
Showing 66 changed files with 499 additions and 355 deletions.
37 changes: 37 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
*** WooPayments Changelog ***

= 7.9.1 - 2024-07-11 =
* Fix - Fix Documents API regex to allow documents with dashes in name to be viewed.

= 7.9.0 - 2024-07-10 =
* Add - Add a separate transient to save UPE appearance styles for the Add Payment Method standalone page. Correct regression that prevented proper styles calculation in the shortcode checkout.
* Add - Add Pay for Order support in Express Checkout Elements.
* Add - Add support for configuring button radius when ECE is enabled
* Add - Add support for ECE elements on the Shortcode Cart and Checkout pages
* Add - Add support for the Express Checkout Element on product pages.
* Add - Add telemetry events from PRBs into ECE.
* Add - Ensure shoppers can still checkout, even when WooPay is slow or unavailable.
* Add - feat: tokenized cart PRBs on shortcode cart and checkout behind feature flag.
* Add - Support style settings for ECE buttons
* Fix - Clearly display available instant deposit amount on notice and button label on Payment Overview page
* Fix - Disable Stripe Link in ECE.
* Fix - Disable WooPay for suspended and rejected accounts.
* Fix - Display an invalid address error instead of generic one in the checkout form when Afterpay is selected as payment method
* Fix - Display payment error message in the Payment context with Blocks.
* Fix - fix: display refund amount w/ tokenized cart PRBs
* Fix - fix: pricing decimal formatting for tokenized cart
* Fix - fix: tokenized PRBs payment type
* Fix - Fixed an error when renewing subscriptions without a billing country
* Fix - Fix output for compatibility data.
* Fix - Fix transaction list and document list advanced filter styling issue preventing dates to be input on mobile screens.
* Fix - Fix WooPay Direct Checkout feature check.
* Fix - Fix WooPay OTP modal not rendering on the shortcode checkout if BNPL methods are available.
* Fix - Hide payment methods with domestic transactions restrictions (Klarna, Affirm, Afterpay) when conditions are not met.
* Fix - Make the search box, and typed search term visible clearly on the 'Payments > Transactions' page, when there are too many existing search tags.
* Fix - Properly wait for tokenized cart data updates before refreshing PRB data.
* Fix - Retrieve saved tokens only relevant for the specific payment gateway.
* Update - Deprecate Giropay.
* Update - Update payment receipt settings to remove mention of the printed receipts.
* Dev - Add validation for path variables.
* Dev - Migrate Affirm and Afterpay payment method components to TypeScript.
* Dev - Prevent infinite loop in usePaymentFailHandler effect
* Dev - Refactor redirects logic in payments

= 7.8.1 - 2024-06-25 =
* Fix - Fix "Dispute not loaded" error that was affecting responding to disputes.

Expand Down
4 changes: 0 additions & 4 deletions changelog/add-8413-compute-styles-on-add-payment-method-page

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-8869-pay-for-order-support-in-ece

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-8948-ece-telemetry-events

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-8951-support-style-settings-with-ece-buttons

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-8986-post-message-fail-safe-fallback

This file was deleted.

4 changes: 4 additions & 0 deletions changelog/add-9007-use-ece-for-express-button-preview
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: add

Use Stripe's Express Checkout Element (ECE) for express checkout button previews in the settings when ECE is enabled.
4 changes: 4 additions & 0 deletions changelog/add-9045-split-ece-pms-registration-for-blocks
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: add

Add independent ECE instances in WC Blocks.
4 changes: 0 additions & 4 deletions changelog/add-ece-button-radius-support

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/as-8868-ece-product-page

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/as-disable-woopay-rejected-suspended-accounts

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/change-9025-no-printed-receipts-in-wcpay

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-7654-refactor-redirects-logic-in-payments

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/dev-add-docker-support-for-local-mu-plugins

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/dev-migrate-affirm-afterpay-components-to-ts

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-5532-fix-compatibility-data

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8220-instant-deposit-messaging

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8718-restrict-klarna-non-domestic-transactions

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8781-transaction-search-fields

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8782-transaction-list-data-filters-mobile

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-8863-duplicated-enqueued-scripts

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9000-tokenized-prb-shortcode-cart-total-delayed

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-9035-disable-link-in-ece

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions changelog/fix-9071-transaction-search-tag-close-button
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fix
Comment: Restore the 'remove tag' function on the last search tag appearing on the transactions report search box.


4 changes: 0 additions & 4 deletions changelog/fix-empty-country-update

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-error-message-location-in-blocks

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-token-retrieval-per-payment-method

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-tokenized-cart-decimals-price

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-tokenized-cart-prbs-refund-amount-display

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-tokenized-cart-zero-decimal-currency

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-tokenized-payment-request-payment-fix

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-unnecessary-effect-reruns

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-woopay-direct-checkout-feature-check

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/gh-actions-fix-script-injection-vulnerabilities

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/kreykjalin-8868-ece-cart-and-checkout-page

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/prb-tokenized-cart-shortcode-cart-checkout

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/revert-8901-update-route-param-validation

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-8385-plugin-wporg-author

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-8972-save-payment-activity-preset-session

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-8973-payment-activity-tooltips

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-payment-activity-disputes-tooltip

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-route-regex-validation

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-speedup-phpunit-tests

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-tracks-onboarding-events-props

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/update-tracks-onboarding-events-props-take2

This file was deleted.

8 changes: 6 additions & 2 deletions client/checkout/blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ import PaymentMethodLabel from './payment-method-label';
import request from '../utils/request';
import enqueueFraudScripts from 'fraud-scripts';
import paymentRequestPaymentMethod from '../../payment-request/blocks';
import expressCheckoutElementPaymentMethod from '../../express-checkout/blocks';
import {
expressCheckoutElementApplePay,
expressCheckoutElementGooglePay,
} from '../../express-checkout/blocks';
import tokenizedCartPaymentRequestPaymentMethod from '../../tokenized-payment-request/blocks';

import {
Expand Down Expand Up @@ -161,7 +164,8 @@ if ( getUPEConfig( 'isTokenizedCartPrbEnabled' ) ) {
tokenizedCartPaymentRequestPaymentMethod( api )
);
} else if ( getUPEConfig( 'isExpressCheckoutElementEnabled' ) ) {
registerExpressPaymentMethod( expressCheckoutElementPaymentMethod( api ) );
registerExpressPaymentMethod( expressCheckoutElementApplePay( api ) );
registerExpressPaymentMethod( expressCheckoutElementGooglePay( api ) );
} else {
registerExpressPaymentMethod( paymentRequestPaymentMethod( api ) );
}
Expand Down
11 changes: 7 additions & 4 deletions client/data/settings/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,13 @@ export const getPaymentRequestButtonTheme = ( state ) => {
};

export const getPaymentRequestButtonBorderRadius = ( state ) => {
return (
getSettings( state )?.payment_request_button_border_radius ||
getDefaultBorderRadius()
);
const radius = getSettings( state )?.payment_request_button_border_radius;

// We can't use a || shorthand because 0 is a valid value.
if ( radius === 0 || radius === '0' || radius ) {
return radius;
}
return getDefaultBorderRadius();
};

export const getIsSavedCardsEnabled = ( state ) => {
Expand Down
7 changes: 0 additions & 7 deletions client/express-checkout/blocks/apple-pay-preview.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65aa3cd

Please sign in to comment.