How to hide stripe secret key using lambda function

@marklchaves, is the server.js code intended to be run on the web server or in javascript in the end user’s browser.

If it is the web server itself, this isn’t possible at Netlify. There is a more detailed explanation about this here: