stripe

webhook testing#

In WSL:

  1. start stripe-cli
    bash
    docker run --rm -it --add-host host.docker.internal:host-gateway --entrypoint=/bin/sh stripe/stripe-cli stripe login stripe listen --forward-to <your-local-ip-address>:<your-local-port>/stripe_webhook
  2. copy the webhook secret output from stripe listen into STRIPE_WEBHOOK_SECRET or similar