#namphan_03650
1 messages · Page 1 of 1 (latest)
In which step you got the error specifically?
With version 3.2.1, stripe terminal rename: Update: Terminal.processPayment has been renamed to Terminal.confirmPaymentIntent. So I call Terminal.getInstance().confirmPaymentIntent method and it causes this error
Um have you finished setup your integration here ? Including the ConnectionToken endpoint
https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=android#configure
yes, sure. If not, I could not discover and connect to Stripe Reader M2
And stack trace from StripeTerminal SDK
class=TerminalSession
com.stripe.stripeterminal.external.models.TerminalException: You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.
at com.stripe.stripeterminal.internal.common.proto.ProtoConverter.toTerminalException(ProtoConverter.kt:268)
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do you have the full stack trace? Want to make sure the step it is errored
Hmm how do you know it's the confirmPaymentIntent function?
In the code, I log it and it throws exception when I call this method
this method has callback, right?
the onFailuremethod?
Allright I am running out of idea. Could you write in Support and mention this Discord thread? We will grab it from there and investigate further
yes, in the onFailure method