DanielP: what you can do is use the `created` parameter to only retrieve the charges created within a certain timeframe, so the calls don't get longer and longer as more charges are added to your Stripe account
joshontheweb joined the channel
Udi: that's correct, though that feature is not available for all countries and banks
DanielP
ywain: Yep absolutely. We were planning on doing it only for like the last week. So that should be fine! We might be able to parallelize the calls in the future based off of that created parameter as well.
ywain
DanielP: right, if you choose a short enough timeframe that you can be ~sure that less than 100 results will be returned, then you can parallelize these calls
sbailliez joined the channel
gui joined the channel
gui is now known as Guest39466
yoann_ joined the channel
Guest39466
hey guys, quick question, for how long is it possible to issue a refund ? the site states "at any time". so even after months it's possible?
DanielP
ywain: even if it exceeded 100, each of those parallized calls could still do their own pagination. Not perfect but still better!
sbailliez
I’m kinda confused with the behavior of apiVersion, I have set my client (java 2.10.0) to be 2016-07-06 and still receive my webhooks with 2014-08-20 (which is what is set in the dashboard)
ywain
DanielP: right, that would work too!
Hi sbailliez, see https://stripe.com/docs/api/java#versioning: "Note that events generated by API requests will always be structured according to your account API version."
sbailliez
urgh, ok missed that
ywain
Guest39466: there is no hard limit, but you should make a best effort to issue refunds within 2 months
sbailliez
so… just to be sure, I cannot set my api version on test mode only in the account ? it applies to both live and test ?
Guest39466
thanks ywain
ywain
sbailliez: that's correct. If you need to test a different API version and need to use webhooks, I recommend creating another account. You can use the same email address and easily switch between multiple accounts: https://stripe.com/blog/manage-multiple-accounts
miles joined the channel
s2013 joined the channel
sbailliez: also if for any reason you need an account's API version set to a specific version (rather than the latest), you can simply write to us to request this change: https://support.stripe.com/email
Guest39466 has quit
sbailliez
yeah, what I was trying to figure out is effectively make sure that my code to handle events was working for both versions and have that run on testing environment.
mikedizon joined the channel
mikedizon has quit
giagola has quit
mikedizon joined the channel
yoann_ has quit
stuwest is now known as stuwest-away
giagola joined the channel
stuwest-away has quit
miles
hello -- I've set-up a platform application with connected merchant accounts... During the set-up connect process, the customer registers or connects a Stripe standalone account. This is done by following a link in a "Control Panel" on my platform domain. How can I ensure the user "connects" the correct with my platform? I'm concerned a rogue user could connect or create some other Stripe account and divert funds.
I notice the response after posting to https://connect.stripe.com/oauth/token doesn't give human-readable company name, nor does it give the bank details which were registered in conjunction with the Stripe account. How can I ensure the Stripe registration is bona-fide?
I have a pending webhook, do you know how long that takes to approve?
canfiax has quit
Guest91967 has quit
ywain
mattdbrice: Stripe retries pending webhooks roughly once every hour for up to 3 days
mattdbrice
Thanks.
Pavel_
Thanks Mr. ywain
ywain
you're both welcome :)
rcavezza
Can someone talk about how the debit_negative_balances flag works?
In a reverse transfer, will it try to go out to that person's bank/debit card immediately? Will it attempt to go to their bank account multiple times, or only once?
Pavel_
Hello ywain, Is it completely safe to use 3rd party designed plugin?
stuwest has quit
rcavezza
We're planning how to setup Stripe Connect with Managed Accounts - thinking through how refunds and chargebacks will work
mattdbrice
On the first try, I receive this error: "(Timed out) ERR" message. Did I do something wrong?
rcavezza
Will "debit_negative_balances" work most of the time with US accounts?
ywain
mattdbrice: your server didn't acknowledge the event by replying with a 200 status code
stuwest joined the channel
mattdbrice
What would be the possible cause of that?
ywain
Pavel_: it should be fine in most cases, but since those aren't developed or maintained by Stripe, we really can't offer any guarantees as to their security
Pavel_
Exactly...
One more query.
ywain
rcavezza: it should as far as I know, but I recommend you write to support to inquire about this: https://support.stripe.com/email
mattdbrice: hard to say. I'd recommend putting a bunch of traces in your webhook handling code to see what happens exactly
mattdbrice
I have not completed the SSL process yet, is that the issue?
Pavel_
Can I use Stripe if I've living from outside the USA but use USA bank accounts?
ywain
Pavel_: you must have a legal presence in the country in which you're creating an account
mattdbrice: I don't think so. TLS can cause problems with webhooks but those appear as "TLS errors", not "Timed out"
mattdbrice
One more question, after I installed the webhook, I did another transaction by signing up myself and it showed completed on my server and the event details showed a successful webhook. But it still shows pending in the other area?
ywain
mattdbrice: You've lost me. Are you talking about two different events, one pending and one successfully delivered?
graydove joined the channel
Nestoras
Hi. It seems there is an issue with the webhooks. It's now pending for the past 2 1/2 hours
ywain
Nestoras: what's the event ID?
Nestoras
evt_18zQi8G2S3LtwtNwhROxkQ75 and evt_18zQi8G2S3LtwtNwEj5T8YDC
DaKnOb joined the channel
cdbattags has quit
Pavel_ has quit
cdbattags joined the channel
rcavezza
In a reverse transfer with the "debit_negative_balances" flag set to true, will it try to go out to that person's bank/debit card immediately?
ywain
Nestoras: for the first event, the last attempts are from 10 minutes and 2 minutes ago respectively
_DaKnOb_ joined the channel
recuerdo_ joined the channel
Nestoras
why are flaged as pending? is something that is not finding?
ywain
Nestoras: because your server replies with a 500 status code
Nestoras: your server must reply with a 2xx status code to acknowledge that the event was correctly received
Nestoras
can you give me a link to check what 500 code error means from your documentation?
Guest42934 joined the channel
DaKnOb has quit
recuerdo has quit
oliverw joined the channel
oliverw has left the channel
or if it's possible to send me the response you are getting because the response I can see from the event log is cut half way
Nestoras: 500 likely means that your webhook handler is crashing at some point
mikedizon joined the channel
mikedizon has quit
mikedizon joined the channel
graydove
Hi - I want to use the stripe API to create a CSV file identical to what we get from the Stripe Dashboard under 'Payments'. The ruby script is all done with pagination etc. But my problem is that I don't see the corresponding/matching fields for CSV header in the Charge object https://stripe.com/docs/api/ruby#charge_object : Converted Amount, Converted Amount Refunded, Fee, Tax, Converted Currency, The following fields
Card Fingerprint, Card CVC Status, Card AVS Zip Status, Card AVS Line1 Status, Disputed Amount, Dispute Status,Dispute Reason, Dispute Date (UTC), Dispute Evidence Due (UTC), Payment Source Type, Destination, Transfer, stripe_request_amount (metadata) I am assuming that I can get "Dispute*" columns from "Dispute" object. But what about other columns? From where do I extract the missing information from?
For a dispute or a chargeback on a managed account transaction run through the platform, will we be able to do a reverse transfer? Or do we have to get the money from one of our managed accounts in a different manner?
graydove
@hpar: Took a quick look at balance object - how does it get tied to the charge? WHich field?
am I reading correctly that now, if we add a bank account for a user, Stripe will either use Plaid or do microdeposits and thus we need to allow the user to validate the microdeposits amount with us as part of the process ?
hpar
rcavezza: if you're charging through the platform then you can reverse the transfer
sbailliez: it's up to you. You can do Plaid only, or Plaid + microdeposits, or microdeposits only.
graydove
@hpar: thanks again! Yes, that works.
oliverw
QQ If a customer is paying using Apple Pay, should we be setting a new default source with the latest apple pay token, and then charging the Customer?
sbailliez
@hpar. yes but before it was nothing, no ? or is it just for payments, I’m on the opposite situation where we are only crediting bank accounts.
oliverw
We’ve been doing this method, but after a customer pays using apple pay 200 times, they are stopped from doing it a 201st time because they have too many sources tied to their account
hpar
oliverw: yeah, you should always use the latest apple pay token. Each token is sort of an "agreement" with Apple Pay & the Customer that you're going to charge only that DPAN