Skip to content

Commit

Permalink
Added caseSensitive when init data signature of onepay gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
vuongxuongminh committed Jan 2, 2019
1 parent d022ca4 commit 29b5410
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/onepay/PaymentClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public function initDataSignature(string $data, string $type = null): ?\yiiviet\
return Yii::createObject([
'class' => 'yiiviet\payment\HmacDataSignature',
'key' => pack('H*', $this->secureSecret),
'hmacAlgo' => 'sha256'
'hmacAlgo' => 'sha256',
'caseSensitive' => false
], [$data]);
}

Expand Down

0 comments on commit 29b5410

Please sign in to comment.