joschan21 / digitalhippo

A Modern Fullstack E-Commerce Marketplace for Digital Products
3.3k stars 625 forks source link

Has anyone deployed the project on vercel #28

Open panu2109 opened 8 months ago

panu2109 commented 8 months ago

railway app is not free so was asking has anyone has deployed the project on vercel

philip06lee commented 8 months ago

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

panu2109 commented 8 months ago

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

same problem

panu2109 commented 8 months ago

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

what about web hook secret key did u manage to complete the project....is it necessary to deploy the project???

philip06lee commented 8 months ago

Yup, I added in web hook secret key into Vercel env variable.

panu2109 commented 8 months ago

Yup, I added in web hook secret key into Vercel env variable.

is it working?????

panu2109 commented 8 months ago

Yup, I added in web hook secret key into Vercel env variable.

you added the one which got deployed...but was showing application error..that only u added to the web hook secret???

philip06lee commented 8 months ago

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

panu2109 commented 8 months ago

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

same problem... but bro my question is that is your web hook secret key working fine???

panu2109 commented 8 months ago

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

same problem... but bro my question is that is your web hook secret key working fine???

are u able to download the assest and bill receipt after payment

panu2109 commented 8 months ago

yes, it working fine in localhost. There is checkout success

bro i am facing issue in checkout success even after webhook secret

panu2109 commented 8 months ago

yes, it working fine in localhost. There is checkout success

can u shaare your .env(remove the keys)

panu2109 commented 8 months ago

yes, it working fine in localhost. There is checkout success. User can download

pranittttttt is it right please take a look

panu2109 commented 8 months ago

yes, it working fine in localhost. There is checkout success. User can download

can u share me your...nextconfig.js pleasee reply please brooo

panu2109 commented 8 months ago

yes, it working fine in localhost. There is checkout success. User can download

bro r u there??????

panu2109 commented 8 months ago

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /* @type {import('next').NextConfig} / const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

bro in .env in next_public_Server did put your domain link please tell me...

panu2109 commented 8 months ago

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /* @type {import('next').NextConfig} / const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

can u share me u r .env files..(Remove the keys i just i want to see next_public_server env variable

panu2109 commented 8 months ago

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /* @type {import('next').NextConfig} / const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

bro i am facing this error 1234

panu2109 commented 8 months ago

For localhost, thewebhook works with successful checkout and usercan dowload purchased file. For Vercel, of course i change it to domain name for webhook. Error in server after trying to deploying with Vercel. I think it has to do with fetching imagesin next.config.js NEXT_PUBLIC_SERVER_URL=http://localhost:3000 in .env STRIPE_WEBHOOKSECRET=____

Bro mine is giving above error please check ..in the local host only the checkout session doesn't work..i am unable to download the assest file..

panu2109 commented 8 months ago

For localhost, thewebhook works with successful checkout and usercan dowload purchased file. For Vercel, of course i change it to domain name for webhook. Error in server after trying to deploying with Vercel. I think it has to do with fetching imagesin next.config.js NEXT_PUBLIC_SERVER_URL=http://localhost:3000 in .env STRIPE_WEBHOOKSECRET=____

?

Sid-hac commented 7 months ago

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

same error bro , did you manage to solve this?

anudeep348 commented 4 months ago

The issue here is that VERCEL is a serverless platform. However, in this project, we are creating a custom server using Express.js. So, It is not possible to deploy a server to a serverless platform.

NaseerUllahAwan commented 2 months ago

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

I have also the same issue on vercel. Deployed successfully but no screen shows and gives this error

"Application error: a server-side exception has occurred (see the server logs for more information). Digest: 2333662928"

NaseerUllahAwan commented 2 months ago

For localhost, thewebhook works with successful checkout and usercan dowload purchased file. For Vercel, of course i change it to domain name for webhook. Error in server after trying to deploying with Vercel. I think it has to do with fetching imagesin next.config.js NEXT_PUBLIC_SERVER_URL=http://localhost:3000 in .env STRIPE_WEBHOOKSECRET=____

Bro mine is giving above error please check ..in the local host only the checkout session doesn't work..i am unable to download the assest file..

Same issue with me.

NaseerUllahAwan commented 2 months ago

The issue here is that VERCEL is a serverless platform. However, in this project, we are creating a custom server using Express.js. So, It is not possible to deploy a server to a serverless platform.

No it is not correct. Read here https://vercel.com/guides/using-express-with-vercel

NaseerUllahAwan commented 2 months ago

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /* @type {import('next').NextConfig} / const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, } module.exports = nextConfig

bro i am facing this error 1234

same problem with my proj.

Acc3ssD3ni3d commented 2 months ago

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

Hey bro iam getting same problem did u find any solution if yes pls tell me