This commit is contained in:
2025-02-18 09:09:32 +08:00
parent 4ca64c8205
commit 24655a4644
+5 -1
View File
@@ -63,10 +63,14 @@ class WxV3PaymentNotify extends SmallProgram
$this->lineFeed($inWechatpayTimestamp, $inWechatpayNonce, $inBody),
$inWechatpaySignature,
$platformPublicKeyInstance);
$this->decode($this->resource['ciphertext'], $this->resource['nonce'], $this->resource['associated_data']);
if (!$timeOffsetStatus || !$verifiedStatus) {
return false;
} else {
return true;
}
return $this->decode($this->resource['ciphertext'], $this->resource['nonce'], $this->resource['associated_data']);
}