woocommerce/plugins/woocommerce-blocks/docs/block-client-apis
Mike Jolley 70106d45d3 Revise checkout payment statuses to avoid data loss on error (https://github.com/woocommerce/woocommerce-blocks/pull/5350)
* Clarify docs for STARTED

* Clarify docs for setActivePaymentMethod

* Remove useActivePaymentMethod hook (this held state for active methods and tokens)

* Update type defs

* Enhance setActivePaymentMethod action to accept method data

* SET_ACTIVE_PAYMENT_METHOD action

* Add setActivePaymentMethod dispatcher and make "started" status only

* Update setActivePaymentMethod usage in express methods

* Set radio control defaults

* Consolodate tokens and methods

* Update assets/js/base/context/providers/cart-checkout/payment-methods/reducer.ts

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>

* Spacing

* Split saved cards tests from regular, since saved cards are checked by default

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2021-12-10 16:26:16 +01:00
..
checkout Revise checkout payment statuses to avoid data loss on error (https://github.com/woocommerce/woocommerce-blocks/pull/5350) 2021-12-10 16:26:16 +01:00
README.md Add notices docs (https://github.com/woocommerce/woocommerce-blocks/pull/2502) 2020-05-19 07:40:48 -04:00
notices.md Update notices documentation to reflect changes to Snackbar Notices (https://github.com/woocommerce/woocommerce-blocks/pull/4455) 2021-07-12 12:49:47 +01:00

README.md

Block Client APIs

This folder contains documentation for API interfaces for Blocks. In most cases, these docs describe APIs and interfaces that are internal only, and thus are provided to assist with developing the blocks in this repository. Documentation will tend to focus on high level overviews.

For more details about extensibility points in the blocks, you can reference the extensibility docs.

Checkout Block

Document Description
Checkout API interface This doc goes into some detail about some of the API specifics for the checkout block architecture.
Checkout Flow and Events All about the checkout flow in the checkout block and the various emitted events that can be subscribed to.
Notices Explains how the notices system works and which methods are available to add an remove them.