20-02-2026
This commit is contained in:
parent
a8b395e20d
commit
a00c42e770
252 changed files with 28785 additions and 8907 deletions
|
|
@ -6,13 +6,27 @@
|
|||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Configuration for the new DHL Laravel package with direct API integration
|
||||
|
|
||||
|
|
||||
| Settings can be managed via Admin panel at /admin/settings
|
||||
| Admin settings override these .env values at runtime
|
||||
|
|
||||
*/
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Configuration Source Priority
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Determines which configuration source has priority:
|
||||
| - 'database': Settings from database override .env values (default)
|
||||
| - 'env': Environment/Config values override database settings
|
||||
|
|
||||
| Useful for test servers where you want to use .env values
|
||||
| without modifying database settings
|
||||
*/
|
||||
'config_source' => env('DHL_CONFIG_SOURCE', 'database'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| DHL API Settings
|
||||
|
|
@ -51,7 +65,7 @@ return [
|
|||
'webhook' => [
|
||||
'enabled' => env('DHL_WEBHOOK_ENABLED', false),
|
||||
'secret' => env('DHL_WEBHOOK_SECRET'),
|
||||
'route' => env('DHL_WEBHOOK_ROUTE', 'dhl/webhooks/tracking')
|
||||
'route' => env('DHL_WEBHOOK_ROUTE', 'dhl/webhooks/tracking'),
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
@ -79,17 +93,17 @@ return [
|
|||
'account_numbers' => [
|
||||
'default' => env('DHL_ACCOUNT_NUMBER_DEFAULT', '63144073550101'),
|
||||
'V01PAK' => env('DHL_ACCOUNT_NUMBER_V01PAK', '63144073550101'), // DHL Paket National
|
||||
'V62WP' => env('DHL_ACCOUNT_NUMBER_V62WP', '63144073556201'), // Warenpost National
|
||||
'V62WP' => env('DHL_ACCOUNT_NUMBER_V62WP', '63144073556201'), // Warenpost National
|
||||
'V53PAK' => env('DHL_ACCOUNT_NUMBER_V53PAK', '63144073555301'), // DHL Paket International
|
||||
'V07PAK' => env('DHL_ACCOUNT_NUMBER_V07PAK', '63144073550701'), // DHL Retoure Online
|
||||
],
|
||||
|
||||
'dimensions' => [
|
||||
'default' => ['length' => 120, 'width' => 60, 'height' => 60,],
|
||||
'V01PAK' => ['length' => 120, 'width' => 60, 'height' => 60,], // DHL Paket National
|
||||
'V62WP' => ['length' => 35, 'width' => 25, 'height' => 8,], // Warenpost National
|
||||
'V53PAK' => ['length' => 120, 'width' => 60, 'height' => 60,], // DHL Paket International
|
||||
'V07PAK' => ['length' => 120, 'width' => 60, 'height' => 60,], // DHL Retoure Online
|
||||
'default' => ['length' => 120, 'width' => 60, 'height' => 60],
|
||||
'V01PAK' => ['length' => 120, 'width' => 60, 'height' => 60], // DHL Paket National
|
||||
'V62WP' => ['length' => 35, 'width' => 25, 'height' => 8], // Warenpost National
|
||||
'V53PAK' => ['length' => 120, 'width' => 60, 'height' => 60], // DHL Paket International
|
||||
'V07PAK' => ['length' => 120, 'width' => 60, 'height' => 60], // DHL Retoure Online
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue