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 ?

Community Page
Last updated: