#stripe_connect_platform-application-fee
1 messages ยท Page 1 of 1 (latest)
do you show what the next invoice platform fee is so i can triple check. No looks good, Just wanted to run through 1 before we run it on the whole site and then run it on all sites
Is there any way to visually confirm on the future invoice the application fee just so I can see it. Doesn't seem to show.
But i see it on the object
"application_fee_percent": 1.0,
Not visually. You would have to call the Upcoming Invoice API to get a copy of the expected upcoming invoice for the subscription: https://stripe.com/docs/api/invoices/upcoming
Ok doing now
weird
future invoice is not showing an application fee
"amount_remaining": 1995,
"application": "ca_xxxx",
"application_fee": null,
Stripe::Invoice.upcoming({customer: 'cus_xxxxxx'}, {stripe_account: stripe_account_id})
Do you have the Subscription ID for the invoice that's showing this?
sub_1KmQsrHargtrjso2kknS9oYp
Sure, I just updated it with a 1% application fee and then looked at the future invoice immediately after updating the subscription to add an application fee. The future invoice says null for application fee. ?
see anything?
Let me circle back. There are a lot of active threads so I'm going to pull someone else in to replicate and offer consult
Can you send me the code that you're running to get the Upcoming Invoice?
Via copy/paste
๐ Just hopping in really quick - when you retrieve the Upcoming Invoice are you making sure to specify subscription in your request, or are you jsut specifying the customer?
just tried it with both and get null
maybe that upcoming invoice is not accurate?
Can you share the request ID and full output for the one using subscription?
confused on this. i see no request in my account nor in the customers account. the only request i see is the update of the application fee. If I make an API call from the CLI is there a reqeuest id?
You should be able to see those requests in the dashboard - can you check your filters to confirm you're able to see GET requests as well?
filters suck on connected accounts. separate issue. We can't filter.
Separate request out to Stripe to let us filter with the same filters we use. Our connected accounts have no filter on logs. ๐ฆ
Let's approach this differently then - can you just share the full output you get from the request?
You can redact that if you want to, but I do want to see the subscription IDs and most of the info on the sub - we don't get the full output from GET Requests in the logs available on our end
Can you just look at this request?
req_WSJlxDt8iaI5Pr
That is to update an application fee right?
Can you just look at the next invoice and confrm that yes, we will obtain the applicaition fee on future payments on that sub?
Yeah it's fine - I found some other resources internally that answer the question
Ok thank you. The upcoming invoices API isn't something I am familiar with. Everything looks good and have to move on here. But thank you!
So having a null application_fee_amount with the upcoming Invoice is expected because we don't know for certain what it will be until the charge is created for it (when the invoice is finalized)