faustbrian / laravel-paddle

DEPRECATED - USE https://github.com/laravel/cashier-paddle
Mozilla Public License 2.0
10 stars 2 forks source link

Some fixes for the commands. And L7 webhook fix. #7

Closed petericebear closed 4 years ago

petericebear commented 4 years ago

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.