This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
woocommerce_blocks_checkout_update_order_from_request
doesn't trigger for customer email.
#5202
Labels
type: bug
The issue/PR concerns a confirmed bug.
I'm not sure if this was planned or not, but
woocommerce_blocks_checkout_update_order_from_request
only triggers when order updates, this means all hits tostore/checkout
would trigger it, however,store/update-customer
(what we use when persisting the customer email) isn't part of that, and sowoocommerce_blocks_checkout_update_order_from_request
won't run.A workaround for that is to use
woocommerce_before_order_object_save
hook.See #5179 (comment)
@mikejolley is this expected behavior? I would probably move email updates to happen in
store/checkout
to solve this maybe.The text was updated successfully, but these errors were encountered: