Closed InfinityXTech closed 6 months ago
These are Paddle Classic events coming in. If you're using Paddle Classic you'll need to use Cashier Paddle v1.
@driesvints @soixt Do you guys know how can I subscribe to paddle billing events instead of paddle classic version? I am using this test url: https://sandbox-vendors.paddle.com/webhook-alert-test
When I call webhook. It does not include Paddle-Signature
header. Any suggestions?
@aditodkar you need to switch to paddle billing on the left bottom of your screen. You're currently in Paddle Classic mode.
I am also not able to get the paddle signature in my webhook .
"message": "Invalid webhook signature.",
"exception": "Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException",
"file": "/Users/sahilmaheshwari/Documents/GitHub/roadmap/vendor/laravel/cashier-paddle/src/Http/Middleware/VerifyWebhookSignature.php",
"line": 33,
"trace": [```
Afaik this all works. Are you all sure you're using the Paddle Billing screens?
Thanks for the reply @driesvints . Appreciate the same !!
Here's what I am getting currently even after setting up the webhook secret as the env. And updating the app/bootstrap page with the exclude paddle line.
Your config isn't cached I presume? Can you set the secret between quotes in your env and try again?
Just checked it , it is under quotations @driesvints . I did try to remove quotations and place it again but no changes.
I currently don't have time to double check this sorry. If you find a solution to your problem please send in a PR. Right now we don't have any sight on widespread problems around signature verification with Paddle webhooks.
Apologies. @driesvints , I was able to resolve my problem . So the thing was i stupidly forgot to change the webhook secret. I am using a ngrok tunnel for creating the user flow in the local.
Cashier Paddle Version
2.3
Laravel Version
10.43.0
PHP Version
8.2.15
Database Driver & Version
No response
Description
First I commented verify signature middleware because it was failing there as well. And logged:
To get this:
And this error in log:
If I 'fix" that then I get
Undefined array key \"data\"
and maybe more. So it seems that paddle changed their request ways, not sure do I need to update something here as use different version or?Thanks
Steps To Reproduce
New Laravel app with this package and paddle billing version.