#laulhus
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- laulhus, 20 hours ago, 11 messages
Okay, I'm receiving the error PAYMENT_ERROR.DECLINED_BY_STRIPE_API which says:
You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer token...
This is when I try to call collectSetupIntentPaymentMethod from the React Native SDK
I don't know which endpoint this is referring to, since createSetupIntent and the rest of functions from the SDK do work
I would say make sure you have a connection token endpoint set up and working : https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=react-native#connection-token
I have it and I receive the token correctly
strange
not sure then, I would need to dig into much more specifics like your exact code and a repro app
And it was working few days back, the only thing that cames to my mind is that my device updated to Android 14
But if it's supported I can't figure out what else could have changed
the API key is only provided once from my server, from the front I only use the functions from react native sdk and the fetchConnectionToken endpoint mentioned in the docs
yeah not sure, what have to dig into a repro
Right, thanks for your help!
I'd suggest opening a support ticket at https://support.stripe.com/?contact=true with full context so we can help