Not so much a bug, but definitely a feature request!
Expandable attributes are not currently supported in Wappler (unless they snuck it in recently.)
You can see here that the line items is "expandable".
For now you will need to retrieve them in a second api call. I think it is called List checkout session line items.