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] The device name of the payment made from an Android device does not appear on the dashboard #9642

Open
adizdaroglumyne opened this issue Nov 18, 2024 · 2 comments
Labels
bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@adizdaroglumyne
Copy link

adizdaroglumyne commented Nov 18, 2024

Summary

When I do a payment from any Android device, the device name cell is blank on dashboard. But when we do a payment via iOS or web, we see the device name as non-blank. Here it is the picture from our dashboard:

Screenshot 2024-11-18 at 13 35 51

Code to reproduce

override suspend fun presentPaymentSheet(
        paymentSheet: PaymentSheet?,
        stripePaymentIntentResponse: StripePaymentIntentResponse
    ) {
        val environment = if (BuildConfig.FLAVOR == "dev") {
            PaymentSheet.GooglePayConfiguration.Environment.Test
        } else {
            PaymentSheet.GooglePayConfiguration.Environment.Production
        }
        paymentSheet?.presentWithPaymentIntent(
            paymentIntentClientSecret = stripePaymentIntentResponse.clientSecret,
            configuration = PaymentSheet.Configuration(
                merchantDisplayName = "MyApp",
                customer = PaymentSheet.CustomerConfiguration(
                    stripePaymentIntentResponse.customerId,
                    stripePaymentIntentResponse.ephemeralKey
                ),
                allowsDelayedPaymentMethods = true,
                googlePay = if (Build.VERSION.SDK_INT >
                    Build.VERSION_CODES.Q
                )
                    PaymentSheet.GooglePayConfiguration(
                        environment = environment,
                        countryCode = "US",
                        currencyCode = "USD"
                    ) else null
            )
        )
    }

Android version

Doesn't matter

Impacted devices

Doesn't matter

Installation method

Groovy Gradle Dependency

Dependency Versions

kotlin:1.9.0
stripe-android:21.0.1
Android Gradle Plugin:8.4.0
Gradle:8.6

SDK classes

Video

Other information

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Nov 25, 2024
@davidme-stripe
Copy link
Contributor

Thanks for filing this! We're investigating this now.

@adizdaroglumyne
Copy link
Author

is there any news ? @davidme-stripe

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