Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function verifyWebHook(array $data) |
||
19 | { |
||
20 | $this->apiEndPoint = 'v1/notifications/verify-webhook-signature'; |
||
1 ignored issue
–
show
|
|||
21 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
1 ignored issue
–
show
|
|||
22 | |||
23 | $this->options['json'] = $data; |
||
1 ignored issue
–
show
|
|||
24 | |||
25 | $this->verb = 'post'; |
||
1 ignored issue
–
show
|
|||
26 | |||
27 | return $this->doPayPalRequest(); |
||
1 ignored issue
–
show
|
|||
28 | } |
||
30 |