Package operations: 4 installs, 0 updates, 0 removals
- Installing composer/ca-bundle (1.2.5): Downloading (100%)
- Installing mollie/mollie-api-php (v2.11.0): Downloading (100%)
- Installing mollie/laravel-mollie (v2.8.0): Downloading (100%)
- Installing laravel/cashier-mollie (v1.9.0): Downloading (100%)
....
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Mollie\Api\Exceptions\ApiException : Invalid API key: ''. An API key must start with 'test_' or 'live_' and must be at least 30 characters long.
at /var/www/html/vendor/mollie/mollie-api-php/src/MollieApiClient.php:348
344| {
345| $apiKey = trim($apiKey);
346|
347| if (!preg_match('/^(live|test)_\w{30,}$/', $apiKey)) {
> 348| throw new ApiException("Invalid API key: '{$apiKey}'. An API key must start with 'test_' or 'live_' and must be at least 30 characters long.");
349| }
350|
351| $this->apiKey = $apiKey;
352| $this->oauthAccess = false;
Exception trace:
1 Mollie\Api\MollieApiClient::setApiKey("")
/var/www/html/vendor/mollie/laravel-mollie/src/Wrappers/MollieApiWrapper.php:92
2 Mollie\Laravel\Wrappers\MollieApiWrapper::setApiKey()
/var/www/html/vendor/mollie/laravel-mollie/src/Wrappers/MollieApiWrapper.php:67
Take a look