fix(stripe): guard invalid webhook tolerance config - #873
Conversation
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
3 similar comments
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
Summary
{ webhookToleranceSeconds: 0 }escape hatch for disabling timestamp checks.NaNfalls back to the default tolerance instead of bypassing stale-signature protection.Validation
git diff --checkI attempted
pnpm vitest run packages/payments/stripe/src/index.test.tsandpnpm --filter @profullstack/sh1pt-payment-stripe typecheck, but this checkout stops during dependency preparation because the committed lockfile fails the active supply-chain policy:@profullstack/autoblog@0.4.0has no tarball integrity field. I did not modify the lockfile; the regression test is included for maintainers' normal CI/runtime.