Sync WooCommerce module: Start syncing 'woocommerce_customer_object_updated_props' actions#49551
Sync WooCommerce module: Start syncing 'woocommerce_customer_object_updated_props' actions#49551fgiannar wants to merge 2 commits into
Conversation
…pdated_props' actions
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
Full summary · PHP report · JS report Coverage check overridden by
Covered by non-unit tests
|
Related to ACTLOG-52
Proposed changes
woocommerce_customer_object_updated_props.WC_Customeraction argument before enqueueing with a minimalWP_User-shaped object containing only ID, display name, login, and email.Related product discussion/links
See ACTLOG-53.
Does this pull request change what data or activity we track or use?
Yes. This starts syncing WooCommerce customer account detail update activity through the existing Jetpack Sync event pipeline.
The synced payload includes:
billing_emailorshipping_city.The synced payload does not include:
WC_Customerobject.Testing instructions
Automated
From a Jetpack checkout with the Docker test environment installed:
Expected: the test passes and verifies that the Sync event stores:
Manual
You'll need to apply the WPCOM counterpart PR to your sandbox: 222803-ghe-Automattic/wpcom
woocommerce_customer_object_updated_propsaction.WC_Customer.billing_emailandshipping_city.