Skip to content

[BUG] PaymentResult.Failed returned instead of PaymentResult.Canceled #11535

@tcolligan

Description

@tcolligan

Summary

When using a production version of Cash App, when I cancel out of authorization flow, the Stripe callback returns PaymentResult.Failed instead of PaymentResult.Canceled.

This does not occur when testing via the sandbox authorization web view. It correctly returns PaymentResult.Canceled.

Code to reproduce

None

Android version

Android 12 (did not test on other OS versions)

Impacted devices

Pixel 3a (did not test on other devices)

Installation method

Gradle

Dependency Versions

kotlin: 2.1.20
stripe-android: 20.48.1
Android Gradle Plugin: 8.11.1
Gradle: N/A

SDK classes

com.stripe.android.payments.paymentlauncher.PaymentResult and com.stripe.android.payments.paymentlauncher.PaymentLauncher

Video

Video here.

Other information

N/A

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