Problem/Motivation
Billwerk Bug: Addon (Component) upgrade order leads to Components order: '' is not a valid ObjectId. Expected a 24 digit hex string.
Billwerk confirmed, that it's a bug on their side. We'll implement a workaround and revert it, once the bug is fixed.
However, there is a temporary solution that leads to the same result for the end customer. The active plan variant must be specified again in the cart and InheritStartDate=true must also be set. This looks like this as an example:
(02.04.25)
{
"cart": {
"PlanVariantId":"987654321abc",
"InheritStartDate":true,
"ComponentSubscriptions": [{
ComponentId : "123456789xyz",
Quantity : 1
}]
},
"ContractId": "67e51c0348298e203c77ec2c",
}
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork billwerk_subscriptions-3517166
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #4
anybodyComment #6
anybodyComment #7
anybodyOk, here's the Revert MR once the bug is fixed on Billwerk side: https://git.drupalcode.org/project/billwerk_subscriptions/-/merge_reques...
Hopefully they will ping us.
Postponed until then.
Comment #8
anybodyWe just got feedback from Billwerk that this bug is now fixed on their side. I tried with removed workaround and everything seems to work well now, so I'll remove the workaround then.
Comment #9
anybodyMerge train started in https://git.drupalcode.org/project/billwerk_subscriptions/-/merge_reques...
Comment #10
anybodyI'm now tagging a new release.