Using checkoutCompleteFree it does not create order

Karthikan
New Member
3 0 0

I'm sending this mutation

 

{
    "query": "mutation checkoutCompleteFree ($checkoutId:ID!)  { checkoutCompleteFree (checkoutId: $checkoutId) { checkout { id,orderStatusUrl,completedAt } } }",
    "variables": {
        "checkoutId": "Z2lkOi8vc2hvcGlmeS9DaGVja291dC82MGM4NTNiNTM3NDE0YzA5NDVmY2M5ZTBmN2MwMmE1NT9rZXk9M2U0NGM5OWEwOTliOTQ1YmIwZTc5NDhjOG"
    }
}

and got response 

{
    "data": {
        "checkoutCompleteFree": {
            "checkout": {
                "id": "Z2lkOi8vc2hvcGlmeS9DaGVja291dC82MGM4NTNiNTM3NDE0YzA5NDVmY2M5ZTBmN2MwMmE1NT9rZXk9M2U0NGM5OWEwOTliOTQ1YmIwZTc5NDhjOGMxYWQyOG",
                "orderStatusUrl": null,
                "completedAt": null
            }
        }
    }
}

orderStatusUrl and completedAt empty and order not created and not reflected on a admin dashboard

 

Reply 1 (1)
dev-karlmax
New Member
5 0 0

@Karthikan have you found a way to get the order with checkoutCompleteFree?