Automattic / woocommerce-services

WooCommerce Services is a feature plugin that integrates hosted services into WooCommerce (3.0+), and currently includes automated tax rates and the ability to purchase and print USPS shipping labels.
GNU General Public License v2.0
108 stars 20 forks source link

Upgrade jetpack packages to version compatible with WCShipping #2785

Closed samnajian closed 3 months ago

samnajian commented 3 months ago

Description

This PR prevents the Jetpack function invocation from throwing with x function is undefined error when both WCShipping and WCS&T are installed by assure both use compatible packages, the deprecated functions are also replaced.

Related issue(s)

https://github.com/woocommerce/shipping/issues/154 https://github.com/woocommerce/woocommerce-shipping/issues/613

Steps to reproduce & screenshots/GIFs

Notes:

There is a problem with starting the e2e container as in here https://github.com/Automattic/woocommerce-services/actions/runs/10272184703/job/28448993772?pr=2785, this issue happens for another PR as well https://github.com/Automattic/woocommerce-services/actions/runs/10210174157, chance is it's a GH internal issue, but it's a good idea to wait for this issue to get fixed before merging this PR.