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

HTML odpověď na payment/refund #552

Closed
janlanger opened this issue Feb 11, 2021 · 1 comment
Closed

HTML odpověď na payment/refund #552

janlanger opened this issue Feb 11, 2021 · 1 comment
Assignees
Labels

Comments

@janlanger
Copy link

Dobrý den,

občas na API při volání payment/refund dostaneme odpověď s HTTP 200 ale s HTML obsahujícím zprávu Request Rejected

Co je prosím důvodem a je to správné chování?

PUT /api/v1.8/payment/refund HTTP/1.1
Content-Length: 456
Accept-Encoding: gzip, deflate
User-Agent: Slevomat.cz Guzzle HTTP client
Host: api.platebnibrana.csob.cz
Content-Type: application/json

{"merchantId":"M1E3CB0860","payId":"2194e821f080cFA","amount":479000,"dttm":"20210211161304","signature":"..."}
HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: close
Content-Type: text/html; charset=utf-8
Pragma: no-cache
Content-Length: 245
P3P: CP="{}"
Set-Cookie: TS7f993d38029=089ed84951ab2800e86a905740a1dbfa7e92db8b9612ef8600609773ad4f6983b9384edb8596e4aa48a93fd184668a6a; Max-Age=30;Path=/

<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 346652806526191545<br><br><a href='javascript:history.back();'>[Go Back]</a></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants