verbb / postie

A Craft Commerce shipping calculator plugin.
Other
12 stars 18 forks source link

Craft 4 - Calling unknown method: craft\commerce\Plugin::getAddresses() #88

Closed seandelaney closed 2 years ago

seandelaney commented 2 years ago

Description

https://github.com/verbb/postie/blob/craft-4/src/controllers/PluginController.php#L63

Screenshot 2022-03-21 at 15 41 53

Steps to reproduce

  1. Install 3.0.0-beta.1
  2. View Postie Settings

Additional info

Additional context I'm trying to upgrade a Provider plugin for Craft 4 and I'm getting the above error.

Need to use new Store address functions:

https://craftcms.com/docs/commerce/4.x/upgrading.html#store-address

engram-design commented 2 years ago

Thanks for this - still trying to work through some Commerce changes that have broken Postie (even with the known changes/updated made), so will update here when those have been sorted on Commerce's end!

engram-design commented 2 years ago

Sorted in 3.0.0