diff --git a/src/Core/WebService.php b/src/Core/WebService.php index f666cfb..45ebc49 100644 --- a/src/Core/WebService.php +++ b/src/Core/WebService.php @@ -29,10 +29,10 @@ final public function getPayload(): object final public function getPayloadHash(): string { if ($this instanceof WithCustomPayloadHash) { - return $this->hash ??= $this->getHash($this->getPayload()); + return $this->hash ??= $this->getHash($this->payload()); } - return $this->hash ??= sha1(serialize($this->getPayload())); + return $this->hash ??= sha1(serialize($this->payload())); } final public function isAsyncCall(): bool