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

Order::consumeNotification #56

Closed
dszczer opened this issue Mar 7, 2016 · 1 comment
Closed

Order::consumeNotification #56

dszczer opened this issue Mar 7, 2016 · 1 comment

Comments

@dszczer
Copy link

dszczer commented Mar 7, 2016

Odbieranie statusów - notyfikacji nie działa w tej wersji API, ponieważ odpowiedzi dla płatności TESTOWYCH (nie wiem czy dla prawdziwych też nie działa) zwracane są z podpisem z algorytmem MD5, który został już wykluczony w API 2.1, więc metoda OpenPayU_Order::consumeNotification($data) zawsze zwróci błąd o nieprawidłowym podpisie.

@regdos
Copy link
Contributor

regdos commented Mar 7, 2016

Algorytm MD5 został usunięty dla generowania podpisu dla formularza. OpenPayU_Order::consumeNotification korzysta z metody OpenPayU_Util::verifySignature, która obsługuje MD5 więc odbieranie notyfikacji działa prawidłowo.

@dszczer dszczer closed this as completed Mar 8, 2016
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

No branches or pull requests

2 participants