Adjustments for paypal webhook and logging when other gateway payloads are encountereD
This commit is contained in:
parent
97b9c84cf7
commit
183f2c0a61
|
|
@ -313,7 +313,12 @@ class PayPalWebhook implements ShouldQueue
|
|||
//--------------------------------------------------------------------------------------//
|
||||
private function verifyWebhook(): bool
|
||||
{
|
||||
nlog($this->headers);
|
||||
// nlog($this->headers);
|
||||
|
||||
if(!isset($this->headers['paypal-auth-algo'][0])){
|
||||
nlog(array_merge(["no paypal-auth-algo"], $this->webhook_request));
|
||||
}
|
||||
|
||||
$request = [
|
||||
'auth_algo' => $this->headers['paypal-auth-algo'][0],
|
||||
'cert_url' => $this->headers['paypal-cert-url'][0],
|
||||
|
|
|
|||
Loading…
Reference in New Issue