-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 subscription_created response 400 #58
Comments
I'll need a lot more info here... are there any logs you can share like the |
vendor/lemonsqueezy/laravel/src/Checkout.php(210): LemonSqueezy\Laravel\LemonSqueezy::api('POST', 'checkouts', Array) I think the problem is handling webhooks. |
Can you please provide logs with a full stacktrace? |
[2023-11-16 12:00:31] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from [previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) [previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) [previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) |
I'm sorry but these seem database connection issues which have nothing to do with the package. I also don't maintain the spatie webhook package so can't provide support for this I'm afraid. Please try their own issue tracker or a channel like Laracasts or Laravel.io |
Lemon Squeezy for Laravel Version
1.0
Laravel Version
10.32
PHP Version
8.2.11
Description
Hello
What i'm missing becouse have the webhook response 400.
the url of lemon squeezy webhook is https://lemon-squeezy.test/lemon-squeezy/webhook
and the response is 400.
Steps To Reproduce
All ok except the webhook response
The text was updated successfully, but these errors were encountered: