woocommerce/plugins/woocommerce-blocks/assets/js/data
Tarun Vijwani 7528a7d65e
Fix removal of express payment method from state (#44633)
* Fix removal of express payment method from state

- Correct the logic for removing an express payment method from the availableExpressPaymentMethods state object.
- Previously, the deletion targeted the incorrect object, leading to incorrect change in state. Now, the correct entry is removed using destructuring and rest parameters, ensuring the express payment method is properly deleted.

* Revert "Fix removal of express payment method from state"

This reverts commit 8e24553794.

* Fix typo error in the reducer

* Add unit to make sure correct express payment method is removed

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Remove payment method descriptions from express and fix changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-02-16 23:00:42 +04:00
..
cart Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
checkout [Experiment] Handle customer session meta data (#44181) 2024-02-06 15:16:00 +00:00
collections Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
payment Fix removal of express payment method from state (#44633) 2024-02-16 23:00:42 +04:00
query-state Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
schema Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
store-notices Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
utils [Experimental] Add `$request` to additional fields validation filter (#43789) 2024-01-19 23:21:47 -08:00
validation Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
README.md Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
constants.ts Checkout - Available Payment Method Filtering (https://github.com/woocommerce/woocommerce-blocks/pull/8441) 2023-03-13 10:29:17 +00:00
index.ts Update the sidebar notice we show for incompatible extensions (https://github.com/woocommerce/woocommerce-blocks/pull/10877) 2023-09-29 17:39:57 +07:00
mapped-types.ts Add notice on quantity change and update `wc/store/cart` to use thunks (https://github.com/woocommerce/woocommerce-blocks/pull/7938) 2022-12-16 08:06:37 -08:00
shared-controls.ts Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00

README.md

Data Stores

The docs for the Data Stores can be found in docs/third-party-developers/extensibility/data-store/README.md