Sometimes draft orders are not being associated with orders

I’ve noticed that sometimes when I use the invoice URL for a draft order to check out and complete the order, the draft order (after querying Shopify’s API) still has order_id set to null.

I cannot reproduce this consistently.

Has anyone experienced the same, or does anyone know why this happens?