#stripe

/

      • csalvato
        fels: if your servers are storing CC#s, then you must be PCI compliant. If you send the data to stripe to make a token first, then use that token to process payments and use the token in your database/API calls, you don’t have to be PCI compliant.
      • michagogo has left the channel
      • fels
        csalvato: so from the mobile app to stripe to get he token - ?
      • csalvato
        Yep. If you don’t know how to do that, this might be helpful: https://stripe.com/docs/mobile/ios
      • cirenyc
        Is there a suggested approach for using coupons with charges that are not recurring?
      • Or do I need to calculate the discounted amount locally before handing off to Stripe to do the charge?
      • csalvato
        fels: Mobile app sends info to Stripe -> Stripe creates token -> Sends token to your server for payment processing -> dance the dance of happy profits.
      • fels
        csalvato: I'm using IONIC
      • csalvato
        cirenyc: You can calculate discounted amounts, but if you want to use Stripe’s coupons you need to create the coupon with Stripe, then *invoice* the customer, not charge them.
      • cirenyc: “Coupons only apply to invoices; they do not apply to one-off charges.”
      • cirenyc
        Okay, read that...wanted to make sure I wasn't missing something.
      • I'm not entirely sure yet if Invoices will fit our needs, but I'll read up a bit more on that.
      • Thanks.
      • csalvato
        cirenyc: An invoice can effectively be a charge if you trigger a payment attempt immediately.
      • fels: oops, sorry about that then…the ios libraries need not apply. Same solution, though. Send CC info to Stripe API via SSL and receive the tokens. Save or process tokens on server for making payments.
      • cirenyc
        Cool...invoices might work then.
      • jpd_ has quit
      • markin
        though invoices will automatically retry and do some weird stuff, I recommend just doing coupons on your own end for one off charges
      • Smack has quit
      • csalvato: your server doesn't even have to store cc# to fall into pci scope :)
      • nerdfiles joined the channel
      • csalvato
        markin: :D
      • sb__ has quit
      • sb_ joined the channel
      • irctc108 joined the channel
      • ywain_afk has quit
      • goddard has quit
      • ywain joined the channel
      • sb_ has quit
      • ywain has quit
      • sandstrom joined the channel
      • PSClaire_ has quit
      • tarbywobble joined the channel
      • nilsmunch has quit
      • mikael123 joined the channel
      • tarbywobble
        Hello, I'm currently testing Stripes new ACH beta, in attempting to create a bank account token I get the following error "Must only use a test bank account number when making transfers or debits in test mode"
      • does anyone know why this is?
      • _greebo_ joined the channel
      • is attaching test accounts to customers simply not allowed at this time?
      • csalvato
        tarbywobble: Beta questions can’t be answered here. You need to send this in to support@stripe.com :)
      • tarbywobble
        thanks for your help
      • i will do that
      • csalvato
        tarbywobble: *thumbs up*
      • tarbywobble has quit
      • _greebo_
        Hello, does anyone have any recommendations on card readers that we could use at a front counter?
      • pampuchy has quit
      • mikael123
        hello Stripe, is it possible to get the total volume of the connected managed accounts? thanks
      • ta joined the channel
      • s3shs joined the channel
      • csalvato
        _greebo_: It looks like there is a third party company making a card reader https://www.innerfence.com/stripe-mobile-app-ca... … but you may be better off going with a company that will give you a better rate for card-present transactions. Card Present transactions with a service like Square generally give rates of 1.9% or so, instead of stripes 2.9% + 30¢.
      • mikael123
        instead of going to each one of the one by one?
      • _greebo_
        csalvato: Yeah I saw innerfence and a couple of others, and considering square or paypal here. We're mainly hoping to use Stripe so it's easier to keep track with accounting
      • rossettistone joined the channel
      • our card present volumes are low
      • there are card readers you can buy outright, could one be integrated into a web form?
      • csalvato
        _greebo_: I guess you can figure in the extra cost as an accounting cost then. I haven’t used innerfence, but don’t know of any other solutions. You can always use the Stripe Mobile App and just input the card details by hand.
      • mikael123: I am not an expert on Stripe Connect or managed accounts just yet, but it seems like you would want to get a list of all managed accounts, then look up their transaction details: https://stripe.com/docs/api#list_accountshttps://stripe.com/docs/api#retrieve_account. It sounds like you tried this, and that’s not what you want?
      • rossettistone
        o/
      • can anyone advise how to transfer money from a bank account *into* a Stripe account? have been searching the docs to no avail
      • csalvato
      • rossettistone: It’s not possible to do a transfer from your bank to Stripe. But if you want to do that, you can make a charge on your card.
      • tish joined the channel
      • Nowaker has left the channel
      • _greebo_
        csalvato, yeah checking through those
      • thanks
      • rossettistone
        csalvato: hmm, ok. but that would involve paying transaction fees, no?
      • manfrin joined the channel
      • tish
        I'm trying to upload files for disputes, and getting this message: 'The file you uploaded is not supported. Have you checked to make sure it is not corrupted? If you continue to experience errors, please contact support@stripe.com';
      • rossettistone
        csalvato: given the amount of money that we want to move in, those fees would be prohibitively large
      • bbomal joined the channel
      • bbomal
        Does it matter if I specify currency as uppercase or lowercase? I.e. usd vs USD?
      • rossettistone
        csalvato: do Stripe admins (i.e. support@) have a button they can push to move funds from our bank account into our account?
      • _greebo_ has quit
      • V28 has quit
      • V28 joined the channel
      • csalvato
        rossettistone: That’s right. The standard 2.9% + 30¢. Just curious: why do you need to put money on your Stripe balance?
      • jeregrine has left the channel
      • rossettistone: I am not a Stripe employee, but I have read stories of people’s Stripe balance going negative, and Stripe requiring an inbound wire transfer. I am sure in extreme cases it’s possible, but I don’t know the policy.
      • rossettistone: Best to contact support@stripe.com with full details to get a definitive answer if its an extenuating circumstance.
      • markin
        rossettistone: why do you need to get money into the account?
      • ike joined the channel
      • rossettistone
        csalvato: It’s a one-off business need - happy to share details in a private thread with support. I’ve emailed support@, but it’s been 5 days without an answer to my question, so I figured I’d ask here.
      • irctc108 has quit
      • ike
        is it possible to have multiple credit cards per customer in stripe?
      • rossettistone
        csalvato: Yeah, I think you’re describing the `debit_negative_balances` flag, which I’ve seen used to debit bank accounts before. Which makes me think there’s a manual way for Stripe admins to do this...
      • markin
        ike: yes (the docs should make that pretty clear)
      • fels has quit
      • saikat has quit
      • rossettistone: if you're in the US, Canada, Australia, stripe will automatically withdraw from your bank account to cover any negative balance (from say refunds / chargebacks), adding money to your bank account to lets say fund transfers to a 3rd party is a bit of a different story
      • rossettistone
        markin: Gotcha. Yep, that’s exactly our situation - we need to make special-case transfers to 3rd parties, and are unable to do those due to our current Stripe balance.
      • bbomal
        I have two different bank accounts, one for my local currency and one for U.S. currency. Is it possible to set up both of these bank accounts with one stripe account and have local funds go into my local bank account and foreign funds go into my US bank account?
      • markin
        yeah, normally they allow like a one time deposit, but thats something support would have to do
      • ike
        found the card documentation, the customer documentation was where i was at. So when i add a card to a customer, if there is no card for that customer it automatically because the default correct?
      • markin
      • rossettistone
        markin: Ok. I’ll keep trying to get an answer from support, then.
      • markin
        ike: "If the card's owner has no default card, then the new card will become the default. However, if the owner already has a default then it will not change. "
      • bbomal
        Thanks markin!
      • alex______ joined the channel
      • rossettistone
        markin: Thanks!
      • nilsmunch joined the channel
      • csalvato: Thanks!
      • bbomal
        markin: do you know if values used in a Charge::create are case sensitive? I.e. Can I use "currency" => "USD" instead of "currency" => "usd"?
      • csalvato
        rossettistone: no problem.
      • markin
        bbomal: i dont think it matters
      • MikeTobias
        markin: is it possible to limit entering the same card and metadata of the card for the same customer?
      • bbomal
        markin: thank you
      • rossettistone has quit
      • markin
        MikeTobias: you'd do those checks yourself by checking the card fingerprint
      • guest___ joined the channel
      • alex______
        How do you issue a refund with Python client with API version 2012-11-07? The current doc says stripe.Refund.create, but I get an error saying 'module' object has no attribute 'Refund'
      • markin
        You'd retrieve the charge and call the refund method
      • csalvato has quit
      • MikeTobias
        markin: but i have to create the card first, right?
      • alex______
        Thanks, I'll try that
      • guest___
        the stripe connect documentation recommends using http://oauth.net/2/. Is there an example of using http://dotnetopenauth.net/
      • markin
        MikeTobias You can retrieve the token server-side to view the fingerprint
      • guest___
        I have an implementation but I am not using http://dotnetopenauth.net/ and am wondering if I really need to use it.
      • MikeTobias
        Ok, I will try that. Thanks!
      • markin
        guest___: the first link is just information about the oauth 2 standard while the second is a link to a library one could use to implement oauth
      • guest___
        let me clarify. I have an implementation and it is not using an oauth2 standard
      • bbomal has quit
      • markin, is there a bare-bones example, that you are aware of, that uses http://dotnetopenauth.net/?
      • ywain joined the channel
      • markin
        guest___: I'm a tad confused because Stripe uses oauth 2 not oauth 1
      • guest___: Stripe doesn't tend to have any .net examples as they don't have a .net library
      • juanjo joined the channel
      • guest___
        do you have any examples that uses oauth2 that you can point me to?
      • markin
      • tish
        I'm confused about why I'm getting the message that the file is not supported from the FileUpload api. The file is a png file (I've also tried jpg). I've also verified that both files were not corrupted.
      • kaspergrubbe has quit
      • markin
        tish: what is the purpose of the file you're trying to upload?
      • tish
        dispute_evidence
      • saikat joined the channel
      • kaspergrubbe joined the channel
      • saikat joined the channel
      • markin
        tish: and the file name does end in .jpg / .png and has the mime-type info built in?
      • tish
        ok, I did make sure the filename ends in jpg and png. the mime-type info--maybe that is the missing piece.
      • guest___
        so the documentation says... Here’s some sample code for performing the OAuth flow, but we recommend that you use a client library instead of handling the implementation yourself.
      • tish
        markin: if the file itself was created using paint/jpg editor, would it have the mime-type info built in?
      • ajporterfield joined the channel
      • ike has quit
      • markin
        tish: I think so, how are you uploading the file though?
      • ajporterfield
        Is there support in the API for searching existing customers?
      • tish
        markin: using the Python stripe.FileUpload.create
      • markin
        guest___: sure so you don't have to use a client library (dotnetopenauth would be an example of one though)
      • ajporterfield
        I'd like to search for an existing customer before adding a new one
      • guest___
        so if I already have implemented this flow, using .net, based upon the examples in the documentation, I don't need to use a client library... you just answered my question
      • ajporterfield
        i see this - https://stripe.com/docs/api?lang=ruby#list_cust..., but it doesn't take any kind of search term
      • markin
        ajporterfield: there is a list customers API, search isn't heavily a thing in the API (i'd recommend storing stuff in your own database if you want to just do a blanket / more custom search)