In the backend .env file, I have set Stripe API key value as the Secret Key STRIPE_API_KEY=sk_test.... In the storefront, I have set the Stripe key env value in my .env.local file as the Public Key NEXT_PUBLIC_STRIPE_KEY=pk_test_51...
Despite (what I think is a correct config), I get this error (see img)
My backend package.json file looks like this
"dependencies": {
"@medusajs/medusa": "^1.6.0",
"@medusajs/medusa-cli": "^1.3.3",
"medusa-file-s3": "^1.1.8",
"medusa-fulfillment-manual": "^1.1.31",
"medusa-interfaces": "^1.3.3",
"medusa-payment-manual": "^1.0.16",
"medusa-payment-stripe": "^1.1.50",
"medusa-plugin-meilisearch": "^1.0.1",
"typeorm": "^0.2.36"
},`
What am I doing wrong here?