Skip to content

[BUG] White screen momentarily between submitting payment and receiving result #12965

@gregaauto

Description

@gregaauto

Summary

Given the user has correctly filled in details on the stripe bottom sheet and they then proceed to pay. The bottom sheet becomes momentarily not visible whilst the payment is being processed. Instead the user sees a white screen. Once payment processing is finished the bottom sheet reappears and then flow terminates as normal. As far as I can determine this is not a bug with our integration.

Prior to starting stripe payment flow, we do see our own UI but then this is replaced with the UI owned by stripe - we seem to have no further control at this point until processing terminates (either with success, failure, or cancellation).

Code to reproduce

I cannot show our own code, but I can describe the programmatic flow:

  • capture stripe payment (I have no visibility of that) and generate a unique paymentIntentClientSecret
  • start an activity and then construct an instance of the stripe payment sheet via: PaymentSheet.Builder(onResultCallback).build(activity)
  • invoke paymentSheet.presentWithPaymentIntent(...) passing in the client secret, and configuration with [merchantDisplayName, defaultBillingDetails, googlePay] supplied
  • await result
  • on result received, tear down activity and then respond normally

Android version

Android API 34, API 36

Impacted devices

Pixel 8A (API 34),
Pixel 9 (API 36)
These are both emulated devices but the same behavior has been noticed by QA on real devices

Installation method

gradle dependency

Dependency Versions

kotlin: 2.3.0
stripe-android: 23.4.0
Android Gradle Plugin: 8.13.2
Gradle: 8.14.4

SDK classes

PaymentSheet

Video

Screen.Recording.2026-04-27.at.15.07.49.mov

Other information

Though this is test stripe flow, I have been assured that this is not how things were when we first integrated stripe payment. Moreover, this issue has been observed recently by QA but it appears we can reproduce it far back in history. Our current activity that starts this flow uses android views (but really it only sets a background colour on a view and then stripe takes the wheel)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions