Hydrogen storefront + Cart Transform Function API monitoring / attributes field

I have a question I can’t find a clear answer to in the docs. Basically, I am working on a Hydrogen store, where I want to implement Customizable Bundles, by using Cart Transform Function API. When I started, I primarily used “Add a customized bundle” guide to reach my aim. Unfortunately, I found the proposed data structure and usage of meta fields limiting, and I came up with my own idea of using just one meta field on a bundle product called “Component Bundle”. Then I do all the frontend logic on my Hydrogen store till a point where I add things to the cart. From what I understand I can’t set the meta field on lines in cart from frontend, hence I used the attribute field. Then I recreated a similar structure that was in the guide but using the attributes. And have a similar cartTransform function which instead of taking a metafields takes attributes. Overall, the logic should work. But instead of getting a nicely formatted checkout with relevant items added as a part of the bundle, I have attributes displayed as objects.

So my questions are

  • How can I monitor if the cart function is even working? Perhaps I have a mistake in the code? But I am not aware of any way of checking that.
  • Does the cartTransform API even work with attributes? Looking at docs I can’t see why it wouldn’t work
  • Furthermore, when I follow the updated guide from few days ago I can see you are using shopifyFunctions query which should display an object with the relevant apps, I can’t see anything. But if I take the functionId from my app’s env file and pass it to cartTransformCreate it works, which means it exists. Maybe it is because my app is deployed on fly.io or perhaps this is a bug?

Thanks in advance!