#AndreaM-woocommerce

1 messages ยท Page 1 of 1 (latest)

pseudo turret
#

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?

dawn dirge
#

Ciao Toby ๐Ÿ™‚ I really have to say thanks to you guy for your support! I really appreciate it

dawn dirge
#

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

pseudo turret
#

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?

dawn dirge
#

yes is test mode

pseudo turret
#

Okay, so you see that amount in the list of collected fees?

dawn dirge
#

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

pseudo turret
#

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.

orchid void
#

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?

pseudo turret
#

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

orchid void
#

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

pseudo turret
#

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).

orchid void
#

Stripe Connect we are using

#

this is correct the movement of funds from a platform Stripe account to a connected Stripe account

dawn dirge
#

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.

orchid void
#

we just want to make sure our Collected Fees are taken from the Stripe account before they move to a connected stripe account

pseudo turret
orchid void
#

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?

pseudo turret
#

Sorry, I'm not sure I follow, could you try rephrasing the question?

orchid void
#

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

pseudo turret
#

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.