#isaac-refund-commission
1 messages · Page 1 of 1 (latest)
HEy @slender mason. Can you provide more specific details? How did you integrate, like what charge flow exactly
The thing is that from the connect account the balance goes to 0 after the refund (which is good), but then from the main account the stripe commission is substracted (which is not good)
Thanks for the help, in advance
Currently using python API
sorry you didn't give any info
What exact charge flow are you using? Destination Charges, Direct Charges, Separate Charges and Transfers?
How are you refunding? What part is losing money? Are you using ApplicationFees?
Can you share a concrete example for me to look at?
I made a payment to a connected account which from it the plataform takes a fee apart from stripe's commission:
So, a customer makes a payment for $10(mxn), then stripe takes $3(mxn) + 3.6%(stripe fee) + 1.16% (mexico taxes for the whole fee). We take a 15% fee of the amount and the rest is trasfered to the connect account.
When doing the refund through api, the connect account payment amount goes to $0, which is correct, but the problem is that from the main account stripe is returning the app fee (our 15%, which is correct), and stripe commission ($3 + 3.6% + taxes) which I don't want toreturn to the customer.
In summary the refund from a connect account is substracting from the main account the stripe commission
Hope this helps
Also, our account is in Mexico
And doing this on test environment
I'm sorry you are still not answering the most crucial question unfortunately
The type of charge creation is crucial
I assume you are creating a destination charge but I need a real confirmation
If you are using Destination Charges + transfer_data and no ApplicationFee then this is expected, it's impossible for you to keep your "commission" in that case
I don't want to keep my commision, I just don't want to return stripe fee to the customer
👋 stepping in here as koopajah had to step away
So sounds like you don't want to return the application fee
Correct?
I'm using this to generate the payment from the customer
stripe.PaymentIntent.create(
confirm=True,
customer=stripe_customer_id,
application_fee_amount=app_fee,
on_behalf_of=id_account,
transfer_data={
'destination': id_account
},
)
plus the required parameters
I don't want to return the stripe fee
Because the refund is generating my account to lose the stripe fee
Yes that's expected.
The Stripe fee will not be refunded to you
That is how refunds work
Okok... but how is it possible for my account to not absorb the stripe fee after a refund
You want to pass that fee on to the Connected Account?
No, just do not return to the customer the stripe fee
Oh
Then you make a partial refund
So when you create the refund you set the amount: https://stripe.com/docs/api/refunds/create#create_refund-amount
However, I would not recommend that.
Unless your customers are aware they are not going to receive a full refund for what they paid for.
Ok, thank you!! I will try this and contact if any doubt
BTW, how I would pass the connect account the stripe fee?