#stripe

/

      • msnyon_ has quit
      • prgmmr
        Alright I'll try that out
      • parkersweb joined the channel
      • irctc534
        Hello Stipe, I am trying to update a APO adress in stripe and it is failing to validate the zip code. The customer states the adress on her end won't save as well.
      • Sorry the customer had an old adress and is trying to update it to a APO adress
      • kyle_ joined the channel
      • kyle_
        Hello stripe, dev question
      • I want to use stripe.js in our webapp frontend
      • kyle_ is now known as Guest45138
      • asheinfeld joined the channel
      • Guest45138
        is that possible?
      • basically I created a few plans in stripe, I want to display them on the pages. Can I pull them through stripe.js?
      • Guest4049 has quit
      • ?
      • ajs_
        Guest45138: you can pull the plan names through the API, not stripe.js
      • asheinfeld has quit
      • Guest45138
        AHA!
      • Thanks
      • Just curious, any reason that stripe.js is not available in frontend?
      • Jrz joined the channel
      • ajs_
        hm, i'm not sure what you mean. Stripe.js is what you'd use on the front end of your app to send us card details
      • Jrz has quit
      • irctc534
        Did anyone see my question?
      • Jrz joined the channel
      • Jrz has quit
      • Jrz joined the channel
      • Jrz has quit
      • Guest45138
        I am looking at
      • ajs_
        irctc534: the zip code on the card would have to match what the bank has on record
      • Jrz joined the channel
      • Jrz has quit
      • Guest45138
        The library there is for node/ruby/python/php, but not frontend support
      • Jrz joined the channel
      • Jrz has quit
      • ajs_
        Guest45138: you'd use the API to retrieve things like plan names and display them on the front end with whatever language you're using in your app
      • Jrz joined the channel
      • Jrz has quit
      • Jrz joined the channel
      • LatoSans has quit
      • Guest45138
        ok. So let me ask another question, what is the advantage of using stripe.js vs restful API?
      • markin
        Guest45138: Stripe.js is only to help you be PCI compliant so that your API doesn't have access to card details
      • Guest45138
        other than that, they are the same functionally?
      • markin
        Guest45138: Stripe.js only lets you convert card details into card tokens, it does nothing else
      • irctc534 has quit
      • asheinfeld joined the channel
      • Guest45138
      • markin
        Guest45138: so the libraries are just ways to access the REST Api
      • Stripe.js and Stripe Checkout are tokenization methods to reduce your PCI compliance burden
      • Guest45138
        I see. They are both to be embedded in webpage correct?
      • I guess stripe.js allows custom forms
      • markin
        Stripe Checkout and Stripe.js are used on the front end of your webpage. The libraries are used server side
      • Stripe.js is for the custom forms use case
      • Guest45138
        I see
      • thanks
      • I guess frontend API is restful only, no equivalently of node.js libraries?
      • markin
        what do you mean?
      • Guest45138
        *equivalent
      • markin
        There is a Node.js library for Stripe but it should be used by your backend not your front end
      • if your front end could use it, that means your users could do horrible things to it
      • Guest45138
        can you give me an example?
      • exs
        another question. should I force my user to verify his email and which advantages would I get with the verification process?
      • markin
        Guest45138: I'm confused at what you're confused about
      • Guest45138
        what damage can it do if I install node.js library on frontend?
      • markin
        Guest45138: I can refund my charge, I can refund every charge you ever made
      • I can transfer all your money to my bank account
      • I can create tons of fraudulent charges and get your Stripe account disabled
      • vmayoral joined the channel
      • Guest45138
        these functions are not available through restful API ?
      • markin
        All those functions are availble through the rest api https://stripe.com/docs/api
      • ajs_
        exs: that's a choice you'll have to make depending on your app independent of Stripe
      • markin
        The Node.js library is just a wrapper of the restful library
      • Guest45138
        I am trying to find out the functional difference between API and library. I guess libraries can do a lot more than API
      • keybrdist joined the channel
      • can I transfer money by calling rest api from frontend?
      • exs
        ajs_, I know in general I wonder why I should verify the customers email addresses in general. Why should I care about their address. In my process they can only sign up with a valid credit card. In the stripe checkout.js they are asked for a email address. So its nice to have an kind of overview in your stripe backend, but I dont really care about their addresses. I want their money :D
      • markin
        Guest45138: the Library does everything the API does
      • exs
        so there are maybe rational arguments why I should verify their addresses?
      • irctc079 joined the channel
      • nickname101 joined the channel
      • markin
        exs: their email address is so you can email them and send them their receipt or process a refund, etc
      • asheinfe_ joined the channel
      • asheinfeld has quit
      • bvyask
        Just to confirm: Is an invoice comprised with a series of invoice items? Can I create an invoice item for each item in the shopping cart (which consists of subscriptions and one time charges), and process that as a single invoice?
      • markin
        Guest45138: there is nothing the library can do that the API can't do
      • zimminy has quit
      • exs
        markin, the only argument I see is for the refunding processes. Because if I have no address I cant be sure that its the same user requesting for refunding.
      • Guest45138
        but library does more than api ?
      • nickname101
        hello, my account was just suspended because support thinks that one of the charges (that didn't even go through) "wasn't consented" to. How do I prove consent and get my account back online?
      • Guest45138
        so I can transfer money with rest api?
      • daviduw joined the channel
      • daviduw
        hello
      • markin
        exs: well many states require you provide the person with a receipt.
      • daviduw
        anyone here?
      • markin
        Guest45138: you can. The library can only do what the API allows, nothing more
      • ajs_
        nickname101: you'll have to email support@stripe.com. this chat is just for developer support
      • exs
        markin, yea but the stripe receipt email notification would be enough for it?
      • markin, and why should it be my problem if they dont give a valid address. I just send the email away
      • markin
        exs: I'm just saying you probably want the email, whether or not you want to verify it is up to you
      • nickname101 has quit
      • Guest45138
        So how do I make sure that does not happen?
      • vmayoral has quit
      • markin
        Guest45138: you don't use your secret API key anywhere your user has access to it (like in your html)
      • exs
        markin, yea ok I just talk about the verification. I will ask for the email address, but I just wonder why should I implement a time consuming verification process? What could be the advantage for it that is worth
      • Guest45138
        when I call rest api I only need to supply my public key right?
      • markin
        exs: mainly you want to do that if you have a username / password system
      • Guest45138: The rest API requires your private key, since only your server should be calling the rest api
      • asheinfeld joined the channel
      • Guest45138
        back to square one....I need to read all the plan data from stripe to frontend. Is there a SECURE way I can do this from frontend?
      • daviduw
        does anyone know what mistake could result application_fee not charging?
      • markin
        Guest45138: no, you have to do it from your backend and pass it to your front end
      • daviduw: if you go to Stripe's dashboard you can go to the logs section and ensure that Stripe is actually getting the application fee
      • daviduw
        oh ok thx
      • tboudreau has quit
      • so it wont show up in payment
      • or dashboard?
      • @markin
      • markin
        dave_g: Dashboard -> Logs
      • Guest45138
        ok. But that seems like an inefficient way of doing things
      • markin
        Guest45138: its a security thing, with payments you likely want to control what your users get access to
      • Guest45138
        for read calls, why does stripe require a secret key?
      • msnyon joined the channel
      • markin
        Guest45138: yes, if Stripe did not then anyone could just read all your charges
      • asheinfeld has quit
      • davecap joined the channel
      • daviduw
        I didnt see any application charged on my platform dashboard
      • application fee*
      • Guest45138
        I would imagine most of the time those data are to be displayed on public accessible pages? It would be easier if there is a way for users like us to specify if an API call requires secret key...just a thought
      • daviduw
        but ive already added "application_fee" in my charging object
      • parkersweb has quit
      • massd joined the channel
      • nvm i found it
      • thx a lot
      • dave_g has quit
      • daviduw has quit
      • irctc079 has quit
      • markin
        Guest45138: but I shouldn't be able to see the charges you made for another customer, I should only be able to see my charges
      • Guest45138
        exactly, I will specify which API can be public so that calls like charges still require secret key but calls like listing plans require nothing
      • SteenJobs joined the channel
      • SteenJobs has quit
      • 'Everything is secret until I specify otherwise'
      • bkrausz has quit
      • massd
        hola - I'm a bit confused about the relationship between transfers, balances and balance transactions. If I have managed account A who receives an automated weekly transfer (id = tr_123) for $X, how do I query the API to find the complete list of original charges that are included in tr_123? e.g., if the transfer is $100, I want a list of the $50 $25, $10,$10 and $5 transactions that comprise it.
      • markin
        Guest45138: or you can just make your own api for that, it'd be pretty trivial to make your own api to front end that
      • irctc500 joined the channel
      • irctc500
        hey markin i tried the ::client = ... and didnt work
      • markin
        massd: the charge will list the payment id. Then the balance history api will let you know what payments were in each transfer https://stripe.com/docs/api#balance_history
      • irctc500: so you did ::client = ... in the initializer and then in your controller using client gave an error?