1 | <?php |
||
9 | class WebhookController |
||
10 | { |
||
11 | /** |
||
12 | * https://developer.paddle.com/webhook-reference/verifying-webhooks |
||
13 | * |
||
14 | * @param string $encodedSignature |
||
15 | * @param array $data |
||
16 | * @return void |
||
17 | * |
||
18 | * @throws \Symfony\Component\HttpKernel\Exception\HttpException |
||
19 | */ |
||
20 | private function verifySignature(string $encodedSignature = null, array $data) |
||
43 | |||
44 | /** |
||
45 | * Verify the request signature and fire the event. |
||
46 | * |
||
47 | * @param \Illuminate\Http\Request $request |
||
48 | * @return void |
||
49 | */ |
||
50 | public function __invoke(Request $request) |
||
58 | } |
||
59 |