How to set up multi-select medicine orders with dynamic total price and payment workflow?

Hi everyone :waving_hand:,

I’m building a pharmacy/medicine marketplace app in Bubble.

I’m trying to figure out:

  1. How to store and manage the selected medicines from a multi-select list or repeating group.
  2. The best way to calculate the total price dynamically (sum of selected medicine prices).
  3. How to send the selected medicine list and total amount to the checkout workflow.
  4. After successful payment, how to create an Order entry in the database with all the selected medicines linked to that order.
  5. (Optional) If there’s a better plugin or workflow setup for multi-item payments in Bubble.

Has anyone implemented something similar — like a multi-item cart system — or can share workflow logic for this type of feature?

Thanks in advance
— Aman Pathak