let me know when you emailed so that I can find it
bhmk joined the channel
stripe
koopajah: Do i just put the whole block of code on my PHP charging document?
koopajah
stripe: not sure, that depends what you want to do exactly
stripe
I want to grab the amount of profit after the fees have been subtracted
so that i can record it
koopajah
so yes, you would retrieve it after charge creation I suppose
stripe
thanks
Does the amount returned contain the fees, or is it subtracted?
hoppi
@koopajah Done, added koopajah in the body at the bottom. Cheers
koopajah
stripe: I would suggest you to try first and see what's in the objecr
hoppi: kk, reported internally too so someone will follow up when we have more details
klebervirgilio joined the channel
stripe
How do i get the txn id?
koopajah
stripe: it's in `balance_transaction` on the charge object
tildedash
When I send the test webhook I receive it on my app but for real events : I receive nothing. What am I doing wrong ?
klebervirgilio
tildedash: by real, you meant live mode?
stripe
How do i actually grab it though
bhmk
hello...i have a que regarding the stripe connect collected fees. I have payed 20usd from my website. from which 15usd are paid to seller and 5usd are paid to admin. now my problem is when i see the charges collected in "overview" under "application" i found 15usd paid plus i also got 5usd as admin charge. so is it right? the overview of application is the one that indicated my total selling from the website? or it shows my profit?
bhmk: I'm really sorry but Stripe connect is a bit hard to grasp without real details. Right now you're giving me only a small glimpse in what you see and it's ~impossible for me to just guess
I'd need to better understand what you see *exactly* and what's confusing you
ParamountTechnol has left the channel
stripe
ahhhhh
I didn't even know you could use \Stripe\BalanceTransaction phrases to access static methods
I will test it out, thanks
Awesome, that worked :)
koopajah
:)
sometimes an example makes things clearer
bhmk
ok look i have 2 accounts. let me call them admin(will get admin charge, in this case 5usd) and seller(in this case, will get 15usd). the overall scenario is i got 15usd in seller(which is right), 5usd in "collected fees" tab in stripe dashboard(which is right too). but the confusion is it also shows me 15usd in "overall" tab(under application) in stripe dashboard
stripe
koopajah: haha yeah it does, thanks for helping out, most people dont bother and consider you to be a noob
koopajah
bhmk: I'm really sorry but that becomes account specific now and I'd ned to look into your account, the best solution here would be to email support
stripe: ha! I tend to do the other way, I don't want to give example code and have people find out by themselves usually but I feel like I was confusing you more than helping anyway :)
bhmk
can i show u images online? will it be easier for u to answer?
stripe
koopajah: haha thanks
koopajah
bhmk: maybe
bhmk
okay...it will take some time....and give me your email id too...
koopajah
If you can't share it here, you'd need to email support, I can't give you my email address unfortunately