Stripe account pack template
Publishable key, secret key and webhook secret for one Stripe mode.
Open in playground
Adds #stripe to the browser demo. No account.
Keys
- publishable_key
- demo-publishable-key
- secret_key:secret
- (encrypted secret, masked)
- webhook_secret:secret
- (encrypted secret, masked)
- dashboard:url
- https://dashboard.stripe.com
Example values. Rename, add or remove keys after you create the pack.
In a task
test the refund webhook with #stripe.webhook_secret @tomorrow !1
In the terminal
tsk env stripe
PUBLISHABLE_KEY=demo-publishable-key
SECRET_KEY='********'
WEBHOOK_SECRET='********'
DASHBOARD=https://dashboard.stripe.comThe real tsk decrypts secrets on your machine and prints them.
Test and live keys look the same until the wrong one is in production. Make one pack per mode (stripe-test, stripe-live) from this template and tag each task with the one it touches.
tsk env stripe-test > .env.testing
tsk get stripe-live.publishable_key
The secret key and the webhook secret are secret fields: encrypted on your device before they sync and masked in the app.