#Nupur.patel-si-confirm
1 messages · Page 1 of 1 (latest)
Hello
Is there a specific error?
No but ideally I am expecting to pop up 3D Secure page
But I am not getting that
I do not wish to pay for now. Just want to add a card
4000002500003155
Sure
seti_1Kl8B2HjrHVLodatjE4ymaAI_secret_LS2FPSSnXCWWj96UvBZq9odPxxSpiKk
Also after calling stripe.confirmSetupIntent, I doesnt receive call back in onActivityResult
So my flow is:
- Initialised Stripe and PaymentAuthConfig
- Collected Card details (Please note I am not using CardWidget)
- Created card token via stripe.createCardToken
- Getting client secret from backend
- Creating card via PaymentMethodCreateParams.createCard(cardParams)
- Confirm SetupIntent via stripe.confirmSetupIntent
There's no PM attached to that Setup Intent
Creating new one in a min
This is my card token id - tok_1KlAnuHjrHVLodateSzU8h7f
client secret id - seti_1KlAoNHjrHVLodat1DjRDkGb_secret_LS4yIhSY7N0pfFEySSgI9Ykfa5WnlnR
Why are you using Tokens?
But yes, I can see this SI requires auth/3DS for confirmation
Ah just checked I am not using that anywhere
So can ignore that
But I am still not getting screen for auth/3DS
You'll need to share more details of your integration, code, etc
Here?
Yup! Or via a GitHub Gist or similar
So for more details : I am using fragment to save the card
I will share the file here in 2 mins
Here is the fragment file
Please note I can add all the cards which doesnt require auth
does onSetupResult get called when this problem happens?
onActivityResult itself is not being called
what appears in logcat when this happens?
ah you're also using a Fragment, which probably changes things
There are no specific logs
I don't remember how this works on the old version of the library you use
ok
I imagine there has to be something in logcat though, I'd be surprised if there's nothing at all, but hard to say.
I mean the logs doesnt say anything. Let me try once again
To my surprise after trying 50 times, I can see auth popup
So its wiered to popup this only sometimes
interesting
I don't imagine those would be involved, as far as I know