| <?php | = | <?php |
| return [ | return [ | |
| /* | /* | |
| |-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | |
| | Third Party Services | | Third Party Services | |
| |-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | |
| | | | | |
| | This file is for storing the credentials for third party services such | | This file is for storing the credentials for third party services such | |
| | as Stripe, Mailgun, SparkPost and others. This file provides a sane | <> | | as Mailgun, Postmark, AWS and more. This file provides the de facto |
| | default location for this type of information, allowing packages | | location for this type of information, allowing packages to have | |
| | to have a conventional place to find your various credentials. | | a conventional file to locate the various service credentials. | |
| | | = | | |
| */ | */ | |
| 'mailgun' => [ | 'mailgun' => [ | |
| 'domain' => env('MAILGUN_DOMAIN'), | 'domain' => env('MAILGUN_DOMAIN'), | |
| 'secret' => env('MAILGUN_SECRET'), | 'secret' => env('MAILGUN_SECRET'), | |
| 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), | |
| ], | ], | |
| 'postmark' => [ | 'postmark' => [ | |
| 'token' => env('POSTMARK_TOKEN'), | 'token' => env('POSTMARK_TOKEN'), | |
| ], | ], | |
| 'ses' => [ | 'ses' => [ | |
| 'key' => env('AWS_ACCESS_KEY_ID'), | 'key' => env('AWS_ACCESS_KEY_ID'), | |
| 'secret' => env('AWS_SECRET_ACCESS_KEY'), | 'secret' => env('AWS_SECRET_ACCESS_KEY'), | |
| 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), | |
| ], | ], | |
| 'sparkpost' => [ | +- | |
| 'secret' => env('SPARKPOST_SECRET'), | ||
| ], | ||
| 'stripe' => [ | ||
| 'model' => App\User::class, | ||
| 'key' => env('STRIPE_KEY'), | ||
| 'secret' => env('STRIPE_SECRET'), | ||
| 'webhook' => [ | ||
| 'secret' => env('STRIPE_WEBHOOK_SECRET'), | ||
| 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300), | ||
| ], | ||
| ], | ||
| ]; | = | ]; |