#ranjeetchouhan-android

1 messages · Page 1 of 1 (latest)

grizzled temple
#

Hi! How are you implementing Stripe? With the PaymentSheet? And is your question about iOS, Android, or both?

swift bay
#

Android. PaymentIntent is being created on Server end. I need to show authentication ui for 3DS card on App end.

grizzled temple
swift bay
#

What is use of confirmPayment(clientSecret,confirmPaymentIntentParams)

#

stripe = Stripe(this, publishableKey!!)

#

paymentSession = PaymentSession(
requireActivity(),
createPaymentSessionConfig()
)

                    paymentSession?.init(createPaymentSessionListener())
                    PaymentMethodsActivityStarter(requireActivity())
                        .startForResult(
                            PaymentMethodsActivityStarter.Args.Builder()
                                .build()
                        )
grizzled temple
swift bay
#

“We are passing a paymentMethodToken to our backend who is then creating a payment intent via the connect api. Once that payment is created, we are trying to confirm payment intents that are marked “incomplete” by calling the Stripe.confirmPayment() method. On ios the ui is automatically showing in a web view. In android, we are getting use_stripe_sdk/redirect_url”

grizzled temple
#

we are getting use_stripe_sdk/redirect_url
Can you calrify this part? What is the exact error message you see? And can you share a PaymentIntent ID that had this issue?

swift bay
#

Payment Failed The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

#

Getting Status RequireAction in case of Complete button clicked in 3DS webview

grizzled temple
#

Thanks! And can you share the PaymentIntent ID?

swift bay
#

Sure. Also when i clicked on Complete button in #DS Webview and callback is returning me RequiresCapture