#naeem-ullah-khan_docs

1 messages ยท Page 1 of 1 (latest)

median hedgeBOT
#

๐Ÿ‘‹ 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/1381924012577525883

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

half tulip
#

๐Ÿ‘‹ happy to help

#

would you mind walking me through a scenario with some figures to fully perceive the flow of money?

halcyon jacinth
#

Hi, sure let me describe the scenario

#

First of all, a user creates their stripe connect account with express dashboard and then they can create a paid community of their own on my app by paying a monthly subscription fee to my platform. When they create a community, other users on the app can join their community by paying the community's price every month.

#

So when the user's join a community by paying the community's price through stripe subscription create API, we set an application_fee_percent so that we can charge our percentage from amount that is transferred to creator's connected account

#

Now, there's another fee in the stripe transactions that I can see in my stripe platform dashboard that is processing_fee which is charged when I transfer an amount to the connected account and that is being charged from my platform

half tulip
halcyon jacinth
#

I'm creating Destination charges as it is preferred for express dashboard.

#

This is the code snippet for my subscription create API, if it can help you understand my situation better:

await stripe.subscriptions.create({
          customer: member.user.Stripe_customer_id,
          items: [{ price: priceId }],
          transfer_data: {
            destination: member.community.creator.Stripe_account_id,
          },
          application_fee_percent: platformFeePercent,
          proration_behavior: 'create_prorations',
          billing_cycle_anchor: Math.floor(nextMonth.getTime() / 1000),
          cancel_at_period_end: false,
          metadata: {
            communityId: communityId.toString(),
            creatorId: member.community.creator.id.toString(),
            communityMemberId: member.user.id.toString(),
            subscriptionType: SUBSCRIPTION_TYPE_ENUM.MEMBER_SUBSCRIPTION,
          },
        });
half tulip
halcyon jacinth
#

So the platform is responsible for paying the stripe processing fees?

#

Can you suggest a way around for my scenario? Shall I add the processing fee in the application_fee_percent so that I can pay the processing fee from my platform first and then charge from the connect account?

half tulip
#

or you can use Separate Charges and Transfers

#

then you can calculate the exact amount you want to transfer based on the percentage of your application fee and also deducting the Stripe fees

halcyon jacinth
#

Can you please give an idea about how much does stripe charge as processing fee? Is it a fixed percentage or depends on the the amount?

half tulip
#

you need to contact https://support.stripe.com/?contact=true for pricing questions

halcyon jacinth
#

Alright. Thanks