#DizzyDizz-cli

1 messages · Page 1 of 1 (latest)

fervent crystal
cyan dove
#

I tried with stripe login --api-key and entered the production key, but it still takes only the test data

fervent crystal
cyan dove
#

used the --api-key with production id flag

fervent crystal
#

Sorry missed your 2nd message

#

Can you share the command you're using which isn't working as you'd expect

cyan dove
#

stripe login --api-key "MY_ProductionKEy"

fervent crystal
#

CLI uses test data by default regardless of API key I think. You might need to pass a flag depending on the actual command

#

Sorry I mean the command that is still using test data

cyan dove
#

Ok thank you i dont really get it at the moment but i will look into it again

fervent crystal
#

but it still takes only the test data
What did you mean by this?

cyan dove
#

when i use somtehing like stripe customers list

#

i still get the test users

fervent crystal
#

Yep, use the --live flag

#

stripe customers list --live

#

CLI defaults to test data, but that flag is available on some (most?) commands

cyan dove
#

Man you made my day

#

was searching for this since hours

#

💪

fervent crystal
#

It's not very well documented, just that callout which you can easily miss

cyan dove
#

✌️