Open
Description
User story
The full details of the project can be found in the following links:
pbIy4N-3Lx-p2
pcTzPl-1PW-p2
Shared branch for development
Technical
WPCOM - GLA
- Allow to connect WPCOM App without Jetpack (the plugin) Stage 1
- Once
automattic/jetpack-connection
is updated and includes all the functions required to connect the WPCOM App, update the package and remove the duplicated code from the previous step. ** This is depending on Jetpack ** - Add WC REST API filters to transform the data before sending the response. Stage 1
- Restrict API access if the channel visibility is
dont-sync-and-show
, for products and coupons. Stage 1 - Restrict API access if coupons are allowed for specific emails. Stage 1
- Expose Attribute values. Stage 1
- Expose
gla_target_audience
option inwc/v3/settings/general
Stage 1 - Expose shipping and the rest of the onboarding data in
wc/v3/settings/general
Stage 1 - Expose
offer_id
in deleting notification products. - Add Endpoint to get partner integration status Stage 1
- Add Endpoint to revoke WPCOM access Stage 1
- Add Event tracking (
gla_enable_product_sync_click
&gla_disable_product_sync_click
) Stage 1 - [API Pull] Auth Flow #2424
Granting/Onboarding flow.
- Decide the onboarding flow for the new connections. Stage 1
- Create Auth URL Stage 1
- Grant Access to the App in the Settings Page Stage 1
- Add a section to the Connection Test page to retrieve the integration status. Stage 1
- Add a section to the Connection Test page to revoke the WPCOM access. Stage 1
Notifications
- Notify Google when a product is created/updated/deleted. Stage 1
- Notify Google when a coupon is created/updated/deleted. Stage 1
- Notify Google when a shipping zone is created/updated/deleted. Stage 1
- Validate merchant center setup when triggering notifications Stage 1
Migration
- Research which elements of the UI need to be updated. Stage 1
- Update mechanism to pull the Product Overview Stage 1
- Update mechanism to pull the Product issues Stage 1
- Show a banner to indicate the current status of the connection. See here: pcTzPl-1QJ-p2 (in-progress) **Stage 1 **Stage 1 ****
- Block current MC Sync for Products and Copuons when WPCOM is granted. Stage 1 API PULL - Block syncing when notifications are enabled #2326
- Handle Coupon sync status Stage 1
- Clear products stats cache when any Product Notification is sent Stage 2
Monitor/Health
- Add an endpoint to query the WC REST API current status. Stage 1
Release Process
First Stage: Provide merchants with the option to use the new sync method.
- Keep the code for both the pull and push mechanisms at this point, as existing users will continue to utilize the push mechanism. Stage 1
Second Stage: All merchants should be using the new mechanism.
- Remove product syncing code. Final stage
- Remove coupon syncing code. Final stage
- Remove shipping syncing code. Final stage
- Revisist Multichannel Sync stats logic to use
update_merchant_product_statuses
Final stage - Remove ProductMetaHandler::KEY_SYNC_STATUS since it will no longer serve any purpose. Final stage