I’m using Bubble’s Stripe plugin for my marketplace app. On my app, when the customer accepts a quote it is then added to their cart for checkout. Therefore, each quote represents one item. The cart can have multiple “quotes/items” in the cart from different sellers. How do I make sure each seller get their correct amount?
For example: If the cart has 3 quotes from 3 sellers, how can I transfer the correct amount to each seller? The attachments show how I can do it for one seller but not all three at once like Amazon.
You should have the transfer action in an api/backend workflow. Make sure that workflow has, at least, a parameter for the Quote.
Your checkout button would then “schedule an api workflow on a list” – the list being the list of quotes. And you’ll reference “This quote” for the parameter value. So, if there are 3 quotes, the backend workflow will run 3 times and reference each quote separately.
If you’ve never worked with “schedule api workflow on a list” before, check out this video.