Hi -
We’ve started to notice that some subscription contracts are being created with incorrect variant ids that do not perfectly match the variant ids of the variants purchased on subscription in the origin order. Though we’ve just started noticing it, I don’t think that actually means its a new issue.. we just added a monitor recently because of suspicions.
This is a tough bug for me to prove definitively via a post bc of course its possible possible that we changed the lines in between the time it was created and when I pulled the subscription contract data but I am certain that we did not. The only thing that we changed was to immediately clear the selling plan name on each line (that’s why you can see there’s an update roughly 14s after creation. Here’s the latest example that I have:
{
"data": {
"subscriptionContract": {
"id": "gid:\/\/shopify\/SubscriptionContract\/9080864881",
"createdAt": "2023-09-29T21:09:39Z",
"updatedAt": "2023-09-29T21:09:53Z",
"originOrder": {
"id": "gid:\/\/shopify\/Order\/5136140828785",
"lineItems": {
"nodes": [
{
"product": {
"id": "gid:\/\/shopify\/Product\/6869010251889",
"title": "Key Lime Pie"
},
"variant": {
"id": "gid:\/\/shopify\/ProductVariant\/40213126152305",
"title": "Default Title"
}
},
{
"product": {
"id": "gid:\/\/shopify\/Product\/6867981369457",
"title": "Pina Colada"
},
"variant": {
"id": "gid:\/\/shopify\/ProductVariant\/40210920210545",
"title": "Default Title"
}
}
]
}
},
"lines": {
"edges": [
{
"node": {
"productId": "gid:\/\/shopify\/Product\/6867981369457",
"title": "Pina Colada",
"variantId": "gid:\/\/shopify\/ProductVariant\/40210920210545",
"variantTitle": null,
"sellingPlanId": "gid:\/\/shopify\/SellingPlan\/1113063537",
"sellingPlanName": null
}
},
{
"node": {
"productId": "gid:\/\/shopify\/Product\/6867981369457",
"title": "Pina Colada",
"variantId": "gid:\/\/shopify\/ProductVariant\/40210920210545",
"variantTitle": null,
"sellingPlanId": "gid:\/\/shopify\/SellingPlan\/1113063537",
"sellingPlanName": null
}
}
]
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 26,
"actualQueryCost": 13,
"throttleStatus": {
"maximumAvailable": 10000.0,
"currentlyAvailable": 9987,
"restoreRate": 500.0
}
}
}
}
x-request-id: b4540e1a-8d8b-4d0f-a59f-b62e8d97b0d1
This is obviously problematic and hugely important for Shopify to know/fix if it’s widespread. If anybody has any idea what might be causing this I’d appreciate some help : )