-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Stripe Android SDK does not support Kosovo on billing information #6501
Comments
I'm not able to reproduce this. I also see the country code in our supportedBillingCountries @tnt-agonm what SDK version are you using? |
@jaynewstrom-stripe I'm using SDK version 20.21.1 I noticed that in the Android PaymentSheet.kt file, the country code follows the ISO 3166-1 alpha-2 standard. However, in the iOS version, the standard used is ISO 3166-1 alpha-3. This could potentially be the root of the problem, as the difference in standards could be causing issues with how the country codes are being handled. |
Could you give us some more information on how you're initializing |
Yes sure, first, I declare: Then I will call setupStripe() on Activity onCreate(),
and then make an API call to backend for creating an order, on success I will present user paymentIntent like this:
and onPaymentSheetResult I handle the paymentSheetResult cases, Completed, Canceled, Failed. |
What other steps are you using, maybe I’m missing something. |
I'm just running our example app: https://github.com/stripe/stripe-android/tree/master/paymentsheet-example |
After some time of investigating this issue I can confirm that Kosovo is available as a billing address option on Stripe for Android version 33 and above. However, it appears that this option is not currently available for earlier Android versions. If you can address this issue and make sure that Kosovo is available as a billing address option on all Android versions. |
I see, that makes sense, I was using an API 33 emulator. I was also able to reproduce this on an older Android version. Looks like it was caused by #3570 I'm not sure if this is intended behavior or not, but I'll ask the team and get back to you. |
…ountries on older Android versions. Fixes #6501
Found a solution that should make it functional! Thanks for your diligence in getting this reproduced for us @tnt-agonm. This will be in our next release! |
Summary
The Stripe Android SDK currently does not support Kosovo as a valid country for billing information. This means that users from Kosovo should select other country in order to complete transactions on Android devices that require billing information. This is particularly concerning since the iOS SDK does support Kosovo on billing information, creating an inconsistency between the two platforms.
Steps to reproduce
Proposed solution
We propose that Stripe Android SDK should include Kosovo as a valid country for billing information, in line with the iOS SDK.
Impact
This issue affects any users from Kosovo who use Android devices for Stripe payments. It creates a frustrating user experience and may lead to lost business for merchants using Stripe as a payment gateway.
Thank you for your attention to this matter. Please let me know if you require any additional information.
The text was updated successfully, but these errors were encountered: