Open Aleksandern opened 1 month ago
stripe preview whoami command doesn't work as described in the doc. I get error
stripe preview whoami
Unknown command "preview" for "stripe". Did you mean "reviews"? If not, see "stripe --help" for a list of available commands.
Display the sandbox i'm currently using.
run the following command in the CLI:
brew install stripe/stripe-cli/stripe
stripe login
stripe listen --forward-to localhost:3333/api/
This isn't immediately apparent from the documentation (they should probably call it out in the sandbox docs)
You need to install the Stripe CLI preview plugin
https://docs.stripe.com/cli-preview-plugin
Issue
stripe preview whoami
command doesn't work as described in the doc. I get errorExpected Behavior
Display the sandbox i'm currently using.
Steps to reproduce
run the following command in the CLI:
brew install stripe/stripe-cli/stripe
stripe login
stripe listen --forward-to localhost:3333/api/
(webhook is visible)stripe preview whoami
Environment