stripe-android: Getting error No such SetUpIntent for version 14.5.0
Summary
We have two different Android applications which is using Stripe.
First application is using Java and has 10.4.2 Stripe Android SDK. This application is able to get setupIntentClientSecret from server and confirmSetupIntent successfully.
Second application is using Kotlin and 14.5.0 Stripe Android SDK. Application is able to get the setupIntentClientSecret from server and than ConfirmSetUpIntent is called as per https://stripe.com/docs/payments/save-and-reuse#android-collect-card-details. When stripe.confirmSetupIntent is called, it’s getting failed with error: No Such SetUpIntent.
setupIntentClientSecret is correct as first application is able to confirmSetupIntent successfully.
4000002500003155 is used as testing card.
Code to reproduce
Code for confirmSetupIntent is as per https://stripe.com/docs/payments/save-and-reuse#android-collect-card-details
Android version
Its not Android version specific but I am getting this error in Android 10.
Impacted devices
All
Installation method
Using build.gradle
SDK version
implementation ‘com.stripe:stripe-android:14.5.0’
Other information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21
seti_1GuF7mFvbisHamMmw80kXCUris owned by a different account than the one making the confirmation request. Are you specifying an account id when you are confirming the SetupIntent?