#stripe

/

      • ClementS
        $account->legal_entity->address[line_1]
      • $account->legal_entity->address->city
      • $account->legal_entity->address->line_1
      • Object or array (s'ry I hate PHP)
      • Anshuman
        Is it possible to retrieve any charge object using order_id in meta data or order
      • orlondow
        I think it might work with passing $account->legal_entity->address = array("city" => "Paris", "line1" => ......)
      • but not totally sure
      • but otherwise yes you would need each separately
      • Anshuman: you can't filter by metadata unfortunately
      • stripe036 joined the channel
      • you need to keep track of it in your own db or list all charges if you want that
      • Anshuman
        means I have only one way to retrieve the charge object using API by ch_id (id)
      • ?
      • orlondow
        Anshuman: not really, you can order it by customers, time of creation, transfer_groups if this is a connect charge
      • just not by metadata
      • stripe036 has quit
      • Anshuman
        Thanks.I am going through the link. I have few more questions
      • MyBallzAreepicma has quit
      • sr2016 has left the channel
      • If am collecting the payment details using my web page and using charge api with curl, which is the best option to pass the payment details to charge api. Token in source or direct payment details in charge api
      • sr2016 joined the channel
      • orlondow
        Anshuman: You should never handle card details yourself unless you are PCI certified. So creating tokens or sources in the frontend with Elements or Checkout is the best option
      • sr2016 has left the channel
      • sr2016 joined the channel
      • pyface has quit
      • Anshuman
        I am doing curl call of charge api why I should first send payment data to token api than call charge api. it is one extra crul request.
      • I am doing curl call of charge api why I should first send payment data to token api than call charge api. it is one extra curl request.
      • orlondow
        for your customers security
      • The payment card industry security council requires that card details never reach your server unless your are certified
      • that's why we handle this part in the frontend from the customer's browser and create a token
      • sr2016 has left the channel
      • Anshuman
        ok but I am not saving customer payment details
      • orlondow
        this has nothing to do with saving the details. It's just having the card details reach your server and being used in a script
      • analogik joined the channel
      • Anshuman
        ok understand.
      • sr2016 joined the channel
      • orlondow
        you can read more about this here https://stripe.com/docs/security
      • Anshuman
        can we use charge api directly for MOTO transaction or need any configuration in stripe account
      • sr2016 has left the channel
      • orlondow
        Anshuman: the easiest for those is to do it on the dashboard directly but this can only be a small portion of your business
      • most payments need to be done on a website/app by the customer directly
      • Anshuman
        This is my last question: if I am passing default capture true in curl request of charge api than I need to use event. as per my understanding I not need event to check success of charge because capture is default true so it will send me status succeed or failure
      • sr2016 joined the channel
      • sr2016 has quit
      • there will not be authorise it will be captured or fail
      • sr2016 joined the channel
      • sr2016 has quit
      • njbair has quit
      • sr2016 joined the channel
      • njbair joined the channel
      • sr2016 has quit
      • orlondow
        Anshuman: that's right by default for card payments you get the result immediately
      • Anshuman
        ok. Thanks orlondow for you help.
      • sr2016 joined the channel
      • orlondow
        Anshuman: you're definitely welcome!
      • sr2016 has quit
      • sr2016 joined the channel
      • ta has quit
      • sr2016 has quit
      • sr2016 joined the channel
      • bhrobinson joined the channel
      • sr2016 has quit
      • jhere joined the channel
      • jhere has left the channel
      • sr2016 joined the channel
      • sr2016 has quit
      • jhere joined the channel
      • jhere has left the channel
      • sr2016 joined the channel
      • Xionkana joined the channel
      • sr2016 has left the channel
      • luketroy joined the channel
      • Xionkana has quit
      • sr2016 joined the channel
      • luketroy has quit
      • luketroy joined the channel
      • sushimako joined the channel
      • sushimako
        How can I retrieve information about the payout bank account of my main/platform account via the API by ID (ba_XXX)? Using the python sdk, trying with `stripe.BankAccount.retreive('ba_XXX')` errs that I cant retrieve information without a connect-account or customer object.
      • luketroy has quit
      • I'm reconcillig past balance transaction rows and would like to annotate all `payout` txn's with the last4 of the payout's bank account.
      • sr2016 has left the channel
      • luketroy joined the channel
      • sr2016 joined the channel
      • sr2016 has left the channel
      • sr2016 joined the channel
      • sr2016 has left the channel
      • cannap joined the channel
      • bhrobinson has quit
      • sr2016 joined the channel
      • dennus has quit
      • sr2016 has left the channel
      • sr2016 joined the channel
      • ywain
        sushimako: hm, I don't believe we surface bank account information for your own account in the API
      • Anshuman
        Hi
      • IF I
      • If I am passing metadata in charge request than it is visible in dashbord or not for any perticular transaction
      • I don't have dashboard credentials yet.
      • BackEndCoder has quit
      • BackEndCoder joined the channel
      • ywain
        Anshuman: yes, metadata on charges (and most other API resources) is visible and editable via the dashboard
      • Anshuman
        ok thanks ywian
      • ta joined the channel
      • analogik has quit
      • koopajah joined the channel
      • Anshuman has quit
      • newman99 joined the channel
      • ta has quit
      • ta joined the channel
      • ta has quit
      • analogik joined the channel
      • analogik has quit
      • analogik joined the channel
      • nate_ joined the channel
      • nate_
        what is the best option for supporting EMV and NFC card present transactions with stripe?
      • ClementS has quit
      • analogik has quit
      • joshchap joined the channel
      • joshchap
        integrating our app with stripe and trying to do a demo. The elements return us a source, but when we try to create a customer with that same source, it claims the source doesn't exist.. Anyone have any suggestions or further questions that can help clarify what we are doing and why it isn't working?
      • nate_ has quit
      • newman99 has quit
      • newman99 joined the channel
      • orbyt_ joined the channel
      • luketroy_ joined the channel
      • orlondow
        Hi joshchap, the most likely reason would be an API problem
      • like the publishable key used to create the source not belonging to the same account than the secret key
      • it could also be a typo or using the wrong id
      • luketroy has quit
      • luketroy_ is now known as luketroy
      • joshchap
        I feel like we have checked all those things, but it might be worth taking a second (third) look..
      • We are using the test card of (4242 42424 . . . ) Do you know if that would cause a problem?
      • orlondow
        not really this is the most common test card
      • I'd recommend trying all the steps separately
      • take the frontend part and create a source
      • joshchap
        The front-end part works great!
      • orlondow
        get the source id and then run it manually in your terminal with your secret api key
      • joshchap
        we get a source object back with an ID, but then when I use curl to look it up, it doesn't exist.
      • orlondow
        then if this works run it in a small script
      • do you have the source id?
      • of one that you tried to use and it failed
      • joshchap
        yes..
      • orlondow
        can you give it to me?
      • joshchap
        WE are now investigating the key we use to create the source.. I guess it is a PK and then we use the SK to retrieve it..
      • src_1B7ODFIKOxZtlqQiDtolPjVw
      • luketroy has quit
      • it is possible the keys we used, don't belong to the same account..
      • looking into that now
      • sushimako has quit
      • luketroy joined the channel
      • orlondow
        joshchap: yep that's the case from what I checked