Closed AntoineLemaire closed 4 years ago
stripe.createSource({
Lets see docs about this method https://stripe.com/docs/js/tokens_sources/create_source - they link to https://stripe.com/docs/api#sources , and there there is link to https://stripe.com/docs/sources :
As of September 2019, a regulation called Strong Customer Authentication (SCA) requires businesses in Europe to request additional authentication for online payments. Businesses in Europe must start building their Stripe integrations with the Payment Intents and Payment Methods APIs instead of the Sources API to be ready for these rule changes.
As you see the "Sources API" in Stripe is deprecated - you should use Payment Intents (so "3D Secure 2") instead.
Thanks you @domis86 for showing me that ! The project was created before in 2018 and we never migrate. I'm gonna have a look about that, thanks for helping me!
Hi there I'm facing a issue when creating a card from a source.
I get the source from javascript :
Then I use the gateway to create a card
As response, I got that
The
data['card']['three_d_secure']
isoptional
, but I don't have anydata['redirect']['url']
So if I do
If I remove the
isRedirect()
condition insideisSuccessful()
, my card is well created and I can attach it to my user without any issueAm I doing something wrong?