- Issue created by @jsacksick
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');
}
Active
1.0
Code