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

Webhook received but no handler found #24

Closed
wassim opened this issue May 22, 2023 · 4 comments
Closed

Webhook received but no handler found #24

wassim opened this issue May 22, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@wassim
Copy link

wassim commented May 22, 2023

The database doesn't get updated after a successful payment. Tested locally and on prod.

Webhook received but no handler found.

I've followed the docs and added 'lemon-squeezy/*' to App\Http\Middleware\VerifyCsrfToken except list

More info
Tested with a single payment variant

public function checkout(Request $request)
{
    return $request->user()
        →checkout(config('lemon-squeezy.lifetme_deal_variant_id'))
        →redirectTo(url(RouteServiceProvider::HOME));
}

The payment succeed and I'm redirected to the redirect URL, but the database doesn't get updated (customers and subscriptions)

On LM webhooks screen I see this:

CleanShot 2023-05-22 at 15 19 12@2x

Expected behavior:

  • Database gets updated accordingly
@driesvints
Copy link
Collaborator

Can you please share more info here? What is this about? A single payment? A subscription? What code did you use, what happened and what did you expect to happen?

@driesvints driesvints added the bug Something isn't working label May 22, 2023
@wassim
Copy link
Author

wassim commented May 22, 2023

@driesvints updated

@driesvints
Copy link
Collaborator

Hi there. Nothing is supposed to get updated here. Nothing gets handled for single payments, only for subscriptions. It says no handler was found because there is no handler (yet) for successful payments.

@wassim
Copy link
Author

wassim commented May 22, 2023

Thanks. I've created a custom handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants