@@ -24,13 +24,13 @@ |
||
24 | 24 | { |
25 | 25 | $headers = array_change_key_case($request->headers->all(), CASE_UPPER); |
26 | 26 | |
27 | - if(!isset($headers['PAYPAL-AUTH-ALGO'][0]) || |
|
27 | + if (!isset($headers['PAYPAL-AUTH-ALGO'][0]) || |
|
28 | 28 | !isset($headers['PAYPAL-TRANSMISSION-ID'][0]) || |
29 | 29 | !isset($headers['PAYPAL-CERT-URL'][0]) || |
30 | 30 | !isset($headers['PAYPAL-TRANSMISSION-SIG'][0]) || |
31 | 31 | !isset($headers['PAYPAL-TRANSMISSION-TIME'][0]) || |
32 | 32 | !isset($this->webhook_id) |
33 | - ){ |
|
33 | + ) { |
|
34 | 34 | \Log::error('Invalid headers or webhook id supplied for paypal webhook'); |
35 | 35 | return response()->json([ |
36 | 36 | 'status' => 'error', |