Skip to content

Commit

Permalink
Merge pull request #2 from GuangYouLee/master
Browse files Browse the repository at this point in the history
upgrade SHA256 to HMAC-SHA512
  • Loading branch information
DoubleTime authored Jan 27, 2025
2 parents c9a89d0 + aa0f138 commit 8f2664e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ protected function signature($merchantKey, $merchantCode, $paymentId, $refNo, $a

$paramsInArray = [$merchantKey, $merchantCode, $paymentId, $refNo, $amount, $currency, $status];

return $this->createSignatureFromString(implode('', $paramsInArray));
return $this->createSignatureFromString(implode('', $paramsInArray),$merchantKey);
}
}

0 comments on commit 8f2664e

Please sign in to comment.