#stripe

/

      • moolz has quit
      • g3funk has quit
      • g3funk joined the channel
      • moolz joined the channel
      • kaspertidemann has quit
      • moolz has quit
      • camroncade has quit
      • webdestroya has quit
      • neocamel joined the channel
      • neocamel
        Is there a way to add a required checkbox using simple integration checkout?
      • cbw joined the channel
      • cbw
        If anyone from Strip is around, i'm curious about your internships. I'm having a hard time finding any official info on your site.
      • wsmoak
        neocamel: you can add additional fields to the form. they will get submitted along with the token.
      • neocamel
        I tried that, and I didn't see the field appear in the popup. Can you do that with the Simple Integration method?
      • wsmoak
        neocamel: you can’t add things to the overlay. it would be on your own page, before they click the button.
      • neocamel
        Oh I see. And I could mark it as required, so they can't open the popup unless the click the box?
      • Ahh i just tried that, and I was still able to open the popup without clicking the "I agree to the terms and conditions" checkbox.
      • wsmoak
        you might have to switch to a custom button, so you can disable it until that checkbox is checked
      • but you’ll have to re-confirm on the server side anyway… so you can send them back to the page if it wasn’t checked
      • neocamel
        I see. Ok thanks
      • aracodex123 joined the channel
      • I was just looking for an easy way to force visitors to accept terms and conditions before making a payment. It looks like it's going to be more complicated than that
      • neocamel has quit
      • mripguru has quit
      • bmulholland has quit
      • cbw has quit
      • petey joined the channel
      • Sid_viswanathan has quit
      • petey has quit
      • petey joined the channel
      • jxpx777 has quit
      • jxpx777 joined the channel
      • rubyonrailed has quit
      • kaspergrubbe has quit
      • bmulholland joined the channel
      • lv joined the channel
      • bmulholland has left the channel
      • jameshk has quit
      • lv
        Hi, we have just started using the Stripe ios bindings again. We need to tokenize and store a bank account supplied by the user, there used to be a method in the ios bindings to do this, does this method still exist or do we need to use a mobile -> server -> stripeServer flow to achieve this now?
      • brockhaywood has quit
      • petey has quit
      • kaspergrubbe joined the channel
      • arndt joined the channel
      • arndt has quit
      • danielstjules joined the channel
      • kaspergrubbe has quit
      • jxpx777 has quit
      • danielstjules has left the channel
      • brockhaywood joined the channel
      • hybrdthry911
        I can set you up with one if you need
      • iv:
      • lv:
      • you don’t want to send the information to your backend
      • jxpx777 joined the channel
      • mikesea has quit
      • mikesea joined the channel
      • lv has quit
      • g3funk has quit
      • mikesea has quit
      • g3funk joined the channel
      • awfy has quit
      • awfy joined the channel
      • wsmoak has quit
      • lv joined the channel
      • lv
        hybrdthry911: so what is the accepted method for tokenizing a bank account supplied by the user using stripe from iOS?
      • hybrdthry911
        there is none in the stripe sdk
      • MrMcDowall joined the channel
      • I implemented my own using their card format easily though
      • nemothekid has quit
      • mikesea joined the channel
      • Luke joined the channel
      • nemothekid joined the channel
      • Luke has quit
      • Let me see if i can draw up a quick category that can do this easily
      • lv
        hybrdthry911: Some pointers on the topic would be helpful. Do you know what Stripe officially recommends to achieve this? I'm not sure if i should send the request to my server using https and then tokenize on the backend using the rest api, or use the rest api directly from the mobile app and then submit the generated token to my server.
      • drale2k joined the channel
      • hybrdthry911
        I don’t know the official stance from stripe but I would treat them exactly like CC information
      • I wouldn’t pass the bank account info through my backend
      • the CC information is tokenized directly from the client, so that is how i would get a ba_token
      • rfunduk
        if you pass bank info or cc info to your backend you're definitely opening yourself up to some pretty major PCI requirements
      • lv
        rfunduk:
      • hybrdthry911:
      • Thanks, we definitely don't want to open ourselves to that at this stage. I will look into using the rest api from the app
      • hybrdthry911
        i was going to try to duplicate the CC tokenization, but most of the methods are private making it hard to subclass
      • They should add this method to their SDK…hint hint anyone working at stripe
      • netcarver has quit
      • lv
        The strange thing is createTokenWithBankAccount method used to exist in the iOS bindings, i wonder why it was removed
      • webdestroya joined the channel
      • rubyonrailed joined the channel
      • hybrdthry911
      • I have my own ELToken subclass of STPToken which has the bank account added, as STPToken only has card's
      • Then I have my own ELBankAccount class for the bank accounts. I added the formEncode method so it conforms to the STPCard call
      • and then i subclasses stripe and overrode a few methods
      • well only one, and exposed 2 others
      • danielstjules joined the channel
      • MrMcDowall has quit
      • brockhaywood has quit
      • danielstjules has left the channel
      • rubyonrailed has quit
      • lv
        hybrdthry911: Thanks so much, that's basically what I just started writing. Do you mind if i adapt it to my use?
      • drale2k_ joined the channel
      • drale2k has quit
      • hybrdthry911
        yeah go for it
      • I was just thinking about it
      • you may not even need to subclass stripe
      • rubyonrailed joined the channel
      • if all you need is the tokenID
      • lv
        cheers, you are a champion
      • hybrdthry911
        just stuff the bankAccount into the createTokenForCard
      • lv
        Yeah all i need is the tokenID
      • hybrdthry911
        so as long as your bankAccount class has that formEncode like I have in mine, it shoudl work
      • let me test that out
      • rubyonrailed has quit
      • Sid_viswanathan joined the channel
      • yup it works
      • just typecast the bankAccount as a STPCard and it works lol
      • lv
        awesome i'll test it out soon
      • hybrdthry911
        I updated the gist with the bare minimum
      • but you can look at the revisions, I just made need be
      • Sid_viswanathan has quit
      • derferman joined the channel
      • boucher joined the channel
      • rfunduk has quit
      • brockhaywood joined the channel
      • brockhaywood has quit
      • rdymac has quit
      • lv has quit
      • mikesea has quit
      • Bulk- joined the channel
      • Bulk has quit
      • nibbl has quit
      • west joined the channel
      • west
        This is cool.. never used freenode
      • So this is an official stripe support channel ?
      • webdestroya
        no
      • mtthw has quit
      • west: read the channel topic
      • west
        Thanks... .Does anyone know if stripe handles duplicates or is it up to me to do it on my side? Meaning if I create a plan or a customer or anything can i create duplicates on the stripe side?
      • nibbl joined the channel
      • rubyonrailed joined the channel
      • rubyonrailed has quit
      • west has quit
      • derferman has quit
      • derferman joined the channel
      • vascodigama joined the channel
      • vascodigama
        hello
      • vascodigama has quit
      • hybrdthry911 has quit
      • rubyonrailed joined the channel
      • rubyonrailed has quit