Stripe cli does not authorize on windows whenever I run the "stripe login" command
ayinde-xyz opened this issue · 4 comments
The more information we have the easier it is for us to help. Feel free to remove any sections that might not apply
Issue
Whenever I run "stripe login" on my terminal after downloading the stripe cli for windows, it produces a code that actually matches the one on the browser but refuses to authenticate it. It produces an error instead.
Expected Behavior
I expect an authenticated message with 200 ok status to be displayed on my terminal
Traceback
unexpected http status code: 400 {"error":{"message":"The livemode of the authorization key you provided does not match that of the key provided in the Stripe-Account header.","message_code":"stripe_account_livemode_mismatch"}}
Environment
Windows
Same here, seems like Stripe CLI doesn't work with test accounts as I can login with a standard account.
Any updates here?
Got the same issue with version 1.20.0 (windows).
The alternative seems to be to manually pass the api key as an arg. Kind of cumbersome but it works. For example
stripe get prod_abc --api-key sk_test_123