#deepak-authentication-help

1 messages · Page 1 of 1 (latest)

frail cragBOT
obsidian wind
#

?

abstract quarry
#

deepak-authentication-help

obsidian wind
#

Hi

abstract quarry
#

Hello! Can you provide a lot more specific details about your exact issue?

obsidian wind
#

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

abstract quarry
#

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

obsidian wind
#

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

abstract quarry
#

still unfortunately not enough

#

one of the API method, gives error

#

please be specific

obsidian wind
#

It is giving error 500 authentication after I changed my stripe keys from test to live

abstract quarry
#

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

obsidian wind
#

$connect = \Stripe\Account::create([
'type' => 'standard',
'country' => 'US',
// 'capabilities' => [
// 'card_payments' => ['requested' => true],
// 'transfers' => ['requested' => true],
// ],
'email' => $data['email'],
]);

#

Create Standard Account

abstract quarry
#

Okay that's a Standard account creation, not Connect Onboarding

#

so that errors?

#

What's your account id?

obsidian wind
#

acct_1GJh5BI0FYDGs7q9

abstract quarry
#

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

obsidian wind
#

I have 2 separate secret keys

#

Is that a problem?

abstract quarry
#

I don't know what that means, but no. The problem is that your code is not sending a valid API key right now

#

does that work?

obsidian wind
#

Makes sense

#

But why can't see my secret key?

#

It doesn't let me reveal it

abstract quarry
#

Secret keys in Live mode can only be revealed once

#

create a new key, test that key quickly, if that works, use that key in your production code