#deepak-authentication-help
1 messages · Page 1 of 1 (latest)
?
deepak-authentication-help
Hi
Hello! Can you provide a lot more specific details about your exact issue?
Yeah
So we have been testing our product with test mode and it was working great
Today we moved everything to production and used live mode
Now connect account doesn't work'
Nothing works with stripe now
I'm sorry but that's still too vague. I need concrete and specific information. Just knowing "nothing works" doesn't really help me narrow it down
are you the developer? If so, what exactly is not working. What exact error do you get, on which API method, and what is your code doing
Alright sorry
Yes I am one of the developer
One of all the API method of connect account where user is nagivated to Stripe Onboarding is giving authentication error
Which is the most important API because our users have ability to make stripe account and make payments through our platform
still unfortunately not enough
one of the API method, gives error
please be specific
It is giving error 500 authentication after I changed my stripe keys from test to live
Stripe doesn't return 500 authentication error
500 errors of that shape are usually PHP developers not catching exceptions/errors from our API properly
again, I'm sorry but you need to be clear and explicitl
What exact code what exact API method
$connect = \Stripe\Account::create([
'type' => 'standard',
'country' => 'US',
// 'capabilities' => [
// 'card_payments' => ['requested' => true],
// 'transfers' => ['requested' => true],
// ],
'email' => $data['email'],
]);
Create Standard Account
Okay that's a Standard account creation, not Connect Onboarding
so that errors?
What's your account id?
acct_1GJh5BI0FYDGs7q9
Your account has not calls to the Create Account API this month that are of type standard. My guess is that you aren't using the right secret API key, hence the authentication error
You need to triple check your Secret API key the sk_live_123 and that it matches what you have in the account with no trailing space before or after for example
don't sahre the key here obviously but this is likely the problem
you haven't made one API requests in Live mode on your account in days
I don't know what that means, but no. The problem is that your code is not sending a valid API key right now
try it, like just make a simple call yourself with that Secret key to create a Customer via https://stripe.com/docs/api/customers/create
does that work?