5b142b58ed
* Move validation calls to checkout API class * Validate before payment * Support additional error data * Add coupon validation before payment, and hide hashes from user * Implement validation and recalculation * Abstract notice handler and implement legacy filters * Handle generic cart item errors * strip tags from coupon error messages woocommerce/woocommerce-blocks#2212 * Ensure item errors are surfaced when coupons are removed * Fix wrong value passed to hook * fix broken checkout when no payment method is there * try fixing unit test errors * if preview data has a receiveCart function use it, otherwise default to an anononymous function * fix tests Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> Co-authored-by: Darren Ethier <darren@roughsmootheng.in> |
||
---|---|---|
.. | ||
constants.js | ||
elements.js | ||
index.js | ||
payment-method.js | ||
use-checkout-subscriptions.js | ||
use-element-options.js | ||
use-payment-intents.js |