#alison_alison

1 messages · Page 1 of 1 (latest)

open domeBOT
weary brook
#

How exactly are you integrated?

#

Are you using PaymentSheet?

light socket
#

Get the data from the CardInputWidget from the xml -> create a payment method intent for the clientSecret, then Stripe.createPaymentMethod with the data.
I confirm the payment method with Stripe.confirmSetupIntent which returns a status of "requires_action" and the next action data is use Use3DS2.

#

I was thinking the 3D secure would show up somewhere so far but it hasn't, so I do a check if the next action data is Use3DS2 I copied the code from this link https://stripe.com/docs/payments/3d-secure but I still get nothing

weary brook
#

let me know if that makes sense @light socket

light socket
#

Sorry I was testing stuff out, basically copied the code provided there and since I know that
if (nextAction is StripeIntent.NextActionData.SdkData.Use3DS2)
I call that code but I still don't see the 3DS2 flow :/

#

Maybe my whole implementation is wrong since I'm kinda new to android development and it can't be done from the viewModel

weary brook
#

Is there a specific reason you chose CardInputWidget over PaymentSheet?

#

Asking as PaymentSheet handles these things automatically and is relatively easier to handle

light socket
#

I think just for the custom ui, as we let users add cards before they make a payment.

weary brook
light socket
#

thanks @weary brook , I'll look into this