Romakita / tsed-stripe-issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ts.ED logo

Ts.ED - cli-test


Website   •   Getting started   •   Slack   •   Twitter

An awesome project based on Ts.ED framework

Start

Add .env.local file with the followings lines:

STRIPE_SECRET_KEY=pk_test_5***
STRIPE_WEBHOOK_SECRET=sk_test_5***

Ts.ED

yarn start
yarn stripe:forward:tsed
yarn stripe:trigger

Express

yarn start:express
yarn stripe:forward:express
yarn stripe:trigger

Koa

yarn start:koa
yarn stripe:forward:koa
yarn stripe:trigger

Issue

All example return the followings:

Error message: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? 

About


Languages

Language:TypeScript 66.5%Language:EJS 17.4%Language:Dockerfile 11.8%Language:JavaScript 4.3%