Add dynamic prices to stripe checkout

Hi everyone,

I would have liked to add products dynamically to stripe for the checkout session.

I add products from a checkbox, each product has an id which is the id on stripe.

No matter how much I try to format the Array in all directions, the plugin does not take the parameters at all.

Does anyone have an idea to solve this?

I dropped stripe plugin because I faced same issue with the plugin. The plugin is limited.