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

Provide detailed error messages for request verification with OpenSSL… #31

Conversation

alexleopnet
Copy link
Contributor

… sign.

@alexleopnet alexleopnet force-pushed the detailed_error_messages_while_verifying_request branch 2 times, most recently from dae6f6a to dd973ab Compare January 2, 2025 15:26
@@ -56,7 +56,12 @@ public function validateAndParseData(array $requestData): array

if (isset($requestData['ss1']) || isset($requestData['ss2'])) {
if (!$this->signer->checkSign($requestData)) {
throw new WebToPay_Exception_Callback('Invalid sign parameters, check $_GET length limit');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to stay old message and just add (concatenate) new to old one for better identify old error message with new

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Thank you

@alexleopnet alexleopnet force-pushed the detailed_error_messages_while_verifying_request branch from dd973ab to da9869f Compare January 7, 2025 12:02
@anatoliyLegkiy anatoliyLegkiy merged commit 950e814 into paysera:master Jan 21, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants