#stripe_connect_platform-application-fee

1 messages ยท Page 1 of 1 (latest)

plush tusk
#

Taking a look

#

That seems correct. Are you seeing something wrong with it?

restive walrus
#

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,

plush tusk
restive walrus
#

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})

plush tusk
#

Do you have the Subscription ID for the invoice that's showing this?

restive walrus
#

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?

plush tusk
#

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

restive walrus
#

with the account id?

#

and customer id?

fresh siren
#

๐Ÿ‘‹ 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?

restive walrus
#

just tried it with both and get null

#

maybe that upcoming invoice is not accurate?

fresh siren
#

Can you share the request ID and full output for the one using subscription?

restive walrus
#

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?

fresh siren
#

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?

restive walrus
#

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. ๐Ÿ˜ฆ

fresh siren
#

Let's approach this differently then - can you just share the full output you get from the request?

restive walrus
#

really?

#

i don't want to expose my application connect id

fresh siren
#

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

restive walrus
#

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?

fresh siren
#

Yeah it's fine - I found some other resources internally that answer the question

restive walrus
#

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!

fresh siren
#

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)

restive walrus
#

got it!

#

makes sense

#

just really triple-checking the obvious here. Thankyou!