Mike Jolley
95efc38d1f
Checkout - Available Payment Method Filtering ( https://github.com/woocommerce/woocommerce-blocks/pull/8441 )
...
* Document payment_gateways() usage
* Type in code comment
* Return available methods in cart/checkout StoreAPI responses
* Filter available methods in checkout
* fix tests
* fix TS error
* fix TS warnings in tests
* Update src/StoreApi/Schemas/V1/CartSchema.php
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
* Only apply filtering on frontend
* Avoid filter on express methods
---------
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-03-13 10:29:17 +00:00
Niels Lange
aae39f5266
Simplify @woocommerce/types imports ( https://github.com/woocommerce/woocommerce-blocks/pull/8019 )
...
* Simplify @woocommerce/types imports
* Fix TS errors
2022-12-23 18:59:02 +07:00
Alex Florisca
c9109183b8
Remove CustomerDataContext ( https://github.com/woocommerce/woocommerce-blocks/pull/7686 )
...
* Remove CustomerDataContext
* bot: update checkstyle.xml
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-24 14:20:44 +00:00
Alex Florisca
ddd0cc2300
Move payment utils and delete orderPaymentMethods ( https://github.com/woocommerce/woocommerce-blocks/pull/7679 )
...
* Moved all payment utils functions in a utils folder
* Delete as it's not being used
* bot: update checkstyle.xml
* bot: update checkstyle.xml
* Fix TS error
* bot: update checkstyle.xml
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-16 09:38:48 +00:00