We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfab6db commit e75090cCopy full SHA for e75090c
src/Message/Concerns/ResponseSignatureValidation.php
@@ -24,7 +24,7 @@ trait ResponseSignatureValidation
24
protected function validateSignature(): void
25
{
26
$data = array_filter(array_keys($this->data), function ($parameter) {
27
- return 0 === strpos($parameter, 'vpc_');
+ return 0 === strpos($parameter, 'vpc_') && 'vpc_SecureHash' !== $parameter;
28
});
29
$signature = new Signature(
30
$this->getRequest()->getVpcHashKey()
@@ -34,11 +34,4 @@ protected function validateSignature(): void
34
throw new InvalidResponseException(sprintf('Data signature response from OnePay is invalid!'));
35
}
36
37
-
38
- protected function getSignatureParameters(): array
39
- {
40
- return array_filter(array_keys($this->data), function ($parameter) {
41
42
- });
43
- }
44
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments