wp-calypso
wp-calypso copied to clipboard
Marketplace: Product Licensing - Create and sync vendor webhook url and API Secret Key with WPCOM
Summary
We are planning to reuse existing infra on WCCOM for onboarding vendors and gathering their information. WCCOM also allows 3PD to get their API/Secret keys from dashboard to call relevant api. This API/Secret key are also used for authentication. We need to implement mechanism of syncing API/Secret keys and basic info about vendor to WPCOM on WCCOM side.
Related to pdh6GB-1dL-p2#comment-1951
Backlog grooming: we've discussed to only estimate the investigation part of this ticket
- [x] new WP page (if a relevant doesn’t exist)
- [x] API key generation from interface
- [x] webhook url field
- [x] saving to user meta (vendor meta)
- [x] creating a WPCOM route that WC.com can call to sync vendor info
- [x] calling WPCOM to save this fields
- [x] storing them in WPCOM
Updated the points for resolving this.
webhook url field saving to user meta (vendor meta)
@cpapazoglou Created an issue for these, feel free to change it: 13954-gh-Automattic/woocommerce.com
@JulianBustamante is there any update here? Can you share a diff?
I am not 100% sure but it seems D86085-code to close
Yeah just found it too D86085-code - creating a WPCOM route that WC.com can call to sync vendor info
Also 14172-gh-Automattic/woocommerce.com
Deployed r251070-wpcom
With the merge of 14172-gh-Automattic/woocommerce.com this should be complete. @JulianBustamante could you confirm?
@obenland Sure! Let me check how can I confirm this on prod.
@obenland I tested it on production updating woocommerce-bookings
and it worked as expected. 🎉
Amazing. Thanks!