The shipping profile subscriber should replace the Commerce shipping one

Created on 23 March 2023, about 2 years ago

Problem/Motivation

Not sure exactly what the problem is, but this is the second project in which I'm experiencing this... When patching the shipping information, I'm getting stale data back... Which is only up to date after another GET request...

I ended up removing the Commerce shipping profile subscriber... using the following code:

    // This is important and should not be removed. Let Commerce API handle
    // the shipping profile management.
    if ($container->hasDefinition('commerce_shipping.profile_subscriber')) {
      $container->removeDefinition('commerce_shipping.profile_subscriber');
    }
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024