- Move PayPal live/sandbox API keys to env variables - Move hardcoded API token in isAuthorized middleware to env variable - Add api_token key to config/app.php - Update .env.example with new required env vars - Fix isAuthorized response code from 503 to 401
26 lines
391 B
Plaintext
26 lines
391 B
Plaintext
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_KEY=SomeRandomString
|
|
|
|
DB_HOST=localhost
|
|
DB_DATABASE=homestead
|
|
DB_USERNAME=homestead
|
|
DB_PASSWORD=secret
|
|
|
|
CACHE_DRIVER=file
|
|
SESSION_DRIVER=file
|
|
QUEUE_DRIVER=sync
|
|
|
|
PAYPAL_SANDBOX_CLIENT_ID=
|
|
PAYPAL_SANDBOX_SECRET=
|
|
PAYPAL_LIVE_CLIENT_ID=
|
|
PAYPAL_LIVE_SECRET=
|
|
|
|
API_TOKEN=
|
|
|
|
MAIL_DRIVER=smtp
|
|
MAIL_HOST=mailtrap.io
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=null
|
|
MAIL_PASSWORD=null
|