File: D:/HostingSpaces/SBogers10/shop.komma.nl/config/shipment.php
<?php
use App\Shipments\ProviderAdapters\Komma;
use App\Shipments\ProviderAdapters\Sendcloud;
return [
/*
|--------------------------------------------------------------------------
| Service provider
|--------------------------------------------------------------------------
| The current service provider that should be used. The name must be one of
| the first level key names of the shipment_service_providers array below
*/
'shipment_service_provider' => env('SHIPMENT_SERVICE_PROVIDER', 'komma'),
/*
|--------------------------------------------------------------------------
| Shipment service providers
|--------------------------------------------------------------------------
| This is where shipment service providers are configured.
| The first level keys just give the configs a name. The second level keys
| Define environments, that must correspond to the value of APP_ENV
*/
'shipment_service_providers' => [
'sendcloud' => [
'public_api_key' => env('SENDCLOUD_PUBLIC_API_KEY', null),
'secret_api_key' => env('SENDCLOUD_SECRET_API_KEY', null),
'test_mode' => env('SENDCLOUD_TEST_MODE', true), //Stuff wil be done in sendcloud, but you won't get charged if set to true
'partner_id' => env('SENDCLOUD_PARTNER_ID', null),
'adapter' => Sendcloud::class
],
// Fake psp adapter for testing for testing
// NOTICE: DON'T USE ON PRODUCTION ENVIRONMENTS FOR SECURITY REASONS
'komma' => [
'adapter' => Komma::class
]
]
];