Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find the configuration for `` #23

Closed
iBet7o opened this issue Sep 21, 2019 · 3 comments
Closed

Could not find the configuration for `` #23

iBet7o opened this issue Sep 21, 2019 · 3 comments

Comments

@iBet7o
Copy link

iBet7o commented Sep 21, 2019

Hello,

I have an api with dingo, install laravel-webhook-client but in the tests I get the following error:

{
    "message": "Could not find the configuration for ``",
    "status_code": 500
}

URL: api.site.test
Routes: api.php

Route::webhooks('/webhook/listener/conekta', 'webhook_listener_conekta');

$api = app(Router::class);

$api->version('v1', [
    'namespace' => 'App\Http\Controllers\API\V1',
    'middleware' => 'api.auth',
], function ($api) {
    $api->post('/orders', 'OrdersController@create');
});

webhook-client.php

...
    'configs' => [
        [
            'name' => 'webhook_listener_conekta',
            'signing_secret' => env('GW_CONEKTA_WEBHOOK_SK'),
            'signature_header_name' => 'Digest',
            'signature_validator' => \App\Gateways\Services\OpenPay\WebhookSignatureValidator::class,
            'webhook_profile' => \App\Gateways\Services\OpenPay\ProcessEverythingWebhookProfile::class,
            'process_webhook_job' => '',
        ],
...
@freekmurze
Copy link
Member

Try clearing your config cache with php artisan config:clear

@iBet7o
Copy link
Author

iBet7o commented Sep 23, 2019

Unfortunately it didn't work, I think dingo is responsible for the error. I will continue investigating.

Regards

@Aleksandar-Mitic
Copy link

@iBet7o did you find solution for this? I have the same issue....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants