The webhook gets no Accept or content-Type headers from Paddle webhook. So the request remains empty and crashes.
With this case the json()->all() gets all json information from the body. With an added collection for easy removal of the p_signature for verifying the hook.
The webhook gets no Accept or content-Type headers from Paddle webhook. So the request remains empty and crashes. With this case the json()->all() gets all json information from the body. With an added collection for easy removal of the p_signature for verifying the hook.