#Shmurda-api-key
1 messages · Page 1 of 1 (latest)
Usually, that means that something is wrong with your environment variable setup and your integration may not be pulling the value you expect. Have you tried logging what the STRIPE_TEST_KEY value is from your code to verify it's correct?
@granite kiln Let me check and see.
@granite kiln I guess i'm getting undefined 🤔 How so?
It could be any number of things - you'll have to take a deeper look at your setup to really figure out why it isn't working. It could be that your env.json file is in the wrong place, or maybe there's a typo somewhere
🤔
im really blind on server side so would appreciate if you could avise. I think its my file reference file: 'env.json' but im not too familiar with the environment
This is really more about how nconf is expected to behave, which is separate from implementing Stripe. I don't have experience using nconf, but I'd recommend trying a few different paths (definitely try '../../env.json', I'm not sure if the path to the file that is loading the env file)