Thor 雷神 Schaeff

Results 100 comments of Thor 雷神 Schaeff

@chriscarrollsmith sorry, the main issue with that was that you're allowing users access to modify admin tables like `public.customers` and `public.subscriptions`. These tables should never be able to be modified...

Thanks for reporting. I can reproduce this. It's unfortunate that nextjs app directory behaves so differently locally vs when deployed. Still investigating the exact issue here.

I think there is an issue with `next/headers`: https://github.com/vercel/next.js/issues/45371 . We're currently checking with the Vercel team.

Any logs in your vercel dashboard? Specifically you want to look at the logs for the `create-ceckout-session` method.

@andriusmv that means there is an internal server error with your function. You'll need to check your vercel function logs: https://vercel.com/docs/concepts/deployments/logs#function-logs

@andriusmv Is `cus_Ldnmz0B2PogG3G` potentially a test mode customer?

> I tried with a random new customer and had the same issue. The same error message in Vercel?

Yes, once ready we'll take a look at that.

Thanks for documenting your solution. Let's keep this open as a feature request 👍

Not really, probably can be removed. Do you want to open a PR?