#cyril-prices
1 messages · Page 1 of 1 (latest)
I would like our customers to make a donation to an association, for example 80€. I will charge a 10% fee on the 80€. The total amount to pay would be 88€.
ça marche parfaitement pour les paiement uniques
but not for subscriptions
The connect customer never has €80 but €79.20
do you have an example PaymentIntent object id which i can take a look at? It'd look like pi_123
The json
And there would be a different commission per amount, for example for 1000€ the commission would be 2.5% but the client has to connect is 1000€.
using sub_1KeEUlKSiPd9gNPQdjfDFSdo as an example :
the amount which is defined i.e. unit_amount is the amount which the Customer will pay i.e. €88 Your application will take a 10% cut from that amount i.e. €8.8
so the destination account will only receive €79.20
the amount which the customer pays is not €88 + €8.8
Is it possible that by adding €80 as a subscription fee and applying a 10% commission on payment, the customer pays €88?
I didn't find out how to do it
I used the "tax_behavior" parameter when adding a price via the API but it doesn't work
i think you've misunderstood the way the calculation occurs
the commission is taken from the amount
it's not added onto the amount
ok