#namphan_03650

1 messages · Page 1 of 1 (latest)

shell vergeBOT
shut widget
#

In which step you got the error specifically?

tulip zodiac
#

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

shut widget
tulip zodiac
#

yes, sure. If not, I could not discover and connect to Stripe Reader M2

shut widget
#

Ummm weird

#

Can you screenshot the error?

tulip zodiac
#

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)

shut widget
#

Do you have the full stack trace? Want to make sure the step it is errored

tulip zodiac
#

log is longer than 2000 characters, so I upload it as a file

shut widget
#

Hmm how do you know it's the confirmPaymentIntent function?

tulip zodiac
#

In the code, I log it and it throws exception when I call this method

#

this method has callback, right?

shut widget
#

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

tulip zodiac
#

yes, in the onFailure method