#stripe

/

      • Night___ joined the channel
      • ryuji has quit
      • Night__ has quit
      • ftknox
        mark__: yes, there are size limits. For identity documents it is 8MB
      • ryuji joined the channel
      • Jezzeh has quit
      • fish_ joined the channel
      • marcoslater has quit
      • ben2367 joined the channel
      • ben2367 joined the channel
      • marcoslater joined the channel
      • jcampagne has quit
      • NickG365 joined the channel
      • BCApollo has quit
      • saurabhjha joined the channel
      • eric_lag_ has quit
      • eric_lagergren joined the channel
      • deadghost_ has quit
      • saurabhjha has quit
      • ftknox has quit
      • Xionkana joined the channel
      • Xionkana_ joined the channel
      • BCApollo joined the channel
      • milesmatthias joined the channel
      • Xionkana_ has quit
      • milesmat_ joined the channel
      • timvisher joined the channel
      • milesmatthias has quit
      • milesmat_ has quit
      • jleclanche joined the channel
      • jleclanche
        Heya; the `default_source` field on `Customer`, that can be either a `source` or a `card` object right? Can it also be a `BankAccount` object (from the legacy non-source api)?
      • koopajah: ^
      • koopajah
        it can be any source yes
      • or rather "any payment method"
      • jleclanche
        koopajah: is there a way to determine whats what other than parsing the id prefix?
      • koopajah
        hmmm parsing the id is a bad id (pun intended). For example years ago card_XXXX was in fact cc_XXXX
      • a "Card" has `object: "card"` a "Source" has `object: "source"`
      • jleclanche
        in the customer obj?
      • non-expanded
      • I guess I have to expand eh
      • koopajah
        ah no I mean the object itself. There's no way to do this from just the id, but the id exists in the list of Sources itself anyway so I would match there
      • jleclanche
        can you clarify something for me? `card` objects are *not* `source` objects yes? they're a legacy api purely
      • maninstripes joined the channel
      • koopajah
        that's a bit of an involved question. But a Card is not a Source and a Source is not a Card. They are entirely different objects and they are not compatibly with each other.
      • maninstripes
        How do I access the invoice that a subscription generates? Is there a way with the subscription id that I get after its created?
      • jleclanche
        ok, thats what i thought
      • koopajah
        We're working on a new API version that _turns a card_ into a source. not timeline right now
      • jleclanche
        Im migrating dj-stripe to be able to use the sources api, and ill be migrating my service to the sources api as well (and from checkout to stripe elements) - do i have a way to migrate current card objects to source objects of type card?
      • ahh
      • ok
      • perfect, yeah thatd be good...
      • koopajah
        I would recommend actively waiting for the new API version and then enforcing said API version in your library/plugin
      • jleclanche
        koopajah: are BankAccount in the same situation? ive never used those but i need to know what to support
      • koopajah
        Bank Accounts are used for ACH today and are not supported via Sources. We are going to support those in the future, it's just not as much of a priority
      • jleclanche
        k
      • koopajah: can they be a default_source?
      • koopajah
        sure, any payment method can be.
      • jleclanche
        mhpf
      • koopajah
        it's pretty easy to test too, ACH has been supported for well over 18 months: https://stripe.com/docs/ach
      • jleclanche
        Im really gonna have to figure out what to do about this foreign key
      • koopajah
        I would either automatically expand or match the source to the list of sources
      • jleclanche
        yeah but at the data layer
      • maninstripes
        How do I access the invoice that a subscription generates? Is there a way with the subscription id that I get after its created?
      • koopajah
        maninstripes : https://stripe.com/docs/api#list_invoices + subscription: sub_XXXXX
      • jleclanche
        I have a Customer object with a default_source_id foreign key; if it can be either a card, a bankaccount or a source and none of them are compatible with one-another, im kinda short on ideas about what to do :)
      • maybe a generic foreign key ...
      • koopajah
        jleclanche : I would personally treat all payment methods as a "payment method" no matter if they are Card Source Or BankAccount really. And have a specific column describing the type
      • jleclanche
        yeah thats essentially what generic foreign keys are in django (link to any model)
      • k well, I'll do that, thanks a ton for the help and clarifications koopajah
      • maninstripes
        @koopajah thank you
      • koopajah
        sorry, it looks like a small question but there's a ton of edge-cases and also things specific to your own library and how you map everything so it's not something I can really answer in a few minutes (I'm about to run). but that's how I would build my own datamodel
      • jleclanche
        :D dont worry about it
      • thanks a bunch!
      • koopajah has quit
      • maninstripes has quit
      • saurabhjha joined the channel
      • saurabhjha has quit
      • ta_ has quit
      • eric_lagergren has quit
      • Xionkana_ joined the channel
      • saurabhjha joined the channel
      • saurabhjha has quit
      • mark__
        @koopajah: is there a file size upload limit for the legal_entity.verification.document?
      • Xionkana_ has quit
      • mark__ has quit
      • mark__ joined the channel
      • @koopajah: is there a file size upload limit for the legal_entity.verification.document?
      • can someone help me with this question...is there a file size upload limit for the legal_entity.verification.document?
      • Xionkana_ joined the channel
      • mark__ has quit
      • dan____ joined the channel
      • Xionkana_ has quit
      • dan____
        Hey, Im trying to test transfers to Connect Custom Accounts from out platform account. Right Now when i try to send a transfer Im getting an insufficient funds error
      • this makes sense because in test mode the balance is 0
      • How can I use test mode as if we had a real bank account attached to debit from
      • RobertClarke joined the channel
      • Jezzeh joined the channel
      • mfp__ has quit
      • verl joined the channel
      • verl
        Hi Room! We're a platform account. I'm wondering, how can I reverse a transfer on one of our connected accounts for a fraud situation?
      • But the documentation also seems to indicate this is possible via the dashboard. I seem to be missing where that option is.
      • dan____ has quit
      • kies has quit
      • saurabhjha joined the channel
      • saurabhjha has quit
      • verl has quit
      • verl joined the channel
      • sbailliez joined the channel
      • Xionkana_ joined the channel
      • lisahassen joined the channel
      • lisahassen
        hello: I have a questions about radar and how it is blocking legit payments made on my website
      • Xionkana_ has quit
      • lisahassen has quit
      • Clement_ joined the channel
      • Clement_
        Hi there
      • saurabhjha joined the channel
      • looking for some help with ending_before
      • i can constantly reproduced a bug that charges?limit=10&ending_before=xx_xxx do not return with the last 10 record
      • anyone know anything about this? interested about this? can help me about this?
      • saurabhjha has quit
      • Gaurav joined the channel
      • Gaurav
        #stripe
      • #stripe Team Doc is not loading . Please help. network tab is giving this error
      • jleclanche has quit
      • jjpx has quit
      • jjpx joined the channel
      • eric_lagergren joined the channel
      • Gaurav has quit
      • kies joined the channel
      • eric_lag_ joined the channel
      • eric_lagergren has quit
      • Xionkana_ joined the channel
      • Clement_ has quit
      • Xionkana_ has quit
      • saurabhjha joined the channel
      • kies has quit
      • saurabhjha has quit
      • kies joined the channel
      • saurabhjha joined the channel
      • Gaurav joined the channel
      • #stripe
      • saurabhjha
        Hey qq, is the request to m.stripe.com/4 related to loading of publishable key in frontend?
      • Gaurav has quit
      • asdasvasdvasd joined the channel
      • asdasvasdvasd
        hey
      • depthdesign joined the channel
      • I have a question about stripe