stripe-android: [BUG] Translation Errors

Summary

There are several missing translations for error message that we need. It is critical for us because our user often have payment issues.

Insufficient funds card declined card expired
image image image

Android version

Reproduced on android version 10, 11 & 12

Impacted devices

All our test devices : Samsung S20 Ultra 5G, Huawei P9 Lite and more…

Installation method

Maven dependency

Dependency Versions

kotlin: 1.6.21 stripe-android: 20.4.0 Android Gradle Plugin: 7.2.0 Gradle: 7.2.4

SDK classes

PaymentSheet

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Hi @FlorentDambreville! Sorry that this has taken a while.

I actually began looking into it again this morning. I wanted to see if we could make any server-side changes for the error message localization, but it doesn’t seem that easy. Therefore, like our iOS SDK, I’m adding client-side mapping for any errors that we receive in the authentication flows.

I’ll aim to have this merged this week, so that it’s included in next week’s release.

It’s merged now, so I’m closing this issue.

Thanks again for notifying us that the issue persisted and helping us fix it 🙏 Definitely reach out again if you notice any other issues.

Thanks, that’s very helpful. I noticed two things:

  1. The backend does return an English error message, even though the customer’s preferred locale is French. I’ll try to figure out why this is happening.
  2. Your payment intent requires a 3DS challenge, and the result of that is handled here without the client-side logic added last November.

I’ll update you once I find out more.