Skip to content

Undefined index: u_predcislo #3

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Undefined index: u_predcislo #3

wants to merge 6 commits into from

Conversation

iki-cz
Copy link
Contributor

@iki-cz iki-cz commented Mar 20, 2019

When a buyer cancel his payment, no GET params are provided.

$sign = new Des3Sign();

if ($sign->sign($data, $sharedSecret) != $_GET['SIGN2']) {
if ($sign->sign($dataString, $sharedSecret) != $_GET['SIGN2']) {
Copy link
Owner

Choose a reason for hiding this comment

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

this SIGN2 GET parameter is provided in this case when other parameter are missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, I've added the condition too.

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