You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app is running on a device set to RTL (Right-to-Left) language, the card number input field displays the entered numbers in reverse order, making the card number incorrect.
Expected Behavior
The card number should maintain its left-to-right format regardless of the device's language settings:
Entered/Expected: 1234 5678 9012 3456
Actual Behavior
The card number is being displayed in reverse order:
Displayed: 3456 9012 5678 1234
Steps to Reproduce
Set device language to an RTL language (e.g., Arabic, Hebrew)
Thanks writing in. I've been able to reproduce this issue and have added it into our internal tracking system. We will update this thread with any updates.
Note that the fix for stripe/stripe-android#3515 was for card element, which is working fine in our latest version. The problem reported is in PaymentSheet which seems to have never been working with RTL languages, so this does not seem to be a regression.
RTL Card Number Display Bug in Stripe Android SDK
Summary
When the app is running on a device set to RTL (Right-to-Left) language, the card number input field displays the entered numbers in reverse order, making the card number incorrect.
Expected Behavior
The card number should maintain its left-to-right format regardless of the device's language settings:
Actual Behavior
The card number is being displayed in reverse order:
Steps to Reproduce
Environment
Dependencies
implementation "com:stripe:stripe-android:20.53.0"
Additional Information
Impact
This bug severely impacts users in RTL regions as it makes credit card entry impossible due to incorrect number formatting.
Priority
High - This is a blocking issue for users in RTL regions attempting to make payments.
The text was updated successfully, but these errors were encountered: