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] Android SDK PaymentSheet Unable To Proceed Adding of Card #9781

Open
acadetorres opened this issue Dec 13, 2024 · 2 comments
Open

[BUG] Android SDK PaymentSheet Unable To Proceed Adding of Card #9781

acadetorres opened this issue Dec 13, 2024 · 2 comments
Labels
bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@acadetorres
Copy link

acadetorres commented Dec 13, 2024

Summary

When Adding a card using PaymentSheet, user is unable to proceed to the "add payment method" using a remote/keyboard input.

Code to reproduce

fun presentPaymentSheet() {
showLoading(true)
devFeatures.isStripeOpen = true
paymentSheet.presentWithPaymentIntent(
paymentIntentClientSecret,
PaymentSheet.Configuration(
merchantDisplayName = getString(R.string.merchant),
customer = customerConfig,
allowsPaymentMethodsRequiringShippingAddress = false,
// Set allowsDelayedPaymentMethods to true if your business handles
// delayed notification payment methods like US bank accounts.
allowsDelayedPaymentMethods = true
)
)
}

Android version

Android 13 Android 13

Impacted devices

All

Installation method

Through gradle dependency,

Dependency Versions

kotlin:1.9.22
stripe-android: implementation ("com.stripe:stripe-android:21.2.1")
Android Gradle Plugin: gradle 8.11
Gradle:

SDK classes

PaymentSheet

Video

Video
https://we.tl/t-uVKeJcUWMz

Other information

On similar note, users cannot navigate out of the "pay" button on PaymentSheet using a remote.

@joyceqin-stripe
Copy link

Hi @acadetorres, thanks for reporting! We'll look into this.

@joyceqin-stripe joyceqin-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Dec 13, 2024
@acadetorres
Copy link
Author

Hi @joyceqin-stripe , thanks for checking it.

To add, even when using the old UI with this code,

paymentSheet.presentWithPaymentIntent(
            paymentIntentClientSecret,
            PaymentSheet.Configuration.Builder(getString(R.string.merchant))
                .merchantDisplayName(getString(R.string.merchant))
                .customer(customerConfig)
                .allowsDelayedPaymentMethods(true)
                .allowsPaymentMethodsRequiringShippingAddress(false)
                .paymentMethodLayout(PaymentSheet.PaymentMethodLayout.Horizontal)
                .build()
        )

Users are still unable to add payment method/card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

2 participants