#palminyx
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- palminyx, 6 days ago, 28 messages
When you say platform fees you mean by the platform commission (10%) ?
And are you using Destination Charge or Direct?
platform_fee is commission (10% so 3.50 in this case) minus stripe_fee (1.70 in this case)
let transfer = await stripe.transfers.create({
amount: amount,
currency: currency,
destination: sellerExpressAccountID,
metadata: {
commission_Stripe_take: commission_Stripe_take,
commission_MyCompany_take: commission_MyCompany_take,
commissionAmount: commissionAmount
},
transfer_group: transfer_group,
});
Therefore my net commission (let's call it platform_fee) is 3.50 - 1.70 = 1.80 euro.
AFAIk, there is no field that displays this information
Transfer is created as indicated above and the transfer_group is the ID of the payment document in Firestore
You have the stripe fee and the platform commission, then you can compute what you call the platform fees
Yeah unfortunately my only other option would be to use application_fee but that creates transfers automatically
And i want to be able to control the flow of transfers
I see, you are looking at the net income of the platform I thinik
- create a payment intent with a manual capture method
- user confirms and funds are captured
- service is delivered on date X
- one day after completion of the service, if no issues arise then a transfer is automatically created to the connect account of the seller.
I want to be able to hold funds in my platform in case something happens and the customer flags a problem. If everything goes smoothly, then i want the transfer to be created
Check Stripe API reports:
https://stripe.com/docs/reports/report-types/balance
Any suggestions on how to implement it?
Here is a guide for implementing it:
https://stripe.com/docs/reports/api
I'm going to read it, however do you already know if it's possible to do it with the flow i'm using? And would these reports be graphs in the dashboard?
I know there is some chart in the dashboard that can help:
https://stripe.com/docs/revenue-recognition/get-started#generate-reports
But not sure honeslty if there is something in particular that can fit directly to your use case
so you probably need to explore it.
Would i be able to implement the same logic by using application_fee and transfer_data instead?
What i mean is to keep funds pending for 24 hours after the completion of the service
👋 stepping in here as os4m37 had to step away
Hi bismarck
Well application fees are immediate upon successful payment
However you could always refund them
Overall I'm not sure I understand the question around application fees though (I did skim the above but still not really understanding how application fees are a workaround)
Are application fees shown in a chart of the dashboard?
I assume so but really we just focus on the API here and we don't know anything about the Dashboard.
Got it. Are you practical with the Reports API?
WOuld you be able to give me some suggestions on how to implement what i'm trying to do?
Basically I'd like to have a way to know how much money i'm actually making in a given time frame, globally and per customer
Yeah then your two options are the Reports API or retrieving data directly from the API.
I see my colleague already linked our docs on the Reports API above
Relinking here: https://stripe.com/docs/reports/api
But you want to go through that and look at the different reports and see if one will meet your needs
That is the easiest way to get this data
OK perfect, thank you.
Have a great day man
I'll reopen a thread in case i need further help
Actually another question:how are funds in a connected account distinguished between pending and available?
because i've not understood what decides if the funds after a transfer are available or pending and how to control this state
It is the same as with the platform really -- basically the funds are available at the same time, regardless of whether they are in the platform or Connected Account.
You can move them to the Connected Account before they are available by using source_transacation (see: https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-availability)
But they still become available at the same point
What payment methods delay the availability of funds?
Is there documentation about it?
Because i'm only going to allow cards as payment methods, therefore i'd like to know if i also have to worry about a pending status of the charge
Cards are synchronous
Because documentation mentions listening for the event charge.succeeded.
Right now i'm using 'payment_intent.succeeded' as trigger to process the transaction in my booking system.
So then you are fine and you can look at the available_on of the balance transaction immediately when the Charge is successful for Cards
Yep payment_intent.succeeded is the right thing to use.
after 'payment_intent.amount_capturable_updated' is triggered by await stripe.paymentIntents.capture(paymentID);
Yes
Perfect!
let transfer = await stripe.transfers.create({
amount: amount,
currency: currency,
source: latest_charge,
destination: professorExpressAccountID,
metadata: {
commission_Stripe_take: commission_Stripe_take,
commission_MyCompany_take: commission_MyCompany_take,
commissionAmount: commissionAmount
},
transfer_group: transfer_group,
});
I've added the bold part, if i understood it correctly is to make sure that the transfer only happens with funds available from the charge.
It would be source_transaction but you only want to use that if you want to Transfer before the funds are available.
Ok so i dont need it by using cards
It boggles me that there is no way to keep track of the money my platform is making (the 6.80 of the screenshot) as per your documentation https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-availability
I'm not sure what you mean by that exactly.
And i have to associate custom metadata to my transfer and use reports API to keep track of it
I mean it all depends on your integration
And what you want
I'm not sure what you are expecting differently, to be honest.
I want a very simple way to keep track of my business
- A report (Excel, CSV, a graph, just something) that tells me from day 1 to last day of X month I've made XXXX € from all transactions (so all users)
[this would be amount of charge (100%) minus stripe_fee (1.5% + 0.25€) minus the 90% given to the seller] - A report that when i select a user, it tells me the same data as above, only specific for that customer