WooCommerce Blocks 4.8.0 Release Notes

There’s a new version of WooCommerce Blocks available! Version 4.8.0 is now available on WordPress.org and GitHub.

This release includes exposing additional data to registered payment methods and some more bug fixes for the Cart and Checkout blocks. Please check the changelog below for more information.

Dev note

The shouldSavePayment value is now available as a prop for registered payment methods. This helps payment methods that need to know the value of this checked item client side before sending info to the server.

The onPaymentProcessing event can now be observed by saved payment methods that implement the savedTokenComponent configuration property. 

Changelog

Enhancements

  • Registered payment methods now have access to the shouldSavePayment prop in their components (which indicates whether the shopper has checked the save payment method checkbox). (3990)
  • Payment methods implementing the savedTokenComponent configuration property will now have the onPaymentProcessing event available to the registered component. (3982)

Bug Fixes

  • Fix customer address country saving to orders in certain circumstances. (4013)
  • Prevent error messages returned by the API from displaying raw HTML. (4005)
  • Fix the Proceed to checkout button click bug happening when the Coupon error is visible in the Cart block. (3996)

4 responses to “WooCommerce Blocks 4.8.0 Release Notes”

  1. […] 4.9.1: Blocks packages have been updated to 4.9.1. Please take a look at the release posts for 4.8.0, 4.9.0, and 4.9.1 to see what’s new and […]

  2. […] WooCommerce Blocks 4.8 was released on April 1, 2021. It includes enhancements and fixes such as improvements to error handling and an additional property to help components support saved payment methods. […]

  3. […] Blocks 4.9.1: Blocks package has been updated to 4.9.1. Please take a look at the release posts for 4.8.0, 4.9.0, and 4.9.1 to see what’s new and […]

  4. […] 4.9.1: Blocks package has been updated to 4.9.1. Please take a look at the release posts for 4.8.0, 4.9.0, and 4.9.1 to see what’s new and […]

Leave a Reply

Your email address will not be published. Required fields are marked *