#tamil-selvan_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/1262645626412204063
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- tamil-selvan_api, 17 hours ago, 20 messages
- tamil-selvan_api, 18 hours ago, 44 messages
From Dashboard you can only view livemode API secret once. If you forget the key, you need to roll it and get a new one.
Can you give me a simple tip?
I'm using stripe cli,
Used this command to create new cli session
stripe login
Once done, it creates
I see below data in stripe config --list
live_mode_api_key = 'rk_live_***********************************************************************************************37wr'
live_mode_key_expires_at = '2024-10-14'
live_mode_pub_key = 'pk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_api_key = 'rk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_key_expires_at = '2024-10-14'
test_mode_pub_key = 'pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
When I go to Dashboard->Developer->API keys there is no such option provided for viewing live_mode_api_key.
When roll the key, I can see it is creating new key with new session.
Do I need to use
stripe login --api-key rk_live_**********************************************************************************************
I'd recommend using stripe login -i in interactive mode to enter live mode secret or restricted key manually: https://docs.stripe.com/cli/login#login-interactive
You can obtained the live mode secret or restricted key from https://dashboard.stripe.com/apikeys
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
After logging in successfully, stripe command will run in the account corresponding to the mode and account of the key
When I create a key direclty there, it is only created test keys?
I need to know what is the proper procedures to see and use it? or only test account we need to use CLI ah? Please tell me. I want rk_live that is connected account restricted key, live mode api key not the test mode.
It is too weird
root@srv539541:~# stripe login -i
Enter your API key:
Your API key is: rk_live_***********************************************************************************************tddX
How would you like to identify this device in the Stripe Dashboard? [default: srv539541] yes
Done! The Stripe CLI is configured for Bridges To Our Future with account id acct_xxxxxxxxxx
root@srv539541:~# stripe config --list
color = ''
project-name = 'default'
[default]
device_name = 'yes'
display_name = 'Bridges To Our Future'
test_mode_api_key = 'rk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_key_expires_at = '2024-10-14'
You'd need to turn off the Test mode toggle to create the API key in the same page: https://dashboard.stripe.com/apikeys
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
In the cli it is showing testmode apikey. when I use it, it is creating live account .too weird. Anyway it is working with stripe -i manual api key method.