Skip to content

[BUG] The device name of the payment made from an Android device does not appear on the dashboard #9642

@adizdaroglumyne

Description

@adizdaroglumyne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriagedIssue has been reviewed by Stripe and is being tracked internally

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions