#stripe

/

      • JoakimT joined the channel
      • stripe joined the channel
      • stripe
        hello
      • has anyone here had experience with server providers?
      • stripe has quit
      • derferman joined the channel
      • bkrausz has quit
      • bkrausz joined the channel
      • asdfghjkl has quit
      • bhmk has quit
      • bkrausz has quit
      • nilsmunch has quit
      • the_dark1knight has quit
      • the_dark_knight joined the channel
      • kpsullivan joined the channel
      • Greip joined the channel
      • Greip
        Hello!
      • I would make an app where each mini-app inside cost 29c can I do that with stripe? Because I've seen that your commission is 30c
      • exactly "2.9% + 30c"
      • It is possible?
      • dagert has quit
      • kengu
        Greip: sounds problematic. maybe sum charges and then charge when there is enough dollars to charge profitably
      • dagert joined the channel
      • Greip
        kengu: Oh, ok, so can't charged each time? I understand, so waiting when I've 10$ then charge, it is correct?
      • kengu
        perhaps
      • nilsmunch joined the channel
      • Greip
        kengu: ok, but it is possible?
      • Meaning how can I gather the charge?
      • There are multiple bank card, multiple users, etc..
      • (sorry for my english)
      • Scellow joined the channel
      • JoakimT has quit
      • kengu
        ..only for one user
      • Greip
        Oh, but how can I do if an user pay only an "mini-app"?
      • a*
      • pickledegg joined the channel
      • pickledegg
        hi other than the https://stripe.com/gb/prohibited-businesses page, is there a way of confirming if a business is allowed or prohibited?
      • Greip
        Another question, it is possible with stripe to do a payment without confirm? A click to pay?
      • pickledegg has quit
      • And I'm forced to accept a refund? Exemple if the users test the app, play with it and 1h later want a refund, I'm forced to accept?
      • Because the "mini-apps" will be lessons, so if they read it for 1h and request a refund, they have "stolen" my work
      • gwendall has quit
      • dagert has quit
      • hoppi joined the channel
      • up?
      • feralbob joined the channel
      • hoppi
        Any devs around? theres an edge case on managed accounts update api (im using test atm)
      • gives an unknown error occurred
      • gwendall joined the channel
      • venom joined the channel
      • venom is now known as Guest14072
      • tildedash
        guys, do you receive webhooks during your tests ?
      • koopajah joined the channel
      • morningp joined the channel
      • Guest14072 has quit
      • Greip has quit
      • hoppi
        @koopajah you have an api unknown error occurred on updating the managed accounts api
      • koopajah
        hoppi: hum I'd need a bit more than that to look into it :)
      • morningp has quit
      • hoppi
        it happens when you change the default currency to a different one
      • it should say cant change default currency or something
      • stripe joined the channel
      • instead just gives "unknown error"
      • country is GB, changing default USD currency to GBP
      • only change
      • stripe
        Hello
      • Does anyone know if you can access the transaction fee for each charge?
      • koopajah
        stripe: it's in the balance transaction ( https://stripe.com/docs/api#balance_transaction... ) associated with each charge
      • hoppi
        Changing the default currency to say CAD from USD with the country GB gives a helpful error message but USD -> GBP gives unknown
      • feralbob has quit
      • koopajah
        hoppi: yeah I can reproduce, not sure what's going on here, you'd need to email support for this
      • hoppi
        okay
      • koopajah
        if you add "koopajah" somewhere I can find it and make sure someone follow up with you once it's fixed
      • hoppi
        ok
      • koopajah
      • hoppi
        ok thanks
      • stripe
        koopajah: thanks
      • koopajah
        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?
      • tildedash
        yes
      • in test mode too
      • koopajah
        stripe: $balanceId = $charge->balance_transaction;$balance = Stripe_BalanceTransaction::retrieve($balanceId);
      • tildedash: have you looked at one event in your Stripe dashboard? at the bottom you can see the list of webhook endpoint and the results
      • bhmk: This usually means that you are connecting your own account to yourself. Is that the case? I would advise testing with two separate accounts
      • tildedash
        it's written : "Set up test webhook URLs to receive webhooks." but I've already configured these URL
      • stripe
        koopajah: i will try that
      • koopajah
        hum what's the date on that event? Is it from before you added the endpoint URL?
      • stripe: I would advise echo-ing variables too and playing with it yourself! :)
      • stripe
        Thanks
      • btw you're a developer at stripe, right?
      • tildedash
        no, after. Does action from the stripe dashboard (like capturing a charge) send webhooks too ?
      • koopajah
        tildedash: yes most things you do in your Stripe account send events to your webhook
      • tildedash
        even if I capture a charge created before the creation of the webhook endpoint ?
      • feralbob joined the channel
      • koopajah
        yes. You can see the event in your dasboard. If you see an event and have a webhook endpoint URL it would get sent
      • stripe
        koopajah: I haven't really used JSON before, is $balance == to the amount paid?
      • derferman joined the channel
      • koopajah
        stripe: Have you just tried to look at the number and see what's in it?
      • feralbob_ joined the channel
      • stripe
        I tried but I got this error 'Class 'Stripe_BalanceTransaction' not found'
      • micahalles joined the channel
      • I'm using init.php, shouldnt it load that?
      • koopajah
        ok I suppose you need me to code the whole thing completely, so let me whip up a quick example for you!
      • feralbob has quit
      • w400z joined the channel
      • stripe
        Nope, I just need to know how to use that class. I expected init.php to do it, because its worked for everything else
      • koopajah
        because it's not Stripe_BalanceTransaction but \Stripe\BalanceTransaction
      • stripe
        Yes, but how do i include that in a use statement
      • koopajah
        I'm writing an example I think that will be easier, give me 5 minutes
      • stripe
        Thanks :)
      • bhmk
        @koopajah i have 2 accounts. the account im talking about is admin account(for me) and another is like a seller. i got 15usd in that account too...
      • koopajah
        stripe: http://pastebin.com/MS1S7GHz does that help a bit more?
      • ParamountTechnol joined the channel
      • 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
      • irctc750 has quit