#stripe

/

      • stripe228 has quit
      • orlondow
        once the card has been successfully added to the customer your can use it later and it should work if there are funds available
      • eacameron joined the channel
      • ArQing: you need to have your business located in the country of your Stripe account unfortunately
      • you could apply to Stripe Atlas though https://stripe.com/atlas
      • stripe735
        @orlandow: Ah okay i see. Thanks. I have been using the testing accounts provided by Stripe. Some charges created time for example is returning dates from 1970 - is that intentional?
      • ArQing
        i see, so if my company is located in one of the supported countries, i can work with stripe regardless of where i physically reside?
      • Tim_ has quit
      • orlondow
        stripe735: hum it should not be the case, are you sure you did not used the conversion on the timestamp wrongly?
      • ywain
        stripe735: Java & Javascript expects timestamps in milliseconds, while the timestamps returned by our API are Unix timestamps in seconds. You probably need to multiply the timestamp by 1000
      • orlondow
        ArQing: that's right. But for more details on account questions you'd want to contact our support: https://support.stripe.com/email
      • ArQing
        very helpful, thank you
      • Soma_
        @orlondow Can you confirm that the charge from Credit cards to Stripe account can take 2-7 days depends of country and bank? I have to know about especially Credit Cards charges
      • orlondow
        ArQing: you're welcome!
      • Soma_
        It is independent of source ?
      • ArQing
        just another question if i may... eruope->slovenia do you perhaps know if my country is going to be supported any time soon?
      • orlondow
        Soma_: the charge is instantaneous for cards, but it stays in your Stripe account's pending balance for a couple of days
      • spdavies has quit
      • ArQing: sadly I don't have a clear date on this :(
      • ywain
        ArQing: you can sign up here: https://stripe.com/global to let us know of your interest in Stripe supporting Slovenia and be notified if there are any news
      • Soma_
        Can you describe why it stays in Stripe account for a couple of days? what takes that time?
      • stripe735
        @ywain and @orlondow: Thanks that fixed things
      • ArQing
        alright, thank you. paypal's braintree is always an alternative, however, i do like stripe's api, from reading docs
      • qar
        can you manually retry a failed webhook? trying to debug
      • or just wait for it to retry again itself?
      • alexwen joined the channel
      • alexwen
        Can I give quantity 0 while creating a default subscription?
      • ywain
        qar: not directly. You can either wait for Stripe to retry (roughly once an hour), or retrieve the event (https://stripe.com/docs/api#retrieve_event) and post the event's payload to your own webhook endpoint like Stripe would
      • AlveinFlea has quit
      • orlondow
        Soma_: there are a couple of reasons, one of them being regulations to check information on people we are sending funds to. There are other checks but you want to talk to our support for these questions https://support.stripe.com/email
      • stripe735: np!
      • Soma_
        @orlondow can stripe asynchronously give us information about successful charge status CC? do you have some mechanism for that? or we have to check this in some period of time in Stripe API?
      • qar
        ywain: thanks
      • orlondow
        alexwen: you can use 0 quantity with subs
      • alexwen
        @orlondow: Thankyou
      • orlondow
        Soma_: every API calls are synchronous so you'll get the cvc check value from the bank immediately when you create a charge or add it to a customer
      • alexwen: you're welcome
      • ArQing
        thank you very much for your information guys. have a nice day!
      • ArQing has left the channel
      • DaleK5whr joined the channel
      • Soma_
        @orlondow Yes, but what about status 'succeeded' instead of 'pending' ? Is this only one way to check this status of Charge - through call to API for retrieve Charge object?
      • orlondow
        Soma_: pending is for charges on bank accounts. There are no cvc involved. Cards can only be succeeded or failed
      • qar
        http://stackoverflow.com/questions/19398731/con... <- I found this, which is quite old. Is it sitll possible to use a __toJSON() method? can't see it in the docs
      • if you want a webhook as json instead of an array
      • DaleK5whr has quit
      • ywain
        qar: it should still work with the latest version
      • qar
        thanks again
      • Soma_
        @orlondow ok - can you tell me which Charge object attribute can inform us - if money from this charge is avaliable in Stripe account already?
      • stripe735
        @orlondow: Another question - it seems that even if i create a source with a cvc and then later pass this source id when creating a charge, it doesn't work. It says : "No such token: card_19L968LggEAIZ3kPXsY7imPN"
      • stripe1111 joined the channel
      • @ywan: Is all the testing cards on stripe - the same CVC and expiry date?
      • Stefano__ joined the channel
      • orlondow
        Soma_: you need to look at the balance transaction in the charge and there will be a available_on property
      • ywain
        stripe735: you can use any expiry date as long as it's in the future, and any CVC as long as it has the correct number of digits (4 for Amex, 3 for everything else)
      • urgentQuestion has quit
      • orlondow
        stripe735: did you add the card to the customer first?
      • or is this the card id you see in the token
      • mindpattern joined the channel
      • jack has quit
      • stripe735
        @orlondo - i added the card to the customer by doing a stripe.customers.createSource and inputting all the necessary fields including cvc
      • @orlondow: and then i did a stripe.charges.create inputing the customer.id and the card id which i got from stripe.customers.createSource
      • orlondow
        humm rereading the error message it looks like not the one we'd send if the card was incorrect
      • do you have the request id?
      • stripe1111
        hey, everyone. i'm having trouble with retrieving the list of transfers of a managed account in test mode via API Transfer::all([], ['stripe_account' => $id]) method. nothing is returned in the data array, although there are some transfers. if i call BalanceTransaction::all([], ['stripe_account' => $id]), i get the list of balance transactions, but the "source" refers to a payment (id starting with "py_") and the source_transaction
      • can anyone help me with that?
      • alexwen
        #exit
      • alexwen has quit
      • stripe735
        @orlondow - oops sorry i realize i didn't do a stripe.charges.create but a stripe.subscriptions.create()
      • @orlondow - but i still input a planId, customerId and a cardId - would inputing the cardId (similar to how you do in charges) not work
      • orlondow
        Hi stripe1111: are you looking for transfers to an external account from the managed account?
      • stripe735: subscriptions can only use the default card, so you can't pass a card id
      • Stefano__ has quit
      • stripe735: you can pass a token to the source though but it will replace the default card of the customer and use it for the sub
      • AmitT joined the channel
      • stripe735
        @orlondow: Ah okay i see! - Thanks you have been a great great help ^^
      • orlondow
        stripe735: np!
      • stripe1111
        @orlondow: actually i need all of them: transfers to managed accounts (charges), transfers to bank accounts, special-case transfers, etc. we have quite a lot of Stripe transactions that we'd like to migrate to our database
      • SharkTherapy joined the channel
      • orlondow
        stripe1111: if you look on the connected account you should only get the payouts
      • you need to look at the transfers on the platform to see the destination charges and scts transfers
      • AmitT
        Hi Everyone...I just started using stripe and I have 1 question ..
      • I am working on an appplication in which a user purchases a hardware + a software plan.
      • So, for the software I am creating a Stripe::Customer and then creating a Subscription for that user.
      • For the hardware, I have a list in the Product section of dashboard..I create a Stipe::Order and then charge for it seperately.
      • But how can I can combine both of these events(purchase of a plan + pay for stripe order) in one go ?
      • orlondow
        AmitT: you can't do that with orders, tey are just for one off charges
      • AmitT: you either need to handle the product logic on your side and not use orders or create orders manually each month
      • AmitT
        @orlondow Actually hardware purchase through order is just a 1 time purchase
      • and software plan is of yearly billing type
      • so, Do I have to make two seperate calls?
      • 1 for order and 1 for subscription?
      • orlondow
        AmitT: if you want to create an order on top of the subscription yes.
      • stripe660 joined the channel
      • stripe660
        hello
      • orlondow
        the alternative is to add an invoice item of the value of the order to the first invoice for the subscription. This way all will be charged in one go
      • stripe660
        i have a query if anybody can have answer to it
      • orlondow
        hi stripe660
      • AmitT
        ok Thanks @orlondow .. I will try that.
      • stripe660
        when in connect>overview, total volume is visible? In dashboard overview or connected account dashboard overview, i can see total volume
      • orlondow
        AmitT: np!
      • stripe660
        but when i see overview under connect, it shows collected fee but total volume remains zero.
      • can anybody know the reason for that? I'm accepting payment with destination account & application fee
      • stripe735 has quit
      • 28 Total connected accounts 0 Total charge count $6,225 Total collected fees (USD) $0 Total volume (USD)
      • orlondow
        stripe660: I'm not the best with values in the dashboard but it looks like it does not take into account the destination charges as they are created on the platform
      • Doginal joined the channel
      • stripe1111
        @orlondow: ok, i see. what if i want to get all the data including the fees, charges, etc. should i use BalanceTransaction in that case?
      • Doginal has quit
      • alesimon joined the channel
      • alesimon
        hi
      • orlondow
        stripe1111: yes in the end all the detailed info is in the balance transactions. It's just a bit harder to sort it out as all the transactions are listed in it
      • hi alesimon
      • joshontheweb joined the channel
      • alesimon
        i have a question about SDK ios
      • stripe660
        connect overview should show transactions on connected account as my my first sight understanding. But as its not hapenning, need to know when it gets accounted/
      • stripe1111
        @orlondow: ok. one more thing. do you have any idea where "Delete all test data..." button has gone from the account settings?
      • alesimon
        Do i need a backend to precess a payment?
      • orlondow
        alesimon: go ahead. full disclaimer I'm not the best with iOS things though :)
      • stripe660: you're right this is not intuitive but I guess it's to avoid charges being counted both for the platform and the connected accounts
      • stripe1111: it's been temporarily deactivated for a short period. I'm not sure when it comes back though
      • alesimon: yes you need one. You can only create tokens from the app otherwise your Stripe account would be subject to security problems
      • stripe022 joined the channel
      • stripeissue joined the channel
      • stripe1111
        @orlondow: is there any other way to delete the test data on my account?
      • alesimon
        orlandow: Thank you very much.
      • orlondow
        stripe1111: not right now but you can create a new test account in a few clicks with the same login if you click on your account name in the top right corner
      • alesimon: np!
      • alesimon has quit
      • stripeissue
        Help: A customers card information was saved by Stripe and when the customer tries to text "STOP". The messeage dosnt get through to stripe and thereby the customer can't remove her saved creditcard information. How can I help this customer?
      • stripe1111
        @orlondow wow. didn't know that. thanks for your help! it was very useful.
      • orlondow
        Hi stripeissue: I'm sorry but you'll need to send an email to https://support.stripe.com/email for this question
      • stripe1111: yeah it's a bit hidden but pretty useful for testing. and you're welcome!
      • stripeissue
        orlandow allright ill do that. Thanks!
      • orlondow
        stripe1111: np!
      • stripeissue has quit
      • stripe1111 has quit
      • stripe022
        Hi I wonder why I cant get any response from stripewebhook, I added endpoint already,, sorry Im new to this.
      • stripe660
        I need the exact reason , when a charge will show in both dashboard and connect overview?
      • stripe022
        I was able to get response from my stripe account by send test webhook, but handling it on my file, php file for instance I cant get any request objects,
      • orlondow
        hi stripe022 the test webhook you can send from the dashboard is a fake object with id evt_0000000, you can't retrieve it.
      • if you wan't a real object you need to use an event created from a normal API request
      • stripe660: I'm sorry I don't have this information. You can write to the support if you want more details on the dashboard https://support.stripe.com/email
      • stripe022
        ah I see, so basically, how can I trigger it? I tried triggering it after customer and charge creation. Is it correct?
      • orlondow
        stripe022: you don't need to trigger the event, if you create a charge in your account we will send the corresponding event to your webhook almost instantly
      • (if the process sending it is not backed up)
      • stripe022
        yes thats what I've understood as well, still cant get any response, always returns null, what do you think is the reason for this sir? I mean possible reason. :)
      • orlondow
        stripe022: hum I'm sorry which part returns null? the post body we send or the API response of the retrieve call?
      • bartosz_ joined the channel
      • joshonth_ joined the channel
      • stripe022
        the API response of the retrieve call..