#solbass_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1214724028103917578
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
If I'm understanding this correctly, you're thinking about a "grandparent" relationship? You create a platform with companies as connected accounts, and each of the company accounts are also platforms, with affiliates as connected accounts. Is that accurate?
To be honest I don't know entirely how the Stripe system works haha. But basicially my platform allows companies to track affiliates performance. But now I need a way to allow the companies to pay out their affiliates (the number is stored in my backend, ex: $20). The same person can be an affiliate for two different companies also. So I was just curious on the best way of going about allowing companies to pay out affiliates.
How are payments/funds being "accepted"? In other words, where is the money that is being paid out coming from?
ex: My company name is AffiliateTracker. McDonalds signs up as a company. Joseph signs up as an affiliate. AffiliateTracker's metrics show Joseph led to 100$ in sales for Mcdonalds, and with a 20% Affiliate fee, Joseph is owed $20. Mcdonalds needs to send out $20 from their bank account. AffiliateTracker has a 10% take rate. So $2 goes to AffililateTracker, and $18 goes to Joseph.
Maybe this is what I need? https://docs.stripe.com/connect/separate-charges-and-transfers
Separate charges and transfers would work if funds land on the AffiliateTracker's account and you transfer some portion to McDonalds and some portion to Joseph. In that scenario, both McDonald's and Joseph would need connected accounts (either Express or Custom)
Hm, no I guess then it would not work. I need to transfer funds from Mcondald's Bank account and split the desitnation between AffiliateTrackers and Josephs account
I see. No, we wouldn't be able to support this flow
But what if I charge Mcondalds from Affiliate Tracker and then just pay out Joseph what he's owed? So Mcdonalds pays AffiliateTracker, AffiliateTracker pays Joseph 90%.
No, this wouldn't work either
why not?
I can do this to collect money from Mcdonalds
And then this to pay Joseph
Account debits would pull from McDonald's connected account balance, not their external bank account
ooo
What about this where I charge Mcondalds?
Take my platform fee, then pay Joseph
I recommend looking at this: https://docs.stripe.com/connect/destination-charges#flow-of-funds-app-fee
For destination charges, a charge would be made on AffiliateTracker, funds would be transferred to McDonalds, and the application fee would be transferred back to AffiliateTracker. You could create a transfer to Joseph, sure, but those funds would come from the AffiliateTracker balance
I recommend reading through the funds flows diagrams here as well if you haven't already: https://docs.stripe.com/connect/charges