Order lineItem metadata in sandbox

Hi

I have been trying to set the lineItem metadata in a order using client.checkout.paymentLinks.create. I can set the metadata for an order but I can’t figure a way to set the lineItem metadata. is this a limitation on the sandbox environment? i have looked here Metadata and it appears to be available but is in beta.

Thanks

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Square Sandbox
Test in the Sandbox
Quick Pay Checkout

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

nevermind I figured it out I had an undefined value and so it was not populating!

Glad to hear that you figured it out. :slight_smile: