#stripe

/

      • stpaultim has quit
      • lexton has quit
      • irctc018
        hi, I am trying to implement ACH, what the test account number and routing number provided, when I try to create customer using the token it get the following error: This bank account is not a valid source for payments. Only valid sources can be attached to a customer. You can validate a bank account at creation time by passing the parameter usage='source'. The particular issue is: You must provide the full name of the bank account
      • markin
        irctc018: I think you're missing some fields https://stripe.com/docs/api#create_bank_account...
      • BRI joined the channel
      • kdamalie has quit
      • stpaultim joined the channel
      • rubyonrailed has quit
      • BlipBlop joined the channel
      • kienpham2000 joined the channel
      • kienpham2000
        hi, do stripe api support retrieve by metadata? Ex: return all Customers with {"active_customer": True} ?
      • BlipBlop_ has quit
      • markin
        kienpham2000: no
      • kienpham2000
        ok thanks
      • kienpham2000 has quit
      • cdbattags has quit
      • deadghost has quit
      • markin_ has quit
      • km2 has quit
      • tictacjoe joined the channel
      • bostonmacosx joined the channel
      • zkirill has quit
      • JohnDoee joined the channel
      • bostonmacosx
        good evening...
      • I was wondering if the enemy has a competing product of stripe "connect"
      • markin_ joined the channel
      • hi markin
      • JohnDoee has quit
      • markin
        Braintree has Braintree marketplaces which are more like connect and managed accounts
      • There is a "partners api" which is more like standalone accounts but is being revamped
      • km2 joined the channel
      • kylekampy joined the channel
      • kylekampy
        Hello. I'm playing around with Stripe Connect and had a question related to fees. Instead of the primary account (me) absorbing the transaction and payout fees, is it possible to pass that fee along to the managed account?
      • markin
        kylekampy: you'd want to charge directly then
      • kylekampy
        I must be misunderstanding something. So I won't use `destination` on the charge then?
      • markin
      • kylekampy
        Just found that! Thank you so much!
      • When charging directly, do payouts for managed accounts still have the 0.5% fee?
      • markin
        kylekampy: yes
      • kylekampy
        But they absorb that fee then, and not the "platform" account, correct?
      • tr12 joined the channel
      • markin
        Stripe hasn't started charging the fee so the logistics aren't totally sorted out but if you charge directly, I'd assume the connected account be responsible
      • DoctorMonocular joined the channel
      • DoctorMonocular
        hey there, I'm trying to use the ruby Stripe api impelementation, and I've just passed a DateTime object to a subscription create call (the trial_end property). It's saying it's an invalid integer, I'm ugessing because it wants a unix timestamp? Is that true, what is the prefered method to call on a DatETime object to get the thing that Stripe wants?
      • kylekampy
        Oh, interesting. Good to know, thanks. Since those direct charges aren't visible to the platform account, I'm assuming then they don't add up towards the platforms account gross volume. Meaning no better deals at 80k, right?
      • DoctorMonocular
        also, if this is the case, shouldn't the Stripe ruby library actually just take DateTimes?
      • markin
        kylekampy: you'd want to talk to sales, there is some sort of volume pricing when you charge directly but I fogrot how it works
      • DoctorMonocular: if you have activesupport included (like a rails environment) then you should be able to call .utc on the datetime object
      • ah whoops I meant .to_time.to_i
      • DoctorMonocular
        ok so like date.utc.to_i?
      • oh right, date.to_time_utc.to_i
      • kylekampy
        Thanks for your help, markin! I am grateful for your constant help here.
      • DoctorMonocular
        yeah, I think you guys should consider having the ruby library just take a datetime, that would make the api cleaner
      • frege joined the channel
      • markin
        DoctorMonocular: I'd file a github issue for that recommendation :)
      • frege
        hey guys
      • should I generate this script on the backend and pass it to the frontend through an api call? <form action="{{actionUrl}}" method="POST"> <script src="https://checkout.stripe.com/checkout.j...; class="stripe-button" data-key="pk_test_6pRNASCoBOKtIshFeQd4XMUh" data-image="/img/documentation/checkout/marketplace.png" data-name="Stripe.com" data-de
      • DoctorMonocular
        markin: thanks for your help :)
      • markin
        frege: why generate it on the backend?
      • frege
        markin: I guess I could just pass the values. I'm most concerned about the data-key
      • should it be hardcoded on the front end?
      • DoctorMonocular
        markin: by the way, is there a good implementation of a standard card card form that has the features you might want, basically a cusomizable version of stripe's checkout form?
      • markin
        frege: it depends on your application set up, most application setups have some sort of templating engine that could read the key from some sort of global variable / environment variable
      • frege
        I could just pass this through the api call that frontend makes to the backend
      • this is the constant key right?
      • the single one that my company account receives from Stripe
      • bostonmacosx
        so the managed fee payment is 2.9%+.30+.5%?
      • markin
        DoctorMonocular: there are some pre-made card forms like pskeuocard but I don't tend to like any of them
      • bostonmacosx:
      • frege: you have a total of 4 api keys, test publishable, test secret, live publishable, and live secret
      • frege: the key for that is your publishable key
      • T1m0thy joined the channel
      • frege
        I gotta learn what their difference is
      • bostonmacosx
        markin: was there a message there?
      • markin
        bostonmacosx: whoops I meant to type in yes
      • bostonmacosx
        so a direct payment is more economical
      • markin
        frege: basically the publishable key is for tokenization and meant to be used client side, the secret one is for your server-side code and should be kept secret
      • bostonmacosx
        frege: public key for things like the stripe.js tokenization
      • markin
        bostonmacosx: you pay the .5% for managed accounts no matter what
      • frege
        gotcha
      • is that like .pub for ssh-key?
      • `publishable key` ^
      • markin
        kinda
      • BRI has quit
      • km2 has quit
      • sevenseacat joined the channel
      • fabs joined the channel
      • T1m0thy has quit
      • cdbattags joined the channel
      • km2 joined the channel
      • abishek joined the channel
      • tictacjoe has quit
      • tictacjoe joined the channel
      • cdbattags has quit
      • markin_ has quit
      • Duc joined the channel
      • Duc
        Hi
      • bostonmacosx
        ok so how does someone claim their money from a managed account
      • kylekampy has quit
      • Duc
        How can I get fee amount of charging or refunding?
      • bostonmacosx
        there is an expandable section in the response...
      • Duc
        anyone there?
      • tictacjoe has quit
      • bostonmacosx
        I forget the name exacely "balance_transaction" is expandable in the charge object
      • then you will receive all the fee infformation in the response
      • cxmu_ joined the channel
      • cxmu_
        OK
      • I know markin will answer before anyone
      • But if I have multiple merchants, and you can buy shit from them, and you can put multiple shits in your shopping shit cart
      • How do I pay out to multiple people with one stripe transaction?
      • bostonmacosx
        Duc: you get it
      • Duc
        ok,
      • let me check
      • thanks bost...
      • Does refund event data contain balance_transaction too?
      • ok, bypass last question
      • bostonmacosx
        what languate you using?
      • JohnDoee joined the channel
      • markin
        bostonmacosx: what do you mean, you'd add an external account to the managed account
      • cxmu_: you have to make multiple charges
      • JohnDoee has quit
      • MaKu has quit
      • bostonmacosx
        ok so that is confusing to me
      • abishek has quit
      • will need to figure it out
      • abishek joined the channel
      • zkirill joined the channel
      • MaKu joined the channel
      • abishek has quit
      • abishek joined the channel
      • abishek has quit
      • abishek joined the channel
      • km2 has quit
      • km2 joined the channel
      • abishek has quit
      • abishek joined the channel
      • cxmu__ joined the channel
      • cxmu_
        markin: heres another question
      • if i am stripe connect, and i want to control the customer data
      • sevenseacat has quit
      • can i use my customer data and charge them on behalf of a merchant using my platform?
      • abishek has quit
      • sevenseacat joined the channel
      • tictacjoe joined the channel
      • Duc has left the channel
      • jeffmjack joined the channel
      • manfrin has quit
      • dave_g has quit
      • 20WAAM52R joined the channel
      • 20WAAM52R has quit