#Nupur.patel-si-confirm

1 messages · Page 1 of 1 (latest)

ember blaze
#

Hey! Can you elaborate on the issue?

keen bay
#

Hello

ember blaze
#

Is there a specific error?

keen bay
#

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

ember blaze
#

Which test card are you using?

#

Can you share the ID of the Setup Intent?

keen bay
#

4000002500003155

#

Sure

#

seti_1Kl8B2HjrHVLodatjE4ymaAI_secret_LS2FPSSnXCWWj96UvBZq9odPxxSpiKk

#

Also after calling stripe.confirmSetupIntent, I doesnt receive call back in onActivityResult

#

So my flow is:

  1. Initialised Stripe and PaymentAuthConfig
  2. Collected Card details (Please note I am not using CardWidget)
  3. Created card token via stripe.createCardToken
  4. Getting client secret from backend
  5. Creating card via PaymentMethodCreateParams.createCard(cardParams)
  6. Confirm SetupIntent via stripe.confirmSetupIntent
ember blaze
#

There's no PM attached to that Setup Intent

keen bay
#

Creating new one in a min

#

This is my card token id - tok_1KlAnuHjrHVLodateSzU8h7f

#

client secret id - seti_1KlAoNHjrHVLodat1DjRDkGb_secret_LS4yIhSY7N0pfFEySSgI9Ykfa5WnlnR

ember blaze
#

Why are you using Tokens?

#

But yes, I can see this SI requires auth/3DS for confirmation

keen bay
#

Ah just checked I am not using that anywhere

#

So can ignore that

#

But I am still not getting screen for auth/3DS

ember blaze
#

You'll need to share more details of your integration, code, etc

keen bay
#

Here?

ember blaze
#

Yup! Or via a GitHub Gist or similar

keen bay
#

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

winged latch
#

does onSetupResult get called when this problem happens?

keen bay
#

onActivityResult itself is not being called

winged latch
#

what appears in logcat when this happens?

#

ah you're also using a Fragment, which probably changes things

keen bay
#

There are no specific logs

winged latch
#

I don't remember how this works on the old version of the library you use

keen bay
#

ok

winged latch
#

I imagine there has to be something in logcat though, I'd be surprised if there's nothing at all, but hard to say.

keen bay
#

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

winged latch
#

interesting

keen bay
#

yes

#

Is it because I am using bottomsheetfragment?

#

and also not cardwidget?

winged latch
#

I don't imagine those would be involved, as far as I know

keen bay
#

ok

#

thank you for your help