#jeremy_nodejs-beginner
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230652823063101441
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey @dry blaze ! This error looks to come from your own code/server here so it's going to be tough to debug without a lot more details about your environment, programming language, how experienced you are building a website, etc.
mainly just copy pasted
โโโ express@4.19.2
โโโ node@18.20.2
โโโ stripe@15.3.0
โโโ tailwindcss@3.4.3
these are the libraries i currently have installed
How experienced are you with this? Have you ever done this?
Sorry but that's going to be far from enough to help.
do you have a server running? Do you know how to do HTTP requests and understand your server?
I'm sorry I'm going need a lot more details than a handful of words. Sorry I know this can be confusing but I can't really help with just "npm start" when I asked multiple questions
I simply ran through the starting guide at https://docs.stripe.com/checkout/embedded/quickstart?lang=node
Yeah I just downloaded that file, went to the folder, did npm start, then opened a browser and loaded http://localhost:4242/checkout.html and it worked immediately
Do you have checkout.html properly in that public folder?
jeremy_nodejs-beginner
ah gotcha so yeah there are multiple files needed beyond the server.js
you need multiple files for the client to show the page (checkout.html), have code to render Checkout (checkout.js) and then we have a "result page" too
no its the public/ folder
you can download the whole project at once if it helps
yeh thanks a ton