Skip to content

[BUG] [P1] #12873

Description

@slott

Summary

App crashes when using the Stripe SDK

What is blocked by this issue?

Unable to checkout

Code to reproduce

Android version

Impacted devices

Installation method

Dependency Versions

kotlin:
stripe-android:
Android Gradle Plugin:
Gradle:

SDK classes

Video

Other information

Stack trace:

FATAL EXCEPTION: main
Process: vivino.web.app.beta, PID: 20985
java.lang.IllegalStateException: Received invalid payment method type null in PollingAuthenticator
at com.stripe.android.paymentsheet.paymentdatacollection.polling.PollingNextActionHandler.getArgsForPaymentMethod(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:64)
at com.stripe.android.paymentsheet.paymentdatacollection.polling.PollingNextActionHandler.performNextActionOnResumed(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:2)
at com.stripe.android.paymentsheet.paymentdatacollection.polling.PollingNextActionHandler.performNextActionOnResumed(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:1)
at com.stripe.android.payments.core.authentication.PaymentNextActionHandler.performNextAction(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:138)
at com.stripe.android.payments.core.authentication.PaymentNextActionHandler$performNextAction$1.invokeSuspend(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:12)
at yc0.b.K(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:57)
at yc0.b.r(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:71)
at kotlinx.coroutines.a.n(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:14)
at kotlinx.coroutines.a.A(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:32)
at kotlinx.coroutines.a.resumeWith(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:18)
at androidx.lifecycle.x1.m(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:37)
at androidx.lifecycle.f0$b.a(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:20)
at androidx.lifecycle.f0.i(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:347)
at androidx.lifecycle.f0.g(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:33)
at androidx.lifecycle.f0.f(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:15)
at androidx.lifecycle.ReportFragment$a.a(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:36)
at androidx.lifecycle.ReportFragment$b.onActivityPostResumed(r8-map-id-514bd3980aef5eabb435d0d59883c733cc187ad6c4137d6bb174c3ef1fc458d0:13)
at android.app.Activity.dispatchActivityPostResumed(Activity.java:1453)
at android.app.Activity.performResume(Activity.java:8505)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4763)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4806)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:179)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2306)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7918)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Suppressed: t80.f: [s1{Cancelling}@9cf85c9, Dispatchers.Main.immediate]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bugtriagedIssue 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