Hi Samvloeberghs_. In order to be PCI compliant, you should use either Elements or Checkout to collect card information from your customers
Mike_ is now known as Guest88539
Samvloeberghs_: regarding source polling, you should set up your own polling system to check the order status on your own backend. (It was previously possible to poll the source's status via Stripe.js but this is not something we want to encourage as the source's status is not really the same thing as the order's status.)
ta has quit
ta joined the channel
ta has quit
ta joined the channel
Jonas___
Hey, I was wondering, which webhook event will be fired when an uncaptured charge expires?
romanovic has quit
Guest88539 has quit
romanovic joined the channel
bongjovi joined the channel
deadghost has quit
arnotixe has quit
Adam__ joined the channel
Adam__ is now known as Guest34985
Guest34985 has quit
Silva joined the channel
Silva
Hi, Im new to Stripe and I am a beginner developer so please excuse my lack of knowledge. I want to be able to have our connected accounts receive payments from customers using Stripe Checkout. Yesterday, I was told I could use Checkout to get a card token which I would then use to make a Destination charge to the connected account. My question is: how would I generate this card token without charging the customer twice? Once from the c
Samvloeberghs_
I can't find any information about how elements works with 3DSecure ..
Can somebody please point me to it?
Looney joined the channel
Looney
Hello, I was testing an applicatin in live last evening (few hours earlier). Payment got charged on card, showed up in Stripe but on server I got the failure.
Anyone here been on that lane before?
ywain
Hi Looney, what's the exact error message you're seeing on your end?
mfp joined the channel
Hi Samvloeberghs_. You'd use Elements to create a "normal" card source, then use that card source to create the three_d_secure source. cf. https://stripe.com/docs/sources/three-d-secure
Samvloeberghs_
ok thx for all this! for ideal / bancontact I don't need to use the elements?
ywain
Hi Silva, your message was truncated, but Checkout doesn't charge the customer, it only turns the card information into a token. The amount you provide to Checkout is used for display purposes only. The customer would only be charged once, when you use the token in a charge creation request in your backend code
Looney
I am using Python and condition of result.status == 'succeeded' fails for my stripe.Charge.create()
ywain
Samvloeberghs_: correct, Elements only supports cards at the moment. You'd still use Stripe.js to create the bancontact or ideal source
Samvloeberghs_
ok
ywain
Looney: what's the value of `result.status`?
Looney
I will have to deploy the test keys for the debugging
My own card won't work
ywain
Looney: you should never use a real card for testing. It's against card network rules and Stripe's own terms. When testing, you should always use your test API keys and the test card numbers found here: https://stripe.com/docs/testing#cards
bkovacev joined the channel
bkovacev
Hey guys, one question about idempotent requests. Let's say I have a background worker picking up charges that have failed but have idempotent key tied to them (so only failed ones) and running them again at a given time, would that charge still be failed or is the response only cached when success?
ragboy joined the channel
ywain
Hey bkovacev. If you reuse the same idempotency key, then you'd get the same response, i.e. Stripe wouldn't retry the charge. (Except if you waited more than 24 hours, as idempotency keys expire after that delay)
ragboy
anyone available for a quick support question?
bkovacev
Got it - thank you very much ywain!
ywain
Hey ragboy, sure
bkovacev: np!
ragboy
Thank you. Here is my question:
We have an interesting issue. We were using a product with our magento system that made payments through stripe, but it didn't create stripe customers. We have updated our system and now a stripe customer is created when a payment/order is made. But I need to migrate old customers to the new system, and I have their email in metadata of the charges, but these charges do not belong to any customer. ..
Is it possible to create a new customer with that email, and then attach the source card object of that previous customer less payment, so that I can make further charges with that customer?
I hope that makes sense.
I am testing this in the test api, and I keep getting this error:
"type": "invalid_request_error", "message": "No such token: card_1BGwkOJENLnHHgxWRLEOT54F"
ywain
ragboy: That does make sense, but unfortunately it is not possible. When you create a charge directly using a token, it is consumed and you can no longer use it to create a customer object. You'd need to ask your customers to provide their payment information again so you'd create a new token that you'd use to create customer objects
ragboy
OK, I was afraid of that, thank you very much.
ngesb has quit
Silva
Does anyone know of any .NET documentation for creating destination charges
2 : need TLS 1.2, I d'ont know if i've got one but does a ssl is enought?
ywain
Heaven: okay, so that's not related to your own SSL certificate. It means your server is using TLS 1.0 when sending requests to Stripe's API, which is no longer supported. You need to reach out to your hosting provider and ask them to upgrade the software packages for PHP, curl and OpenSSL in order to support TLS 1.2. You can find more information here: https://support.stripe.com/questions/how-do-i-u...
Im not sure why payments to connected accounts arnt going through... ive set my destination as the accountid of the connected account whilst using the correct token to reference the cusotmers card...
dawndiy has quit
agitator joined the channel
pyface has quit
sbailliez joined the channel
Jeremy_Wonderbly joined the channel
rikard joined the channel
rikard
Hi
nobody at the support is helping me
i have been waiting for 2 days for my issue to be resolved
and everyone is ignoring my problem
i am loosing 100s of dollars
and get MAD customers
every day
Someone NEEDS to reach out to me now before this goes out of hand
ywain
Hi rikard, we can only help with programming issues in this channel, but if you PM me your email address, I can try checking the status of your ticket. To PM me: /msg ywain your message
Silva: what do you mean exactly by "not going through"? does the API return an error?
rikard
THANK YOU
how do i pm ?
Is this om ?
ywain
rikard: no, this is a publicly logged channel so please don't share private information here. To PM me, just type: /msg ywain hi
Looney has quit
Silva
Ywain: Nope no errors, just cant see any transfers on the dashboard.. Im not sure what i've missed.
rikard
Not errors
Payments are blocked
ywain
Silva: can you give me a charge ID?
rikard
charge id ?
ywain
rikard: IRC is a multi-user chat, I'm helping a different user with another issue
Silva
Is he charge ID set up in the response? I havent done that yet..
the*
rikard
ah ok
mezod has quit
Silva
I haven't got a charge ID
ywain
Silva: yes, when you successfully create a charge, the API returns a charge object (https://stripe.com/docs/api#charge_object). the charge ID is the string that starts with "ch_" followed by random alphanumeric characters
basiclaser joined the channel
Silva
Ywain: Nope, not getting it.
Ywain: Thanks for your patience btw.
ywain
Silva: can you share your code for creating the charge? using gist.github.com or pastebin.com. Make sure to redact your secret API key
Silva: it looks like you're creating a `StripeChargeCreateOptions` instance, but then you never use it to create a charge through the `StripeChargeService` instance
Monika joined the channel
Monika
Hi, i want to save card details with custom account
but getting some errors
ywain
Hi Monika, what's the error?
Silva
Ywain: right I think I know what to do now. I started programming 2 months ago so I still need alot of handholding. Thanks alot for the help.
Monika
if i send direct card detail then it returns: Requests made on behalf of a connected account must use card tokens from Stripe.js, but card details were directly provided.
if i send token then it returns
ywain
Silva: np!
Monika
Requests made on behalf of a connected account must use card tokens from Stripe.js, but card details were directly provided.
ywain
Monika: according to the error message, you're still sending raw card details, not a token
mezod joined the channel
Monika
can you please help me to sort this issue out
ywain
(sorry, going AFK for a bit, I'm asking a colleague to step in)
Monika
what will be the correct syntax to send card details