#Jewe-connect
1 messages · Page 1 of 1 (latest)
Hello 👋
Give me a moment to catch up here
Ah so you're using direct charges and want Stripe fees to be paid by the platform
yes, that'd be ideal
Hmm there's isn't a straight forward way to do this with direct charges. With destination charges, Platform is responsible for Stripe fees.
You could charge the default application fee first. Once the charge is made, you look at the fee we charged and you then refund the extra amount on the fee automatically: https://stripe.com/docs/api#create_fee_refund
While this works it is confusing, especially when doing some reporting.
Hm ... okay. I understand that with destination charges i'd lose the Connect users branding etc. right?
Can you expand on that?
i mean the invoice which is send to the client (in this case the Connect users client) would then state the platforms name and not the Connect users name anymore.
btw. I currently implemented a workaround that estimates the stripe fee and reduces the application_fee. But somehow i always end up a few percent off.
My question is more of a general improvment
Ah okay
Let me look into that
my calulation is
(self.total * (rate - 0.029) - 0.25).clamp(0, Float::INFINITY)
where rate is the the total percentage, i'd like to charge
gotcha. yeah that'd likely be the workaround with direct charges
i'm not sure about the branding settings w/ destination charges so looking
i just learned about "on_behalf_of" and will check this out.
Thank you so far.