Binding quantity not working with checkout session Price ID list - STRIPE

Passing dynamic quantities to creatCheckoutSesssion Price ID list throws below error in console

"Quantity is required. Add quantity to line_items[0]"

but if the quantity is static it works perfectly..

how do we bind quantities ?

Where exactly and how do you add this dynamic value?

I tried with post variable and set value. Both didn’t work

Can you show the part of the UI where you are trying to bind this - just post a screenshot.
Also explain your whole workflow, how do you call this etc.

PriceIdList

Is that on the server side or in App Connect? Which action/step are you using exactly?

its on server connect, the action i am using is createCheckoutSession.

Is there any fix?