#kratos6753-Stripe CLI

1 messages ยท Page 1 of 1 (latest)

worldly spear
#

๐Ÿ‘‹ happy to help

cursive wedge
#

Stripe login is defaulting to testmode, anyway to switch it to live. Stripe help command is not very helpful in this.

worldly spear
#

--live should do the trick

cursive wedge
#

โžœ ~ stripe login --live
unknown flag: --live

#

this is the error message that i got

worldly spear
#

no the login is the same

#

but when you do a request

#

then you could use the --live

cursive wedge
#

got it. it works. thanks.

worldly spear
#

let me know if you need any more help

cursive wedge
#

sure.

#

Hi @worldly spear , when I tried to create live customer from CLI - I got error - Having the 'rak_customer_write' permission would allow this request to continue. How to give permissions?

worldly spear
#

I'm not sure to be honest, Stripe CLI isn't meant to be used in live mode AFAIK

cursive wedge
#

can you help me if I provide request id? or is it possible to create live customer from postman request?

worldly spear
#

I recommend you contact support https://support.stripe.com/?contact=true

#

can you help me if I provide request id?
yes please do

cursive wedge
#

req_OprwmiG1a3A6ze

worldly spear
#

to config live_mode_api_key

cursive wedge
#

Thanks.

#

In the restricted keys sections, I am able to edit key for which this error occured & provide write permissions. After which I was able to make successful cli requests in live mode.

worldly spear
#

that is also a solution

#

sorry I haven't thought of it before

chilly tinsel
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!