line_items is an optional array of hashes that has multiple child parameters for each item. I am creating a Stripe plugin and currently I take customers to the Stripe Checkout for only 1 item, in the Stripe documentation it is possible to have multiple items in the Checkout!
I cover this topic in my Stripe course when showing how to setup the Shopping Cart feature to provide users an ability to buy multiple (an unrestricted number up to Stripe 100 items restriction) items from the same seller.
Need to setup the call to accept JSON formatting for the line_items and need to use the formatted as text operation in Bubble to send it the formatted items and need the database setup properly to take the shopping cart contents and process them in order to send the correct parameters to the API Call.