From af2fa5da4082edd69148b24437beca8b4454b7f3 Mon Sep 17 00:00:00 2001 From: Vincent Boulanger Date: Wed, 28 Feb 2024 19:18:31 +0100 Subject: [PATCH 1/2] MAGE-538: Change hash method --- lib/Payone/ClientApi/Service/GenerateHash.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Payone/ClientApi/Service/GenerateHash.php b/lib/Payone/ClientApi/Service/GenerateHash.php index 1ad60ae6..aa85c86e 100644 --- a/lib/Payone/ClientApi/Service/GenerateHash.php +++ b/lib/Payone/ClientApi/Service/GenerateHash.php @@ -103,8 +103,7 @@ public function generate(Payone_ClientApi_Request_Interface $request, $securityK $hashString .= $requestData[$key]; } - $hashString .= $securityKey; - $hash = md5($hashString); + $hash = hash_hmac('sha384', $hashString, $securityKey); return $hash; } From c750e355cec3025a325a70966e3ef2024216a676 Mon Sep 17 00:00:00 2001 From: janteuber <88656469+janteuber@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:39:08 +0100 Subject: [PATCH 2/2] Update README.md New link to docs.payone.com --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 53efd9f9..f066c3af 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,9 @@ It is highly recommended to install the latest release from Github (either using - Supports the multi-shipping extension - Supports simplified PCI DSS conformity in accordance with SAQ A - Payment methods can be automatically hidden depending on the amount of the order and the credit rating of the customer -- Find all currently supported payment methods on [the dedicated docs' page on our site](https://docs.payone.com/display/public/INT/Magento+1+Extension) ## Documentation -You can check [the documentation on our website here](https://docs.payone.com/display/public/INT/Magento+1+Extension). +You can our documentation here: https://docs.payone.com/integration/plugins/integration-guide-magento-1. ## Notes