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
107 stars 20 forks source link

Changing email address on Jetpack account results in 403 errors for shipping labels #2476

Open jessLundie opened 3 years ago

jessLundie commented 3 years ago

Describe the issue

WooCommerce Shipping user changed email addresses on their Jetpack account. They did not change the actual Jetpack account connected to the site, and the Jetpack username remained the same. Only the email address changed.

After the email address changed, they were no longer able to access / regenerate labels that were created prior to the email address change. When attempting to access any label information for the old labels, they get this error:

{"code":"wcc_server_error_response","message":"Error: The WooCommerce Shipping & Tax server returned: Forbidden access denied ( 403 )","data":{"message":"Error: The WooCommerce Shipping & Tax server returned: Forbidden access denied ( 403 )"}}

Creation of new labels for new orders is not affected.

Reported in 4237002-zen

waclawjacek commented 3 years ago

Looks like this could be related to paJDVv-18D-p2.

AashikP commented 3 years ago

I could replicate the same issue, but only the first time I updated my email address. So sadly, I don't have screenshots for the same:

  1. Purchase a shipping label
  2. Change linked WordPress.com account email address
  3. Attempt to access the order and notice the error

A temporary workaround would be to disconnect Jetpack and then re-connect it again to the same account where the labels were purchased from, and get access to the orders and the shipping labels without seeing any errors.