We created a Subscription Shipping delivery profile which only has Selling Plan Groups added to it using the GraphQL API, to provide free shipping when purchasing a subscription product via checkout. However, we found that recalculating shipping for a Subscription Contract returns the shipping rate from the General profile.
We recalculate shipping rates any time a Subscription Contract line is updated because some merchants have different rates for subscription products (not necessarily free). We can see that the shipping rates are recalculated, but based on the General profile rules, not the Subscription Shipping profile.
The question is why it was free at checkout (using the correct Subscription Shipping profile), but recalculating rates (e.g. when changing quantity of a Subscription Contract line) does not use the same profile?
(And yes, we have selling plans associated with lines, which are part of the selling plan groups in the shipping profile.)
The fix should have gone to everyone within the space of an hour or two, so I’m surprised and sorry you’re still seeing this. Could you please DM me details of your store and an order where you’ve seen this? Thanks in advance.
This had been working great for us up until at least Friday but now sometimes when we try to call for a subscriptionDraft’s shippingOptions, we get an internal error (see below).
We don’t see the error on every shop but it seems to be consistent reproducible on the shops that we do see it on.