Skip to content

Instantly share code, notes, and snippets.

@mindlapse
Created August 6, 2019 19:17
Show Gist options
  • Save mindlapse/e4a4c2246e6e138af6e9acf646e04109 to your computer and use it in GitHub Desktop.
Save mindlapse/e4a4c2246e6e138af6e9acf646e04109 to your computer and use it in GitHub Desktop.
SetupIntent issue in stripe-android - logcat
```
08-06 15:13:20.478 17016 17016 W System.err: com.stripe.android.exception.InvalidRequestException: You cannot confirm this SetupIntent because it's missing a payment method. Update the SetupIntent with a payment method and then confirm it again.; request-id: req_DRwGpA9WfR3mhw
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.StripeApiHandler.handleAPIError(StripeApiHandler.java:1014)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.StripeApiHandler.makeApiRequest(StripeApiHandler.java:1061)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.StripeApiHandler.confirmSetupIntent(StripeApiHandler.java:180)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.PaymentController$ConfirmStripeIntentTask.getResult(PaymentController.java:436)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.PaymentController$ConfirmStripeIntentTask.getResult(PaymentController.java:410)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.ApiOperation.doInBackground(ApiOperation.java:22)
08-06 15:13:20.478 17016 17016 W System.err: at com.stripe.android.ApiOperation.doInBackground(ApiOperation.java:11)
08-06 15:13:20.478 17016 17016 W System.err: at android.os.AsyncTask$2.call(AsyncTask.java:295)
08-06 15:13:20.478 17016 17016 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-06 15:13:20.479 17016 17016 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
08-06 15:13:20.479 17016 17016 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
08-06 15:13:20.479 17016 17016 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
08-06 15:13:20.479 17016 17016 W System.err: at java.lang.Thread.run(Thread.java:818)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment