Section: Profiles and Config

Persist local project webhook secret example

bash
bash
echo "STRIPE_WEBHOOK_SECRET=whsec_xxx" >> .env.local

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Profiles and Config
Use STRIPE_API_KEY from the environment
Run a command using the environment-provided key instead of interactive login.
OpenIn sheetbashsame section
Verify the listen output includes a signing secret
When local webhook signature checks fail, restart listen and copy the current whsec value.
OpenIn sheetbash1 tag match