diff --git a/src/Http/Controllers/WebhookController.php b/src/Http/Controllers/WebhookController.php index 7f77458..8df0f9a 100644 --- a/src/Http/Controllers/WebhookController.php +++ b/src/Http/Controllers/WebhookController.php @@ -65,7 +65,7 @@ private function decryptMessage(Request $request) $authTag = hex2bin($authTagFromHeader); $cipherText = hex2bin($request->getContent()); - $result = openssl_decrypt($cipherText, 'aes-256-gcm', $key, OPENSSL_RAW_DATA, $iv, $authTag) + $result = openssl_decrypt($cipherText, 'aes-256-gcm', $key, OPENSSL_RAW_DATA, $iv, $authTag); return json_decode($result, true); }