Closed LenNaidoo closed 1 week ago
I can't reproduce this error in this repo. share your repo to take a look. also in which lesson do you get this error?
I shared the repo with you. I got the error in lesson 32, Pay order by Stripe. Thanks
I got 404 error when I want to accept invitation in your GitHub repo. Remove me from collaborators and add again.
On Fri, Jun 28, 2024 at 3:23 PM Len Naidoo @.***> wrote:
I shared the repo with you. I got the error in lesson 32, Pay order by Stripe. Thanks
— Reply to this email directly, view it on GitHub https://github.com/basir/next-pg-shadcn-ecommerce/issues/7#issuecomment-2196738112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUFQZLA5GO5OBTUJSEEHDZJVFFLAVCNFSM6AAAAABJ7YUI6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWG4ZTQMJRGI . You are receiving this because you commented.Message ID: @.***>
I re-added you as a collaborator
I cloned and ran your code in my side and it works perfectly. the issue is stripe config. make sure you set env variables correctly in .env.local and vercel dashboard like this: NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pktest???? STRIPE_SECRET_KEY=sktest??? STRIPE_WEBHOOKSECRET=whsec???
That was it, my STRIPE_PUBLISHABLE-KEY was incorrect. I was using pklive???. Thank you.
you're welcome. glad you fixed it.
When I click on place order: