#Young Za

1 messages · Page 1 of 1 (latest)

errant pythonBOT
granite breach
#

hello! there's no parameter to create a fixed application fee amount right now.

The workaround is to update the corresponding invoice and pass the application_fee parameter to set the exact application fee that you want in cents. You would do this by using Webhooks and listening for invoice.created events. This would tell you that a new invoice was created and you could set your application fee which would override the default application_fee_percent set on the subscription itself.

There is one caveat though, the first invoice of a subscription is always closed automatically and paid immediately. You still needs to take this into account and calculate the percentage you should set to get the right application fee on the first invoice.

violet nest
#

Thank you very much! Any idea when that might ever be a feature or is there a reason for it?

granite breach
#

The reason we default to a percentage value instead of a fixed fee is that with subscriptions you don’t always know in advance how much you will charge the customer. For example, some platforms will add invoice items to the invoice when it’s created to take into account extra fees for that month. In other cases, the invoice will include proration invoice items created when the customer moved to a new plan. Because the amount can change, we expect that most platforms will want a percentage of the invoice instead of a fixed fee.

if you would like to see more support for this feature, I'd suggest writing to https://support.stripe.com/contact/email to explain your use cases/feature request as that helps the product team capture demand for prioritisation