#max_docs
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.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ 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/1416113550056886525
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- max_docs, 1 day ago, 56 messages
What charge type do you use? Direct Charges, Destination Charges or Separate Charges & Transfers?
Direct charges
This is my current implementation await stripe.paymentIntents.create( { amount, currency: currency || 'cad', application_fee_amount, payment_method_types: ['card'], description, metadata, }, { stripeAccount: accountId } );
then using the Stripe components on the Front end with the SDK initialized with the stripeAccount
With stripeAccount header, you will create the payment intent on its corresponding connected account
What is the issue or challenge you're facing?
so this is working great at the moment, but for a different use case that I'll have to implement in the near future I would need to handle more than once accountId.
The use case:
I'm creating a membership structure for organizations where their parent organization takes a piece of their membership revenue
Example:
My user wants to become a member of Organization A and needs to pay a fee of 50$, Organization B is the parent of Organization A and takes a cut of 15$ off of that 50$.
Is there a way to create one intent that will charge the user 50$, Organization A will then be charged the Stripe Fees and application fees and also send 15$ to Organization B
It sounds like you're trying to split the payments between two organisations. In this case, I'd recommend using Separate Charges and Transfers (SC&T) instead.
Each organisation will be a connected account itself. The payment will be collected using SC&T flow at the platform instead of connected account like Direct Charges. After the payment is collected at the platform, the platform will then split the payment and transfer the funds to respective connected account: https://docs.stripe.com/connect/separate-charges-and-transfers
under that setup, I would be in charge of paying the Stripe fees, right?
as the platform
Yes, that's right
Since the platform has the control of the amount to transfer to the connected account, the platform can exclude the Stripe fee from the amount to transfer to the connected account
is there a way to consistently know the right Stripe fees for that? I launched my current implementation with Destination Charges and quickly lost money because I didn't calculate the fees properly, it's important to me that I don't charge the orgs more than the actual fees and since fees are different depending on the type of charges, I couldn't calculate it appropriately
by type of charges I mean if the payment card is cross border/international, probably the wrong term
Here's the guide to find out the Stripe fee with a given Payment Intent: https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment
wish I found that when I needed it ๐ awesome, thank you that's super helpful!
one last thing: does that change anything related to taxes? since I'll be the platform charging the amounts, it would mean that I need to handle taxes and not the connected accounts?
Do you mean collecting the tax from the customer who makes the payment, or the tax filing of the connected account / platform?
I guess both ๐
Payment Intent doesn't collect the tax from customer automatically. To include the Stripe Tax, I'd recommend checking this guide: https://docs.stripe.com/tax/payment-intent
For tax filing, I'd recommend checking with Support https://support.stripe.com/contact as this channel is for technical integration questions and we don't have necessary expertise on the tax filing.
Integrate Stripe Tax into your custom payment flows to automatically calculate, collect, and manage taxes. Link tax calculations to payment intents, handle tax transactions and reversals, and streamline tax compliance in your payment processes.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ok gotcha, just one more thing I just thought about. With SC&T I wouldn't need to use the application_fee_amount field anymore, correct? Just deduct them from the total I'm manually transferring?
Yes, that's right!
Ok awesome, thank you!
No problem! Happy to help ๐