#snacksnob
1 messages · Page 1 of 1 (latest)
Hi there, you should pass a list of price (for pre-existing prices) , or price_data (for ad-hoc prices that are not yet created)
The adjustable_quantity is another param that you can set to allow your customer to adjust the quantity on the checkout page.
I got the adjustable quantity to work. I created a list called shopping cart that has all of the items the individual selected inside it. I need to pass that information to the checkout session.
OK, what is this list like? it seems you want to pass ad-hoc price_data to Checkout Sessions.
I thought everything needed to go into the line_items list in the checkout session?
I apologize if the image just now came through.
It looks like the first 6 items are the same, you can just specify one item, and update its quantity to 6