#stripe

/

      • edgarjs_ joined the channel
      • edgarjs_ is now known as edgarjs
      • edgarjs
        I'm retrieving a BalanceTransaction object, and it has "available_on": 1430265600, which has already passed, but funds are still not availble
      • dixon has quit
      • what time zone is this timestamp in?
      • bkrausz has quit
      • markin
        edgarjs: its unix timestamps so utx
      • *utc
      • dqsf
        edgarjs: the timestamp is utc
      • edgarjs
        markin, dqsf ok so I'm doing it right, but funds still aren't available
      • dqsf
        edgarjs: I'd email support@stripe.com with these type of questions. They'll be able to look up your account details and see what's going on
      • edgarjs
        ok, thank you
      • TazDevil joined the channel
      • aracodex_ has quit
      • kellysutton joined the channel
      • jgoldberg has quit
      • TazDevil has quit
      • vlad__ has quit
      • dqsf has quit
      • calibrun joined the channel
      • calibrun
        API question-- is a card guaranteed to have an associated country (Two-letter ISO code representing the country of the card)?
      • yanokwa joined the channel
      • aok has quit
      • jtmarmon has quit
      • edgarjs has quit
      • dqsf joined the channel
      • dqsf has quit
      • yanokwa has left the channel
      • yanokwa joined the channel
      • yanokwa joined the channel
      • dqsf joined the channel
      • layke has quit
      • yanokwa
        Anyone home? dqsf?
      • dqsf has quit
      • Seventoes
        don't ask to ask, just ask :P
      • Scellow_ has quit
      • brockhaywood joined the channel
      • rdymac has quit
      • rdymac joined the channel
      • dqsf joined the channel
      • markin
        calibrun: yup
      • yanokwa: just ask your question
      • gladely has quit
      • PrplHaz4__ joined the channel
      • calibrun
        I definitely had an amex card process without giving a country. bug with the API? is it something I should follow up with somehow?
      • cryptocronus has quit
      • markin
        calibrun: id email support@stripe.com about that
      • The bin code of the card should provide a country
      • dqsf has quit
      • yanokwa
        markin turnaround time for email seems to take a few days. any faster support options?
      • markin
        yanokwa: depends on the issue
      • calibrun
        markin: bin code? the country also doesn't show up for that particular purchase/card in the dashboard
      • markin
        calibrun: yeah so stripe should pick that up automatically based on the first 6 digits of the card number , hence I'd email support@stripe.com
      • calibrun
        markin: sounds good, thanks
      • yanokwa joined the channel
      • nicholaswyoung has quit
      • bkrausz joined the channel
      • yanokwa joined the channel
      • calibrun has quit
      • aok joined the channel
      • gladely joined the channel
      • nemothekid has quit
      • bkrausz has quit
      • nemothekid joined the channel
      • pl3bs joined the channel
      • irctc471 joined the channel
      • irctc471
        hello
      • irctc471 has quit
      • mtthw has quit
      • andrewhughes11 has quit
      • w400z has quit
      • cryptocronus joined the channel
      • lenazun has quit
      • derferman has quit
      • lenazun joined the channel
      • delightfulbot_ joined the channel
      • irctc642 joined the channel
      • irctc642 has left the channel
      • lenazun has quit
      • lenazun joined the channel
      • yanokwa joined the channel
      • semiac_ joined the channel
      • shinichi joined the channel
      • shinichi
        hello
      • gladely joined the channel
      • markin
        hi shinichi
      • shinichi
        i am studying the "Connect",
      • I did read documents and api doc
      • carefully many times
      • but there are some confuses, could you make it clear for me
      • markin
        sure, just ask your questions
      • gwendall_ has quit
      • shinichi
        so, we have: "Platform" (me), Seller (Connected account), Customer (End user whom seller sell product to)
      • is customer charge go to Seller account
      • not platform?
      • i mean: seller and customer do a transaction directly, and platform just observe and may charge seller application-fee
      • or customer charge goto platform, later then, platform will payout the seller
      • markin
        you can do that, just charge directly to the seller's account https://stripe.com/docs/connect/payments-fees#c...
      • or you can do the later by charging through the platform
      • PrplHaz4__ has quit
      • shinichi
        so, I have built an app that use my keys to charge user
      • if i use connect
      • would app use keys of "seller"
      • instead of mine
      • markin
        you'd never use the seller's api keys, you'd use the stripe-account header if you want to make charge charge come from the sellers account https://stripe.com/docs/connect/payments-fees#c...
      • shinichi
        so, I have my client app, that integrate with connect, use platform keys
      • nemothekid joined the channel
      • when user buy a product, the payment process will generate a token
      • for charge
      • markin
        you'd generate a token using their publishable key and then you'd pass the stripe-account header when you create a charge
      • nerdfiles has quit
      • shinichi
        mmm, so, if charge through platform, is fund will goto platform bank account
      • and platform need do manual transfer to connecter account?
      • markin
        if you set the destination on the charge, Stripe will automatically make a transfer from your account to the connected account
      • shinichi
        yes, seem more clear
      • thanks you so much
      • markin
        you're welcome
      • shinichi has quit
      • bkrausz joined the channel
      • nerdfiles joined the channel
      • pl3bs has quit
      • stripe joined the channel
      • stripe
        Hello
      • I've asked this question multiple times before, both on here and SO but I still don't have an answer
      • markin
        stripe: whats the question?
      • stripe
        If you refresh the page after you're charged you get this error '\Stripe\Error\InvalidRequest' however you cannot catch it
      • markin
        stripe: what does your php code for that page look like?
      • stripe
        So if a user refreshes the page once they purchase a product, how am I supposed to give them a user-friendly error
      • markin
        it should be catchable, my guess is you're just not catching the right stripe call
      • stripe
        It's a try/catch charge
      • markin
        do you also create a customer?
      • stripe
        Yeah, I've tried heaps of different phrases such as removing the \ at the start, and it still doesn't work
      • Yeah I've made a customer, everything works fine except for this
      • markin
        so you should have a try/catch around the customer creation
      • stripe
        I will see if that works
      • Are the catch errors the same for the customer?
      • markin
        yeah
      • stripe
        okay thanks
      • Are all of them necessary though?
      • markin
        it depends, you could just catch the base Stripe error or if you want more specific handling you could handle them individually
      • stripe
        That fixed the problem, awesome
      • thanks for the help
      • kies joined the channel
      • markin
        you're welcome
      • stripe
        If you're not saving the customer's details, what's the point of creating one?
      • markin
        stripe: there wouldn't really be one, you could create charges against their card in the future, but if you're only doing one time charges and making the customer enter card details each time, no real purpose
      • stripe
        thanks
      • aok has quit
      • lenazun has quit
      • nerdfiles has quit