This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
09248192c2
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
base
/
hooks
/
payment-methods
/
index.js
3 lines
87 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) * add various hooks and improve hooks folder structure - Also restructures hooks directory to make things a bit more organized - Add useStoreOrder placeholder (followed up in future pull) - Add useBillingData hook. * implement usePaymentMethodInterface hook in payment method components * remove obsolete hooks and implement new checkout context hooks - add useCheckoutSubmit which exposes checkout submit button interface - add useCheckoutRedirectUrl which exposes checkout redirect url interface * add alias for `@woocommerce/base-utils` to jest config * use consistent variable names for payment method id
2020-03-11 10:50:12 +00:00
export
*
from
'./use-payment-method-interface'
;
Add payment method api and components to checkout steps (https://github.com/woocommerce/woocommerce-blocks/pull/1349) This adds a payment methods api to the checkout block that allows for extension to register payment methods with the block.
2020-01-06 22:28:09 +00:00
export
*
from
'./use-payment-methods'
;