Return early if webhook payload is not appropriate
This commit is contained in:
parent
7506bb790e
commit
e732fd0a1e
|
|
@ -315,9 +315,8 @@ class PayPalWebhook implements ShouldQueue
|
|||
{
|
||||
// nlog($this->headers);
|
||||
|
||||
if(!isset($this->headers['paypal-auth-algo'][0])){
|
||||
nlog(array_merge(["no paypal-auth-algo"], $this->webhook_request));
|
||||
}
|
||||
if(!isset($this->headers['paypal-auth-algo'][0]))
|
||||
return false;
|
||||
|
||||
$request = [
|
||||
'auth_algo' => $this->headers['paypal-auth-algo'][0],
|
||||
|
|
|
|||
Loading…
Reference in New Issue