i dont know why but i had the same issue. STRIPE_PUBLISHABLE_KEY for example worked fine. I think there is something wrong with the variable name itself (STRIPE_SECRET_KEY)