#sman_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1291051419452833874
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Can you tell me more about what you are trying to do?
And do you have a request ID for the error you are seeing?
I am trying to replace the sk_live key with the rk_live key. Stripe is requiring me to change this before Oct29 when the sk_live keys will stop working.I don't see a request ID. I am trying to update the API key.
Well the error indicates that your Restricted Key does not have the proper permissions for what you are trying to do with that key
So where in your code is the error coming from exactly?
Yes, this is the permission it says is missing. Having the 'rak_accounts_kyc_basic_read' permission would allow this request to continue.
Correct.
Did you create this restricted key via the Dashboard?
Also what does:
Stripe is requiring me to change this before Oct29 when the sk_live keys will stop working.
mean exactly?
I used the WHMCS app in the Stripe Marketplace.
What is WHMCS? Is that a third-party?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ah okay thanks, yeah we don't support plugins or connectors here.
We can only help with folks directly integrating the API.
If you are having an issue with a plugin then you'll want to reach out to them for help.
Otherwise I'd recommend checking the permission that your key has
If I were to create the API manually, as if I am connecting directly, would that resolve this, at least until the plugin is fixed?
The API key.
I'm not sure what that means really, sorry.
I'd try creating a new Restricted Key at https://dashboard.stripe.com/apikeys
And make sure it has the necessary permissions
Stripe has a button to create a restricted key, where you set the permissions manually instead of using an App to do it for you.
Everyone who uses the API would need to do this. So this should not be some foreign concept to anyone using it.
Ah okay this is a listed Stripe App, not a third-party plugin, and the Stripe App you are using is switching to restricted keys for authentication. So no, you can't generate a restricted key via the Dashboard for this -- you have to go through their app flow to generate this key as indicated at https://docs.stripe.com/stripe-apps/api-authentication/rak
If you are then seeing an error using their App then they have a bug in their App and you would need to reach out to them about that.