#juju-chew-vacca_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1259980247303192629
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there. Can you be sure that the keys you're using match the keys you see in your Dashboard? https://docs.stripe.com/keys#obtain-api-keys
Please don't share any secret keys here
100%
If you hard code keys into your code, do your requests work?
(this is assuming you're using environment variables otherwise)
@viscid jacinth is who i am working with he is an active developer, can you add him to this thread
Hi roadrunner
So, the application he is using is called Invoice Ninja
I have stripe as well. And on a call with him right now. I created some temp keys for one of my businesses and had him try them out on the app (which I use as well) and they validated. howeever, his keys are not validating. '
@warm swan ?
By temp keys, do you mean restricted API keys?
By not validating, what kind of error are you getting?
no. I created standards. Then had him test then deleted.
Do you have a screenshot? Where exactly do you see invalid keys?
(Please don't share any actual secret keys in your screenshot)
This isn't really helpful to investigate, I have no idea what you're looking at or where you see this message
I am asking juju to provide screen shot
But basically ithe app tries to authenticate the keys. and it says njo
I give him my keys and it works.
So I guess the question should really be.. does the account need to be fully validated before the keys will even work?
You're using keys that begin with sk_test and pk_test or something else?
of course
so when I send him keys .. from mine and he checks it's no problem.
so I believe it's an issue that his account still needs to finalize verification?
Never had this issue in the past. most of the time. Can use dev API keys. just can't get payouts until account is validated.
Can you share your Stripe account ID? It should begin with acct_
This should be visible under https://dashboard.stripe.com/settings/user; just scroll to the end and share the ID that corresponds to the keys you're working with
acct_1PFh9DKK6fiVeSs5
I was hoping to see some logs that show what InvoiceNinja is trying to do when you click that "Check Credentials" button
I think you'll need to talk to InvoiceNinja about this. I noticed you're using a live secret key that ends in k78C to retrieve customers and that works fine
it was old that he was talking about that worked and njow al of the sudden not
So the question really remains.
Because his account is in review is that the reason why the api keys do not work?
No, that shouldn't happen
it seems like such
because my keys work from my stripe
but his do not.. I mean all he is doing is changing 2 keys
pk and sk
use mine.. work.. use his no
I see there were other calls to retrieve customers earlier today that used the key ending in 1fuj and that worked fine
You can rule out an issue with the keys if you create a customer using cURL
happy to give me acct id if you want ot hceck
or make a call to get a list of customers with the live key, also using cURL. If we can rule out an issue with the keys, then it's something you'll need to talk to InvoiceNinja about
@viscid jacinth I don't see any live cURL requests yet
yeah testing somethingj else
it looks like it when I do the validate creds through app
in logs it shows it's making a custmers request
intewresting
so everything said it didn't work but it worked lol
Happens lol