You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK returning this TerminalException:
Expired API Key provided: pss_live_YW*********************************************************************_******OvgX
when calling Terminal.getInstance().retrievePaymentIntent(String, PaymentIntentCallback).
Terminal.getInstance().retrievePaymentIntent(
paymentIntentSecretToken.clientSecret // Fresh secret returned from the backend,object:PaymentIntentCallback {
overridefunonSuccess(paymentIntent:PaymentIntent) {
collectPaymentMethod(donationData, paymentIntent, readerPaymentApi)
}
overridefunonFailure(e:TerminalException) {
// Here, the sdk returns the "Expired API Key provided" error.
sendGenericError(donationData, e)
readerPaymentApi.onPaymentFailed(e)
}
},
)
Android version
Android 13
Impacted devices (Android devices or readers)
I'm having the problem with the Stripe BBPOS WisePad 3, but I'm not sure if it's a card reader-related thing.
SDK version
com.stripe:stripeterminal:3.10.0
Other information
I'm not sure how to replicate this issue. It has happened in production to many users, and the only way to get rid of it is restarting the app (we connect the reader when the app starts and use the same reader connection over the entire app lifecycle)
The text was updated successfully, but these errors were encountered:
I don't have the payment intent ID because the SDK fails exactly while retrieving it.
The issue is happening between 2-10 times per day, to different users. But this information is not realiable because it depends on how many payments tries the user to do, since when the issue starts to happen, it happens until the app is restarted, so if the user is having this error and tries to do 100 payments in a row (for example) without restarting the app, those 100 payments will fail with the same error explanation.
Hi @pvenrod, I could not reproduce this error you're seeing; the SDK should attempt to auto-recover from session token expiry from retrievePaymentIntents, if you could please provide us with an example PaymentIntent or reader serial, we can troubleshoot further.
Summary
SDK returning this TerminalException:
Expired API Key provided: pss_live_YW*********************************************************************_******OvgX
when calling
Terminal.getInstance().retrievePaymentIntent(String, PaymentIntentCallback)
.Code to reproduce
Connection token provider:
Code that returns the error:
Android version
Android 13
Impacted devices (Android devices or readers)
I'm having the problem with the Stripe BBPOS WisePad 3, but I'm not sure if it's a card reader-related thing.
SDK version
com.stripe:stripeterminal:3.10.0
Other information
I'm not sure how to replicate this issue. It has happened in production to many users, and the only way to get rid of it is restarting the app (we connect the reader when the app starts and use the same reader connection over the entire app lifecycle)
The text was updated successfully, but these errors were encountered: