Skip to content

Commit

Permalink
Merge pull request #1861 from cardstack/fix-stripe-forward-tcp-error
Browse files Browse the repository at this point in the history
Fix stripe script forward tcp error
  • Loading branch information
richardhjtan authored Dec 2, 2024
2 parents 9d3f8f8 + c0109dc commit 7df6ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ There is some pre-setup needed to enable free plan on development account:
1. Go to `packages/realm-server` and run stripe script to listen for the webhooks that Stripe sends to the realm server

```
pnpm stripe listen --forward-to localhost:4201/_stripe-webhook --api-key sk_test_api_key_from_the_sandbox_account
pnpm stripe listen --forward-to host.docker.internal:4201/_stripe-webhook --api-key sk_test_api_key_from_the_sandbox_account
```

2. You will get webhook signing secret from stripe cli after Step 1 is done
Expand Down
2 changes: 1 addition & 1 deletion packages/realm-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"lint:glint": "glint",
"full-reset": "./scripts/full-reset.sh",
"sync-stripe-products": "NODE_NO_WARNINGS=1 PGDATABASE=boxel PGPORT=5435 ts-node --transpileOnly scripts/sync-stripe-products.ts",
"stripe": "docker run --rm -it stripe/stripe-cli:latest"
"stripe": "docker run --rm --add-host=host.docker.internal:host-gateway -it stripe/stripe-cli:latest"
},
"volta": {
"extends": "../../package.json"
Expand Down

0 comments on commit 7df6ffe

Please sign in to comment.