stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

3ds rejected due to missing card holder name

Open CoreFloDev opened this issue 3 years ago • 3 comments

Summary

Some of our payment got rejected due to missing card holder name. After investigating our SDK, I found that you can request the full address by setting setBillingAddressFields(BillingAddressFields.Full) that also include the card holder name. But it is really inconvenient for the user as they need to enter their full address twice. So I was thinking that there maybe a way to prepopulate those fields as I already got the user address and name at this point of time. I have tried the code bellow but it doesn't display the address fields prepopulated. Is there a way to do that?

Code to reproduce

                val paymentSessionConfig = PaymentSessionConfig.Builder()
                    .setShippingMethodsRequired(false)
                    .setShippingInfoRequired(false)
                    .setPrepopulatedShippingInfo(
                        ShippingInformation(
                            name = user.firstName + " " + user.lastName,
                            phone = user.phone,
                            address = Address.Builder()
                                .setCity(address.city)
                                .setLine1(address.address1)
                                .setLine2(address.address2)
                                .setPostalCode(address.postcode)
                                .build()
                        )
                    )
                    .setBillingAddressFields(BillingAddressFields.Full)
                    .build()

                paymentSession = PaymentSession(activity, paymentSessionConfig)

Android version

all

SDK version

16.3.0

CoreFloDev avatar Mar 30 '21 21:03 CoreFloDev

Hi @CoreFloDev, thanks for raising this issue! I see what you're trying to do, but the ShippingInformation supplied to PaymentSession is not used when collecting the billing address. Let me check what the best approach would be here and get back to you soon.

brnunes-stripe avatar Apr 01 '21 04:04 brnunes-stripe

Hi @brnunes-stripe

For that missing feature, are we talking months or days to have it added to your SDK? To know if I need to do a release where the users would have to input all the field themself twice

CoreFloDev avatar Apr 05 '21 20:04 CoreFloDev

Hi @CoreFloDev, sorry I missed this. This is in our backlog, but we won't get to it in the next few weeks. Out of curiosity, do you see any patterns on the types of card or country of issuance that are having the payments rejected for that reason? That's not something we commonly see.

brnunes-stripe avatar Apr 30 '21 01:04 brnunes-stripe

Hello, this is available as of today on v20.23.

eurias-stripe avatar Apr 17 '23 19:04 eurias-stripe