woocommerce/plugins/woocommerce-blocks/docs/extensibility
Darren Ethier 5dafeac1ab Audit payment method interface API (https://github.com/woocommerce/woocommerce-blocks/pull/2622)
* remove obsolete useStoreOrder hook and implementation.

This hook was actually never completed and was only implemented in the `usePaymentMethodInterface` hook/api. The original purpose was to expose order details to registered payment methods, but that is now exposed via checkout state event emitters so it’s no longer needed.

OrderId is exposed via the `CheckoutState` context provider.

* remove setBillingData from being exposed to payment methods directly

billingData is updated via event emitter callback responses (see payment method data context provider) and is not something that should be set directly via payment methods.

We want checkout to have control over how billing data is updated in the state.
2020-06-05 11:20:05 -04:00
..
README.md Add documentation for checkout flow and payment method integrations (https://github.com/woocommerce/woocommerce-blocks/pull/2246) 2020-04-17 11:37:09 -04:00
checkout-flow-and-events.md improve tocs in recently merged docs (https://github.com/woocommerce/woocommerce-blocks/pull/2246) 2020-04-17 11:42:51 -04:00
payment-method-integration.md Audit payment method interface API (https://github.com/woocommerce/woocommerce-blocks/pull/2622) 2020-06-05 11:20:05 -04:00

README.md

Extensibility in WooCommerce Blocks

These documents are all dealing with extensibility in the various WooCommerce Blocks.

Checkout Block

Document Description
Payment Method Integration Information about implementing payment methods.
Checkout Flow and Events All about the checkout flow in the checkout block and the various emitted events that can be subscribed to.