#madmac-applicationfee-calculation

1 messages · Page 1 of 1 (latest)

weak nicheBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tidal relic
#

madmac-applicationfee-calculation

#

@obsidian shard not entirely sure I understand your ask

obsidian shard
#

I want the application fee (Stripe Connect) to be $2.50 for a subscription.

For the API call stripe.subscriptions.create there is a parameter application_fee_percent.
This only accepts a 2dp value.

See my example above.
Does this make sense?

#

I am passing 0.63 to application_fee_percent but this is giving me $2.52

tidal relic
#

what does 2dp mean? Like two decimal points maybe?

obsidian shard
#

yes

#

sorry should have been more explicit

tidal relic
#

All good just making sure. So unfortunately this is really just impossible

obsidian shard
#

I was wondering if you could raise an issue to the development team to look at this and see if it is possible to increast the decimal points allowed

tidal relic
#

Sure but it won't happen sadly

obsidian shard
#

Does no one charge a fixed amount for sub application fees?

tidal relic
#

Like it's an ask we've heard before and want to tackle one day, but I've raised it numerous times and it's not really a priority for us unfortunately

#

What you can do is listen to invoice.created and write code to update the application_fee_amount

obsidian shard
#

Ah nice. A workaround is fine

#

I get it. I have customers asking for things like that too haha