So a quick question I create a Stripe charge with a destination and an application_fee . . . a transfer is automatically created to destination with the source charge . . . when I look at the amount of that transfer, it does not appear to deduct the application_fee?
I am looking at the Stripe dashboard for the parent account and the destination is a connected account
timebox
Sorry, fell off my chair. Reading now.
robvand: Do you have the Charge ID?
Adam____ joined the channel
robvand
Does it matter if it is a test transaction?
timebox
robvand: Nope.
robvand
The charge transaction is ch_1CYH6LGSrlprcJP1fq5omptu
timebox
robvand: Wait, is the Payment in the Connected Account the right amount though?
robvand
The charge is for 50, the fee is 5 and the transfer is for 50
PederJ joined the channel
but minus the stripe fee and the application fee I would have expected a transfer of
43 something
timebox
robvand: Did you check the actual Payment in the Destination Connected Account's Dashboard?
robvand
I was trying to remember how to get there
timebox
robvand: View the Account's details in the Connect section, then there's a View Dashboard As button.
robvand
I know I have used that button before but I cannot find it now
TeddyMurray has quit
timebox
robvand: YOu can search for the Account ID in the dashboard, and you can get at it from there.
sr2016 has quit
robvand
I search for the account id and it finds it . . . I can see the transfer details for that account . . . but it says 50
and I cannot see the payments for that account
sr2016 joined the channel
when I click on payments it reverts to the application account dashboard
timebox
robvand: The Payment shows a $5.00 Application Fee though, right?
orbyt_ joined the channel
robvand
In the payment details on the application owners dashboard it says Collected fee fee_1CYH6LFv9mKoAvxNxm6wjro0($5.00)
timebox
robvand: Right.
robvand
So the transfer amount is the base charge amount and the actual amount available in the connected Stripe account is going to be 50 - stripe fee - application fee
?
koopajah joined the channel
Adam____
Hello. How does billing work with proration disabled when changing the subscription item quantity?
Francis_ joined the channel
koopajah
Adam____ : if you disable proration there's no proration/nothing to bill
Francis_
Hey, I have a question for any Stripe devs: Is there an API endpoint that allows me to see the source of a particular event?
Specifically I want to see if a subscription was deleted via the dashboard or via API call.
timebox
robvand: The Stripe fees come off your platform account, not the Connected account in this case.
koopajah
Francis_ : the event has the `request[id]` property but there's no way to know if it's from the dashboard or not no
Adam____
So the customer is charged every time the subscription item quantity would increase?
Francis_
@koopajah: Yeah that's what I thought, so you can't expand or fetch the request itself?
koopajah
Francis_ : correct that's impossible
Francis_
Bugger
haha
koopajah
Adam____ : no, there's just no charge in that case since you disable proration.
Francis_
@koopajah: Thanks for the quick response!
Adam____
@koopajah OK, so all billing is done at time of invoice based on the sub item quantity?
koopajah
Adam____ : yes
Adam____
@koopajah OK. Thank you.
@koopajah what if a customer updated their sub items to 0 a day before the invoice, would they get charged at all?
koopajah
Adam____ : nope the new invoice would be for 0 in that case
robvand
So the transfer amount would be $45 and that would be available in the connected Stripe account?
robvand: So 50 goes out and 5 comes back right now.
robvand: You can click on the 'Collected fee' on the Charge details page to see the Application Fee that was pulled back (i.e., the $5).
TeddyMurray joined the channel
robvand
Thanks a ton . . .
timebox
robvand: Does that all make sense?
robvand
I seem to remember having this question before and it was clear when I could open the connected accounts dashboard
Any idea why I cannot see that right now?
measwel
hi
koopajah
hey measwel
timebox
robvand: Not sure, to be honest. You should be able to even see it by clicking on the `py_*` ID that's associated with that Charge as well.
robvand
I did that and it comes up saying something went wrong
Anyway, thank you very much I appreciate your time
robvand has quit
Useresu joined the channel
Useresu has quit
Useresu joined the channel
Useresu has quit
tonybeninate joined the channel
tonybeninate
I'm trying to Reverse a production Transfer, but when I do it seems to be failing with "This action requires additional privileges.". I am an owner on the account. Any idea why i would get this?
timebox
tonybeninate: Log back into the Dashboard and see if that solves it.
tonybeninate
k
wede has quit
ok well nevermind, looks like it worked 4 seconds after my first attempt :shrug:
sorry for the bother
timebox
tonybeninate: No worries! :) That's usually a problem with your browser session, and logging back in usually solves it. :)
tonybeninate
thanks man
tonybeninate has quit
sandstrom joined the channel
kes has quit
NotAdev joined the channel
stinkyirc joined the channel
NotAdev
Greetings all
I'm looking to make the checkout widget open automatically when a webpage opens, instead of the purchase button. What is the coding needed for that?
RabSimpson joined the channel
sandstro_ joined the channel
koopajah
NotAdev : not possible to do, most mobile browsers would block you from doing that. It needs a real click event
koopajah: gotcha :) I'm saving the original card source against the customer object, would I be correct in assuming Stripe will associate the 3DS source with the customer object in the dashboard?
koopajah
RabSimpson : we won't do anything automatically, it's on you to do this on your end
NotAdev
@koopajah Is it possible to have the checkout lightbox open on top of another lightbox? It is causing an error on a form I'm using.
RabSimpson
I'm just thinking about how sources and customers are linked at the Stripe end. The 3DS source is created from the card source which is the customer's default source. I'm imagining that setting 'source' in the charge to the 3DS source should be enough to inform Stripe which customer is making the payment.
Normally I'm using the customer ID to perform the charge when 3DS isn't required/recommended.