Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap HMAC Validation method parameters #1185

Merged
merged 15 commits into from
Jan 31, 2024

Conversation

AlexandrosMor
Copy link
Contributor

Description

The HMAC Validation method on the Java library is showing the hmacKey and the hmacSignature swapped.
The merchants/partners can still use the method by swapping the two, but it is confusing as they actually have to look at the source code to figure it out.
This pr swaps the two parameters, and add comments to explain the usage.
Tested scenarios
Tests are passing

@AlexandrosMor AlexandrosMor requested a review from a team as a code owner November 23, 2023 14:54
AlexandrosMor and others added 2 commits November 23, 2023 15:58
Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com>
Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com>
@AlexandrosMor AlexandrosMor marked this pull request as draft November 23, 2023 15:05
@AlexandrosMor AlexandrosMor marked this pull request as ready for review November 23, 2023 15:16
@AlexandrosMor AlexandrosMor added the Don't Merge Don't merge yet for whatever reason label Nov 24, 2023
@wboereboom wboereboom added Breaking change Indicates a change that has caused a major version update and removed Breaking change Indicates a change that has caused a major version update labels Jan 11, 2024
@wboereboom wboereboom enabled auto-merge (squash) January 31, 2024 09:08
Copy link

sonarcloud bot commented Jan 31, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@AlexandrosMor AlexandrosMor merged commit c46cab5 into main Jan 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Don't Merge Don't merge yet for whatever reason
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants