Deploy Ladill Mini / deploy (push) Successful in 23s
Staff-facing counter register at pos.ladill.com with catalog cart, cash and MoMo/card checkout via Ladill Pay, CRM timeline/import, invoice prefill, and Merchant catalog import. Co-authored-by: Cursor <cursoragent@cursor.com>
82 lines
2.7 KiB
PHP
82 lines
2.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Third Party Services
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This file is for storing the credentials for third party services such
|
|
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
|
| location for this type of information, allowing packages to have
|
|
| a conventional file to locate the various service credentials.
|
|
|
|
|
*/
|
|
|
|
/*
|
|
| Ladill SSO (OIDC) — this app is a first-party client of the platform
|
|
| identity provider at auth.ladill.com (Authorization Code + PKCE). Mirrors
|
|
| the monolith's reference client; redirect points back at this app.
|
|
*/
|
|
'ladill_sso' => [
|
|
'issuer' => 'https://'.config('app.auth_domain'),
|
|
'client_id' => env('LADILL_SSO_CLIENT_ID'),
|
|
'client_secret' => env('LADILL_SSO_CLIENT_SECRET'),
|
|
'redirect' => rtrim((string) env('APP_URL', 'https://mini.ladill.com'), '/').'/sso/callback',
|
|
],
|
|
|
|
// Central Ladill identity API (auth.ladill.com /api/identity/auth/*). The
|
|
// mobile app's native login/register proxy through here, gated by the
|
|
// shared first-party service key (config/identity.php on the monolith).
|
|
'ladill_identity' => [
|
|
'url' => 'https://'.config('app.auth_domain'),
|
|
'key' => env('IDENTITY_API_KEY_MINI'),
|
|
],
|
|
|
|
'ladill_webmail' => [
|
|
'url' => env('LADILL_WEBMAIL_URL', 'https://mail.ladill.com'),
|
|
],
|
|
|
|
'postmark' => [
|
|
'key' => env('POSTMARK_API_KEY'),
|
|
],
|
|
|
|
'resend' => [
|
|
'key' => env('RESEND_API_KEY'),
|
|
],
|
|
|
|
'ses' => [
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
|
],
|
|
|
|
'slack' => [
|
|
'notifications' => [
|
|
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
|
|
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
|
|
],
|
|
],
|
|
|
|
'termii' => [
|
|
'api_key' => env('TERMII_API_KEY'),
|
|
'sender_id' => env('TERMII_SENDER_ID', 'LaDill'),
|
|
],
|
|
|
|
// Paystack — guest checkout (and the card fallback for logged-in buyers).
|
|
'paystack' => [
|
|
'base_url' => env('PAYSTACK_BASE_URL', 'https://api.paystack.co'),
|
|
'public_key' => env('PAYSTACK_PUBLIC_KEY'),
|
|
'secret_key' => env('PAYSTACK_SECRET_KEY'),
|
|
'webhook_secret' => env('PAYSTACK_WEBHOOK_SECRET', env('PAYSTACK_SECRET_KEY')),
|
|
'checkout_email' => env('PAYSTACK_CHECKOUT_EMAIL', 'pay@ladill.com'),
|
|
],
|
|
|
|
'fcm' => [
|
|
'project_id' => env('FIREBASE_PROJECT_ID'),
|
|
'service_account_json' => env('FIREBASE_SERVICE_ACCOUNT_JSON'),
|
|
],
|
|
|
|
];
|