|’Johnny|’
|’Johnny|’17mo ago

Stripe and Convex

has anybody worked with integrating stripe with convex before? I am following this documentation but I am still a little lost https://stack.convex.dev/stripe-with-convex
Wake up, you need to make money! (ft. Stripe)
If you’re building a full-stack app, chances are you’ll want some of your users to pay you for the service you provide. How to use Stripe with Convex ...
4 Replies
jamwt
jamwt17mo ago
sure, what's your question? @Michal Srb wrote that article and the template, but I'll do my best to answer any questions you have
|’Johnny|’
|’Johnny|’OP17mo ago
it might be a silly question, but in the stripe.ts file in the starter repo I get type errors for const pay, paymentId, and session saying their implicitly any type and I was wondering if there was any quick fix for this
ballingt
ballingt17mo ago
Did you install the dependencies with "npm install" and run "npm run dev" yet? Maybe try restarting the typescript server (or closing the vscode window and opening it again) @|’Johnny|’ I see this too! Once you run npm run dev (or npx convex codegen if you don't want to actually create a project) that will fix it. There have been changed to the codegen since this repo was published. I just updated the repo so this won't happen to other folks, but you should be set once you run npx run dev
|’Johnny|’
|’Johnny|’OP17mo ago
Great! I'll go ahead and give it a try, thanks

Did you find this page helpful?