#stripe

/

      • chris___
        hm thats weird, they wont allow me to use shopify payments anymore D:
      • Would you guys recommend inputting my products in the stripe dashboard or is there a way to integrate products into stripe from shopify?
      • markin
        chris___: I don't think Shopify supports relay
      • bklane has quit
      • chris___
        alright, so from the sounds of things my website is functional for payment again
      • puddles
        markin: sorry, yeah. I understand.
      • bwa has quit
      • Guest77300 has quit
      • tr12
        chris___: separately, if your shopify payments account was rejected, there's a relatively high chance your stripe account is going to be rejected as well, since shopify payments is basically just a white-labelled version of stripe
      • chris___: you may want to sanity check with support that stripe will be able to work with your business
      • bklane joined the channel
      • bwa joined the channel
      • chris___
        how to do check with stripe?
      • markin
      • chris___
        They just stopped letting me use shopify because of "Elevated Chargeback Risks"
      • markin
        yeah, Stripe tends to be fairly chargeback sensitive, so its possible that Stripe might find you a bit risky too
      • it'd depend a bit if Shopify thought you were risky or Stripe did
      • chris___
        Yeah fair enough
      • I have a back-up plan of using authorize.net if all falls through with stripe
      • bwa has quit
      • puddles has quit
      • But in the mean-time stripe seems like the quickest and easiest method with shopify
      • cryptocronus has quit
      • Guest77300 joined the channel
      • bwa joined the channel
      • bwa has quit
      • kies^ joined the channel
      • chris___ has quit
      • landakram joined the channel
      • ditiha joined the channel
      • ditiha
        Hi, In my balance history it says one balance will be available on 1/28/16 16:00, but it is already 4:30 pm now. What happened to that balance?
      • It is still pending
      • markin
        ditiha: available_on dates are not totally precise, you should listen to the balance.available webhook
      • ditiha
        Thanks for the response. but this is really annoy... so you are telling me the dashboard is incorrect? .....That's ..
      • But what if we have no webhook setup.... How can I know when will my balance be available?
      • markin
        Funds generally become available after 2 days or after 7 days. The exact minute can be a bit off
      • ditiha
        k, it is 7 days already... I can wait for a bit more..
      • thanks
      • markin
        Or you can just use automatic transfers
      • V28 joined the channel
      • bklane has quit
      • bwa joined the channel
      • bklane joined the channel
      • bklane_ joined the channel
      • bklane has quit
      • Dani__ has quit
      • bwa has quit
      • landakram has quit
      • moeabdol joined the channel
      • moeabdol
        hello guys
      • I was wondering if stripe is available for businesses in the middle east
      • jaymedavis joined the channel
      • bklane_ has quit
      • jaymedavis has quit
      • manfrin has quit
      • blaflamme joined the channel
      • truepudding joined the channel
      • V28 has quit
      • V28_ joined the channel
      • V28_ has quit
      • landakram joined the channel
      • dsilfen has quit
      • truepudding has quit
      • tr12 has quit
      • mcwendy has quit
      • ChrisChase joined the channel
      • Guest9017 has quit
      • landakram joined the channel
      • tr12 joined the channel
      • tr12
        moeabdol: stripe isn't available in the middle east yet: https://stripe.com/global
      • ditiha has quit
      • bklane joined the channel
      • ywain_ has quit
      • ChrisChase has quit
      • ywain_ joined the channel
      • Guest77300 has quit
      • bwa joined the channel
      • mrtrosen has quit
      • mrtrosen joined the channel
      • bwa has quit
      • bklane has quit
      • irctc830 joined the channel
      • irctc830
        Hi guys
      • tr12
        hello
      • bklane_ joined the channel
      • irctc830
        Does anyone know when you send your prospective connect users to signup/login, whether it's possible to be sent back additional meta data (like there user id in a database) so when they are returned to your url, you can save there stripe connect account id into there user record?
      • tr12
        irctc830: there's a `state` parameter you can pass to the oauth link to do exactly this
      • irctc830
        cool:) i just seen that, that will be perfect.
      • tr12
        note, of course, that the user can tamper with this value
      • so if you're passing a user_id back, you'd need to make sure that I can't just plug in alice's user id
      • irctc830
        hmm, good point:)
      • tr12
        if the value you're passing around is essentially "which user is this", you may want to just key this off your normal session authentication, if you have one of those
      • basiclaser has quit
      • because when the user is redirected, they're still using their own browser, so they'd still have their session cookie set, if your system uses those
      • felipe_ joined the channel
      • irctc830
        yeah, unfortunately not.
      • This is for an App.
      • tr12
        like a mobile app?
      • irctc830
        so we have a single page with no login / session control in place.
      • tr12
        you're presumably doing this in a webframe or something?
      • irctc830
        well, we're actually diverting the user to a url outside of the App to do this.
      • The user can't login to the App until they successfully connect to our Stripe account.
      • Sambru joined the channel
      • felipe has quit
      • tr12
        they're presumably halfway through signup or something at this point, right?
      • otherwise you'd have nothing to tie back to in your db
      • irctc830
        Our flow at the moment is 1) Email to user (who already has a user id in our database but can't login) with url to connect Stripe. 2) Once signed up, taken to a open url with which we direct them to download the app and login.
      • yes
      • they're already half way through the signup, so a userid exists.
      • tr12
        presumably that url contains a secret already, right?
      • something to identify the user?
      • you could just pass that same secret as the state param
      • actually, better yet
      • set it as an http-only cookie tied to your own domain when you render out the response to that url
      • then stripe doesn't get to see that secret
      • gnoze5 has quit
      • irctc830
        Ok tr12, thanks, will give it ago.
      • one question on your previous suggestion.
      • tr12
        neato
      • irctc830
        if we do simply pass it userid to the state method, i thought as soon as it url redirects, you could simply query the user table for this stateid and update...how is it possible for this stateid to be modified before reaching this point?
      • regarding your point that someone could modify this stateid..
      • tr12
        update the table how?
      • as for the modification thing, your app gives me the client a url that it wants me to go to. but I might go to that url, then notice that there are some parameters in the url that I can fiddle with.
      • there's absolutely nothing stopping me from going to connect.stripe.com/oauth/authorize?state=foo&am..., and editing that to connect.stripe.com/oauth/authorize?state=bar&am....
      • irctc830
        ahh:P
      • gotya.
      • markin
        tr12: does the chrome developer console let you change http only cookies?
      • tr12
        markin: it does, but that's not the point of http-only cookies
      • markin: it's just generally good practice to make secrets http-only, because then they're not going to get leaked if you get XSS'd
      • felipe_ has quit
      • markin: this absolutely doesn't defend against a user tampering with the value - what defends against that is the fact that you're using something considered to be secret as the cookie
      • markin
        yeah, I was just making sure that the reason behind it wasn't to defend against user tampering
      • tr12
        reasonable sanity check
      • ike joined the channel
      • ike is now known as Guest86691
      • Sambru has quit
      • truepudding joined the channel
      • bklane_ has quit
      • bolb has quit
      • truepudding has quit
      • landakram has quit
      • bklane joined the channel
      • lacuna has quit
      • ChrisChase joined the channel
      • trevor joined the channel
      • tristanseifert joined the channel
      • nemothekid joined the channel
      • dsilfen joined the channel
      • dsilfen has quit
      • dsilfen joined the channel