#themax1-amount & fee

1 messages ยท Page 1 of 1 (latest)

narrow moat
#

howdy, welcome back ๐Ÿ™‚ what do you need help with there?

fluid ruin
#

Ok, let's go from the beginning, I have a total amount let's say for example 12 USD total, and I have to transfer to a connected account 64.5% and 35.5% is the fee to the platform, so in math that is:

12 - total amount in payment intention create
7.74 - connected account
4.26 - application fee

When I capture this payment later, I put the amount to capture 774, but than says that was refunded 4.26, but how if that is the application fee actually

#

So I really confused

#

And I'm apply the application_fee on my payment intention and not on capture payment

narrow moat
#

Oh, you dont want to adjust the amount on capture, thats the amount the customer will be charged

#

But you still want to capture 1200

fluid ruin
#

So the only thing that I capture is the fee amount then?

#

But I capture on payment intent create and payment capture?

narrow moat
#

captured amount is the payment from the customer. the application fee & trasnfer is stripe internal stuff that happens after that point.

#

Separate capture is optional, if you use that the initial payment confirmation is authorized (you can be sure you're able to get that amount, and the hold is placed on the customer card), but the capture is what collects that finally from the customer

#

You only capture payment once, either automatically when the payment confirmation succeeds, or manually with a /capture call within 7 days if usuing manual capture

fluid ruin
#

But let's say I create a payment intent with my amount 1200 and application fee 426, and then later on in capture, the amount I pass is the total and then I pass the application fee again?

#

That is what's is confusing me

#

And if I do this, my connected account is only going receive 7.74?

#

Instead of 12?

narrow moat
#

No that's an optional parameter if you need to change the application fee

#

you can just omit that parameter if you've already set the fee you want

fluid ruin
#

But if I don't change, what's the final value that goes to the connected user?

#

7.74?

#

Because he's going to discount 4.26?

narrow moat
#

I'm not sure what you mean by discount here

fluid ruin
#

Ok something like this

narrow moat
fluid ruin
#

Amount total - 12
Fee - 4.26
Connected account has to receive only 7.74

#

Not 12

narrow moat
#

You might was to use transfer_data[amount] in that case, but its up to you. The diagrams for the funds flows do show how this works in practice.

fluid ruin
#

What I looked there I only pass the amount fee and the total, because when pass the total from 12, is going to take out 4.26 and 7.74 is the final amount

#

Or i just configure this transfer amount?

#

Using this transfer data amount seems what I want to do

#

The values:

Amount- 1200
Fee - 426
Transfer amount - 774

narrow moat
#

Yea i think so too, but the application fee should work similarly

fluid ruin
#

That work right?

narrow moat
#

with transfer amount you dont set the fee, its just the difference between the amount and the trasnfer that you keep

fluid ruin
#

Ohh gotcha

narrow moat
#

so you choose: do you want to specify the amount for the connected account, or the amount for your platform?

fluid ruin
#

The fee is capture auto by the difference between this too values?

fluid ruin
narrow moat
#

the amount captured from the customer is the amount of the payment intent, regardless of anything to do with destination charges, application fees or transfer amounts

#

if you use transfer amount, that amount is what is transfered to the destination account (and you keep the rest for your platform)

#

if you use application fee amount, that amount is what is remitted to your application form the payment (and the connected account keeps the rest)

fluid ruin
#

But let's I just define amount and transfer amount, my platform fee is going to get automatically by the difference between this two or is not going to have any fee?

#

Ohh I think now I get it

#

So can work with both of them and at the end is going to be that same thing?

#

Either way I choose

narrow moat
#

Yes, if you set the PI amount to 1200 and the transfer amount to 700, your platform gets the remaining 500 (and the stripe fees are deducted from that 500)

fluid ruin
#

Gotcha, so basically I can use one of this two cases?

narrow moat
#

correct

#

If you tried to provide both, you'd get an error:
You may not provide the application_fee_amount parameter and the transfer_data[amount] parameter simultaneously. They are mutually exclusive.

#

I suggest giving it a try in test mode

#

Try both version, see how the results suit you

fluid ruin
#

Is there a better practical use or just use what is more ideal and easy?

narrow moat
#

Neither is better, its more about your business and what's appropriate

fluid ruin
#

I definitely going to try out both of them

narrow moat
#

I need to step away but my colleague @tight geyser can help if you have further questions about this ๐Ÿ™‚

tight geyser
#

Hello again!

fluid ruin
#

Just one more thing, can I reset every payment and my total amount of test mode account?

#

Hello again

tight geyser
#

Like reset your balance?

fluid ruin
#

Yes

#

And for some reason my balance is negative too

#

i made so many tests before

#

If it's possible to reset

#

Even if reset everything

tight geyser
#

There's no way to reset it that I know of, but you can create payments to fill it up and pay funds out to empty it. You should use the test card 4000000000000077 to bypass your pending balance and go straight to available: https://stripe.com/docs/testing#cards-responses

fluid ruin
#

But there's a way to reset my test mode account?

tight geyser
fluid ruin
#

And that reset everything right?

tight geyser
#

That will clear all test data, yes.

fluid ruin
#

Oh ok, that will work too

#

I don't have much things

#

Can you leave this thread open? Because I want some stuffs from here and I'm not on my PC

tight geyser
#

This thread won't go away. If it's archived you can still get to it by searching the archived threads.