#sammy_code

1 messages ¡ Page 1 of 1 (latest)

potent pythonBOT
#

👋 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/1331228959345741936

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

cedar glen
#

Basically i'm trying to find a way to debug this problem

gritty ember
#

are you using an API key that has pk_test_xxx format?

potent pythonBOT
cedar glen
#

yes, same as local

gritty ember
#

actually this ${process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY} || 'api_key_placeholder' means that if the NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY is not in the environment variables than it will default to api_key_placeholder and this might be what's happening here

cedar glen
#

I'm putting some logs around and from what i can see in the logs they are showing the process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY is there.

Also on the machine i can see them. It's a bit weird