#jaybabu_code

1 messages ยท Page 1 of 1 (latest)

little solsticeBOT
#

๐Ÿ‘‹ 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/1407842552924737660

๐Ÿ“ 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.

hollow warren
#

๐Ÿ‘‹ Looking into this.

#

stripe login --api-key "then specify your live key"

#

This should allow you to login to your live account

tawny ledge
#

the prefix for the api key is sk_live right?

hollow warren
#

correct.

Can you log out of the dashboard complete in the browser first?

#

apologizes, for stripe CLI it will always default to test mode unless you specify the --live argument as well

tawny ledge
#

stripe payment_links create --application-fee-percent 3 --currency "usd" --on-behalf-of "acct_1RKKYDRfaR1ewCgI"
-d "line_items[0][price]"='price_1RyIjPDCuRuHsY0oqWhjQJ6R'
-d "line_items[0][quantity]"=1 --live

#

i passed in live here

#

okay logout of the browser, will do

hollow warren
#

then login in using the live key while using the --live flag

tawny ledge
#

i logged out of the browser. did stripe login --api-key and am getting the same options still

little solsticeBOT
hollow warren
#

did you use --live when logging in?

tawny ledge
#

that said flag not recognized

vale plank
#

๐Ÿ‘‹ Taking over this thread, catching up now

#

Can you use stripe login --interactive, then login with the live mode secret key?

tawny ledge
#

i tried that earlier. will try again

vale plank
#

Since you have the secret key in hand, how about just creating the payment link via cURL instead of using Stripe CLI?

tawny ledge
#

i could

vale plank
#

I hope cURL has solved the problem. Is there anything else that I can help here?