#heisend3rp_api

1 messages ยท Page 1 of 1 (latest)

wintry lakeBOT
#

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

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

flint gyro
#

hi there!

#

if you are making Direct Charges, then it's the platform that pays the Stripe fees.

bitter abyss
#

i thought that was the case with destination charges ๐Ÿค”

flint gyro
#

oops sorry, I typed too fast.

#

if you are making Direct Charges, then it's the connected account that pays the Stripe fee, correct.

bitter abyss
#

is it possible to have the platform pay it somehow with direct charges

#

i know it's an edge case. but one of our customers wants to accept cash payments and we still want the application fee

#

we could do it with our own stripe account instead, but we got the whole infrastructure running already with only connected accounts. therefore this would be the easiest for us atm

flint gyro
#

is it possible to have the platform pay it somehow with direct charges
not directly, but there are some workaround. for example: just try to guess the Stripe fee, and increase/decrease the application_fee by this amount.

#

i know it's an edge case. but one of our customers wants to accept cash payments and we still want the application fee
if the payment happens outside of Stripe, how could you get the application_fee?

bitter abyss
bitter abyss
flint gyro
#

sure, but you won't be creating a PaymentIntent in this case at all?

bitter abyss
#

yes we would, but only for the application fee for us (platform)

flint gyro
#

in this case, juste create a regular PaymentIntent (no application_fee), and ask the connected account to pay it with their own payment method.

bitter abyss
# flint gyro in this case, juste create a regular PaymentIntent (no application_fee), and ask...

I think I could not express myself correctly...

Customer wants to buy product from connected account. Product is $40. We charege 10% application fee, so $4.
Connected accounts wants to use our platform but accept the $40 in cash in person.
We still want to charge the $4 online to the customer.

Therefore we would charge the customer $4 online via the connected account, and send $4 application fee to our platform.

But the connected account would need to pay the stripe fees on the payment, that would mean a negative balance. Thats why we as a platform would like to only have $4 minus the stripe fees.

#

Does this make more sense?

flint gyro
#

got it. then you have two option:

  • just try to guess the Stripe fee, and increase/decrease the application_fee by this amount (as mentioned earlier)
  • use capture_method: manual when creating the PaymentIntent, check the Stripe fee in the BalanceTransaction object, then when you capture the funds change the application_fee based on the Stripe fee
bitter abyss
#

second method sounds good to me

#

thanks ๐Ÿ™‚