Skip to content

Instantly share code, notes, and snippets.

@SimonHoiberg
Created June 19, 2020 14:21
Show Gist options
  • Save SimonHoiberg/bd02a98259274a77b10a90304a06d2d8 to your computer and use it in GitHub Desktop.
Save SimonHoiberg/bd02a98259274a77b10a90304a06d2d8 to your computer and use it in GitHub Desktop.
# serverless.yml
stripe-webhooks:
handler: dist/lambdas/stripe/webhooks.handler
events:
- http:
path: stripe/webhooks
method: post
environment:
STRIPE_SECRET_KEY: PUT-YOUR-SECRET-KEY-HERE
STRIPE_WEBHOOK_SECRET: PUT-YOUR-SIGNING-SECRET-HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment