Closed lucafregoso closed 4 years ago
Do you mean Strapi instead of Stripe?
If so, it may be because the value required by the backend is FRONTEND_PREVIEW_SECRET
, not PREVIEW_SECRET
Here you can see my two env files, but none of those values are read
Your environment files look good.
In the backend folder, try running yarn build
, then start Strapi again.
Let me know if that fixes the issue
I deployed the project on my local env, but the value i set for PREVIEW_SECRET is not read by Stripe which is always using secret-token . How to let Stripe get the env value?