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

Sporadycznie (ok 5% requestów) niezgadzający się skrót MD5 #1

Open
mpi opened this issue Sep 25, 2014 · 0 comments
Open

Sporadycznie (ok 5% requestów) niezgadzający się skrót MD5 #1

mpi opened this issue Sep 25, 2014 · 0 comments

Comments

@mpi
Copy link
Contributor

mpi commented Sep 25, 2014

Dostajemy sygnały od operatora bramki płatności, że nasz system czasami odpowiada statusem:
HTTP/1.1 403 MD5 signature do not match!
Pomimo tego, że oni wysyłaja poprawny podpis. Sprawdzali kilka razy, korzystaja z DigestUtils.md5Hex() z Apache commons-codec.
Pomimo, że ponowienie żądania naprawia problem, powinniśmy się temu przyjrzeć.
Dzięki uprzejmości operatora bramki płatności otrzymaliśmy log serwera dla którego dochodzi do błędu:

POST http://legacy-solutions.com/api/payments HTTP/1.1 403
amount=10000&status=OK&payload=order_id%3A6792&ts=1411677303294&md5=0c672178b3ce4ddc5404833b94cf5982

(zapis order_id%3A6792 w URLu to zakodowane order_id:6792)

@LegendarySolutions LegendarySolutions locked and limited conversation to collaborators Sep 25, 2014
rafalmag pushed a commit to rafalmag/LegendaryPaymentServlet that referenced this issue Oct 15, 2014
cendrowiczm added a commit to cendrowiczm/LegendaryPaymentServlet that referenced this issue Dec 16, 2014
- entire project refactored a bit
- unit tests for payment servlet created
- several validators invented
- existing unit tests fixed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants