#AndreaM-woocommerce
1 messages ยท Page 1 of 1 (latest)
Hello again ๐ when we spoke yesterday it sounded like you were using a third-party plugin rather than integrating directly with Stripe, is that still the case?
Ciao Toby ๐ I really have to say thanks to you guy for your support! I really appreciate it
yes right, but for the woocommerce point of view there is no problem. We can add what we want and as I said there is no problem in how is working. Just I cant split the payment. My developer did it but to do it the payment has to be release straight away when i get the payment from the user.
so i think we miss some code here for stripe
not sure what he was doing but just to show that I was able to see the fee as collected so we just miss some code here. but I cant find anything
From what I'm seeing that fee is showing in the collected fees section of your Stripe dashboard. When viewing the dashboard, are you toggling to testmode (toggle is near the top-right) since the associated payments are being processed in testmode?
yes is test mode
Okay, so you see that amount in the list of collected fees?
example mentioned yesterday i think 100$ is what the hotel is asking so our commission is 15% + 3% stripe fee so to a better understanding you can see this
but you can see then the payout is 118 so hotel is gettin everythign
That Payment Intent was created without an application_fee_amount, so it is expected that the payment doesn't automatically keep a portion of the funds for the platform account.
https://dashboard.stripe.com/test/logs/req_1OGrcp2zVSJhwE
It looks like you're then creating a Transfer from outside of your WooCommerce integration, and the request to create that transfer was for the entire amount of the payment:
https://dashboard.stripe.com/test/logs/req_IozHKcgmHbse8Y
If you want to keep a portion of the payment then you would transfer less than the full amount to your connected account.
is there anyway someone can explain this in a bit more detail
because we see collected fees but they are not taken out of the charge
or maybe someone can join a conference call with us to explain what we need to do?
What do you mean by "taken out of the charge"?
This guide isn't a perfect fit since you seem to be mixing a third-party integration with direct API calls, but you seem to be building a Separate Charges and Transfers flow:
https://stripe.com/docs/connect/charges-transfers
ok I see and we will be doing manual payouts from customer to service provider
so this should work when the approve the payout
when the customer "approves" the payout and the service is completed
To clarify, it sounds like you're talking about a Transfer (the movement of funds from a platform Stripe account to a connected Stripe account) rather than a Payout (the movement of funds from a Stripe account to the associated bank account/debit card).
Stripe Connect we are using
this is correct the movement of funds from a platform Stripe account to a connected Stripe account
yes we are using stripe connect and making transfer between connected account. exactly from a credit card charge to our account then transfer to another connected account.
we just want to make sure our Collected Fees are taken from the Stripe account before they move to a connected stripe account
To do that you would create your Transfer with an amount that is equal to the amount of the payment minus the amount you want to keep.
This section of the document that I shared shows the fund flows for Separate Charges and Transfers.
https://stripe.com/docs/connect/charges-transfers#collecting-fees
Ah gotcha
so in this scenario that I describe this will work. Customer A hires Plumber B for $100. We charge 15% of $100 so $15 should go to collected Fees. We also want the customer A to pay the Stripe Fee so we want that to stay in the Stripe Account so Plumber B get's his full $100 payout
The total cost to the Customer is $118,72 to cover our $15 and the Stripe Fee of $3.72
So my question is: The $15 we want to collect will be done as a transfer to our Collected Fees section?
Sorry, I'm not sure I follow, could you try rephrasing the question?
So, Customer A hires Plumber B for $100. We charge 15% of $100 so $15 should go to collected Fees. We also want the customer A to pay the Stripe Fee so we want that to stay in the Stripe Account so Plumber B get's his full $100 payout
The total cost to the Customer is $118.72
How do we get $15 of that $118.72 into our Collected Fees section of Stripe
We're not the most well versed on how the dashboard functions (we primarily focus on the API side of building integrations) so I'm not sure off-hand.
From what I'm seeing that section of the dashboard does not show the funds kept by a platform using Separate Charges and Transfers, because that page is driven by Fee objects which are not generated for that type of flow.
Since you're creating the Payments and the Transfers though, you can keep track of the amount retained from each payment.