Problem with line_item ID in javascript object Shopify.checkout

alexhifer
Shopify Partner
1 0 0

Hello, community!

We used javascript object Shopify.checkout on order status page (Thank you page) for tracking order.

Shopify.checkout.line_items[0].id should integer value but we received string.

Example (invalid line item ID):
Shopify.checkout.order_id = 5613426966778
Shopify.checkout.line_items[0].id = "e9acaedca94e276a2b89f2ee3266e9ae"

Should:
Shopify.checkout.order_id = 5613426966778
Shopify.checkout.line_items[0].id = 13908610121978

1. This is bug?
2. Is there a solution to get line_item.id?

Thank you!

Replies 0 (0)