Skip to content
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] PaymentSheet Set up Button visually locked when fill all inputs #9444

Open
aitorcooltra opened this issue Oct 15, 2024 · 3 comments
Open
Labels

Comments

@aitorcooltra
Copy link

Summary

When you fill all inputs in the Payment Sheet, the "set up" button keeps locked visually. You can tap on the button and it works fine, but this is confused for the user.

Code to reproduce

Here a screenshot:
paysheetlocked

Android version

Android 13

kotlin: 2.0.0
stripe-android: 20.47.0
Android Gradle Plugin: 8.5.1
Gradle: 8.7-bin

SDK classes

PaymentSheet.kt

@porter-stripe
Copy link
Contributor

porter-stripe commented Oct 15, 2024

Hi @aitorcooltra we are unable to reproduce this. Could you share the code you use to configure PaymentSheet, especially the appearance?

@aitorcooltra
Copy link
Author

I do not know if this is useful for you, but the appearance is:

 private val paymentSheetAppearance = PaymentSheet.Appearance(
    colorsLight = paymentSheetThemeColors,
    colorsDark = paymentSheetThemeColors
)

 private val paymentSheetThemeColors by lazy {

    PaymentSheet.Colors.defaultLight
        .copy(
            primary = ContextCompat
                .getColor(context, R.color.color_primary)
        )
}

@jaynewstrom-stripe
Copy link
Collaborator

@aitorcooltra do you mean the "Set up" button is disabled, and nothing happens when you click it? Or are you referring to the lock icon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants