Closed MaKorViz closed 9 months ago
Doplnuji, ze telo pozadavku bylo viz nize.
{"merchantId":"M1MIPS1182","payId":"6427901e1dd0@JA","dttm":"20240122082611","signature":"lfiMnVuGHvIGP9GuEpuJoZcEdXBiNyMvtwvQiU7eFOjFG1HLsvqwEGNFsp58fHpoOYSQcR1x\/ku4FDT4hvQ84Zc4NSB6hpFYCe0J+iTycnDMV3tMTj\/7lvvatJS6pdaOC3cK\/XqcgajFJElwK4Qw6nMOkwbJyLYeCKRceZqssN9byi+lqdRjrY\/kdkUL4HyOB+hsu177gveJafTZKtsEE8N8GpVQcHzkDd0mK6c7AlakNyc1qbsq+zsUYOBGKu6sVuxRI62t4Q47iTwohH\/GfQTiYeZ9dtYib+7we+eOKpCn4c0OL5riJkyvfZnUSxwh6R3j5lx5UrG4IJ+K1y26Fw=="}
Dobrý den, Váš požadavek byl zaevidován a předán k řešení. S pozdravem M. Hubík
Dobrý den,
dle zaslaných informací vidím, že voláte metodu "oneclick/start". Tato metoda se využívala u OneClick plateb u verze eAPI 1.8. U verze eAPI 1.9 se využívá metoda oneclick/process.
Více informací viz: https://github.com/csob/platebnibrana/wiki/Metody-pro-OneClick-platbu
Hezký den.
Jana Grmelová IT administrátor
Dekuji, pomohlo. Dostal jsem se dal . Nyni mi to hlasi chybu Missing parameter fingerprint.browser
. V dokumentaci jsem k chybe nic nenasel.
{"merchantId":"M1MIPS1182","payId":"78a15ef0a0fb@JA","dttm":"20240122135515","signature":"BT6bbrXJBxqIMa9I2WoF4LojS5RAmSQ+CMfhRjUgyEKIarD8RsNQ2wD5TF45SF46qVFmsjKoPCB7FEBdiVJgbLZdBRCQds04ywzdmsygo+4K4JkgfrvQmD19QjsnDR39bDTgvhkdMIl1Jb3etvcf8QGLDpF5x81HM5ViZQja8rcZken1m4oLiTY\/QqiypiRu5l7EJWVUpi7xzRdtdFWxqOsfQZQKwXfXlXUnZ96hGll3Rn51PLgB78fCXF3zYUOJwr6VWBSnW00wEy+5An0XgbKtE0oJ5pU7nLPjrBycuQVVqb+N63dgglmFUr22vm8tm+KDAnqpv9yZcFhOh+mP0Q=="}
{"payId":"78a15ef0a0fb@JA","resultCode":110,"resultMessage":"Missing parameter fingerprint.browser","dttm":"20240122135515","signature":"QQqcznNPcWbX7ZA9km9iAlX08LXlyLC/g+5URuTSckNDKSudj75kj0I5vvwZJpB9B5HxDco2dtXjZTQq0M9t2YPV04+HFzqPW8p5BhpyGZaLm1KlnpsiBXbGTYx0wJOTjOy6RpHhPU9ZQt8sgaVJPN4xmsLi62OfHNyFfNm07noh6y5nf0TnQ5+iazCfVC6L/uTqIb182xqUoOpy4gX7br08/ZjRE9ceURiLIrjBTQoCbdRb27yht+P2luKRULcWeLFh7uWiAshTKrs9/ihojfzxMqNYTV680cX++fAYaWvEViMJj6NlIhvXCHIZvDIMyRezRduI7RRJXlI9sqyosg==","paymentStatus":0}
* DATE 2024-01-22 13:55:15
* Trying 193.245.38.172...
* TCP_NODELAY set
* Connected to api.platebnibrana.csob.cz (193.245.38.172) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: jurisdictionC=CZ; businessCategory=Private Organization; serialNumber=000 01 350; C=CZ; L=Prague; O=Ceskoslovenska obchodni banka, a. s.; CN=platebnibrana.csob.cz
* start date: Jul 17 00:00:00 2023 GMT
* expire date: Jul 16 23:59:59 2024 GMT
* subjectAltName: host "api.platebnibrana.csob.cz" matched cert's "api.platebnibrana.csob.cz"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
* SSL certificate verify ok.
> POST /api/v1.9/oneclick/init/ HTTP/1.1
Host: api.platebnibrana.csob.cz
Content-Type: application/json
Accept: application/json;charset=UTF-8
Content-Length: 635
* upload completely sent off: 635 out of 635 bytes
< HTTP/1.1 200 OK
< Date: Mon, 22 Jan 2024 12:* Hostname api.platebnibrana.csob.cz was found in DNS cache
* Trying 193.245.38.172...
* TCP_NODELAY set
* Connected to api.platebnibrana.csob.cz (193.245.38.172) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: jurisdictionC=CZ; businessCategory=Private Organization; serialNumber=000 01 350; C=CZ; L=Prague; O=Ceskoslovenska obchodni banka, a. s.; CN=platebnibrana.csob.cz
* start date: Jul 17 00:00:00 2023 GMT
* expire date: Jul 16 23:59:59 2024 GMT
* subjectAltName: host "api.platebnibrana.csob.cz" matched cert's "api.platebnibrana.csob.cz"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
* SSL certificate verify ok.
> POST /api/v1.9/oneclick/process/ HTTP/1.1
Host: api.platebnibrana.csob.cz
Content-Type: application/json
Accept: application/json;charset=UTF-8
Content-Length: 437
* upload completely sent off: 437 out of 437 bytes
< HTTP/1.1 200 OK
< Date: Mon, 22 Jan 2024 12:55:15 GMT
< Content-Type: application/json;charset=utf-8
< Connection: keep-alive
< Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
< Expires: 0
< Set-Cookie: SECRET=!VZ3Jk3cwYrAVP0b0DXgH9oKbumlwz4BeYYpN8dUYBp3/8FVNGvUN7bURKCmpz5wn6IO7wMa63dQZwVyeYDWQuLJoO9gDGy9HL9OH/bFRng==; path=/; Httponly; Secure
< Strict-Transport-Security: 31536000
< X-Content-Type-Options: nosniff
< Content-Security-Policy: default-src 'self';
< X-XSS-Protection: 1; mode=block
< Set-Cookie: TS0169d752=016509e80728aa03009e0341abd3ade6e959a78e1476ab62647c21304db9b89a42b1855f765fdc734d0650d6abcdca0958e7a028e62ebb101b54d3e0854812ed8870bd710e; Path=/; Secure; HTTPOnly
< Transfer-Encoding: chunked
<
* Connection #0 to host api.platebnibrana.csob.cz left intact
* REQUEST
{"merchantId":"M1MIPS1182","payId":"78a15ef0a0fb@JA","dttm":"20240122135515","signature":"BT6bbrXJBxqIMa9I2WoF4LojS5RAmSQ+CMfhRjUgyEKIarD8RsNQ2wD5TF45SF46qVFmsjKoPCB7FEBdiVJgbLZdBRCQds04ywzdmsygo+4K4JkgfrvQmD19QjsnDR39bDTgvhkdMIl1Jb3etvcf8QGLDpF5x81HM5ViZQja8rcZken1m4oLiTY\/QqiypiRu5l7EJWVUpi7xzRdtdFWxqOsfQZQKwXfXlXUnZ96hGll3Rn51PLgB78fCXF3zYUOJwr6VWBSnW00wEy+5An0XgbKtE0oJ5pU7nLPjrBycuQVVqb+N63dgglmFUr22vm8tm+KDAnqpv9yZcFhOh+mP0Q=="}
* RESPONSE
{"payId":"78a15ef0a0fb@JA","resultCode":110,"resultMessage":"Missing parameter fingerprint.browser","dttm":"20240122135515","signature":"QQqcznNPcWbX7ZA9km9iAlX08LXlyLC/g+5URuTSckNDKSudj75kj0I5vvwZJpB9B5HxDco2dtXjZTQq0M9t2YPV04+HFzqPW8p5BhpyGZaLm1KlnpsiBXbGTYx0wJOTjOy6RpHhPU9ZQt8sgaVJPN4xmsLi62OfHNyFfNm07noh6y5nf0TnQ5+iazCfVC6L/uTqIb182xqUoOpy4gX7br08/ZjRE9ceURiLIrjBTQoCbdRb27yht+P2luKRULcWeLFh7uWiAshTKrs9/ihojfzxMqNYTV680cX++fAYaWvEViMJj6NlIhvXCHIZvDIMyRezRduI7RRJXlI9sqyosg==","paymentStatus":0}
Pro upresneni. Navstevnici webu mohou prispet dar na beh nasi organizace. Maji moznost si zvolit pravidelny/mesicni prispevek. My pak skruptem na pozadi provadime tyto mesicni platby. Nejedna se tedy o platby z prohlizece, ale ze serveru (curl).
Dobrý den,
parametr "fingerprint" je u metody oneclick/process povinný pokud je v operaci oneclick/init nastaveno clientInitiated = true. Parametr clientInitiated indikuje, zda je možné provést ověření platby za přítomnosti zákazníka. Povolené hodnoty jsou true / false. Defaultní hodnota je true.
Kompletní informace pro OneClick metodu pro verzi eAPI 1.9 viz dokumentace: https://github.com/csob/platebnibrana/wiki/Metody-pro-OneClick-platbu#metoda-oneclickprocess- Časté technické dotazy: https://github.com/csob/platebnibrana/wiki/%C4%8Cast%C3%A9-technick%C3%A9-dotazy#otisk-za%C5%99%C3%ADzen%C3%AD-struktura-fingerprint
Hezký den.
Jana Grmelová IT administrátor
Dekuji, to jiz pomohlo! U nekterych plateb se mi vraci chyba "Oneclick template not". To znamena, ze u vas jiz sablona expirovala nebo bylo zrusena z jineho duvodu a u nas muzeme tedy tyto platby zablokovat? Jaka je prosim zivotnost sablony?
... A prisaham, ze uz je to vse a dam vam pokoj :)
{"merchantId":"M1MIPS1182","origPayId":"31204db7a961@GD","orderNo":202420127,"dttm":"20240122143103","clientIp":"86.49.118.244","totalAmount":50000,"currency":"CZK","returnUrl":"http:\/\/www.paraple.cz\/index.php?cmd=web.support-frequency&orderId=2855","returnMethod":"POST","clientInitiated":false,"signature":"DCtRzIbEP8e\/VNEf\/bDtOvClfYlMdcSSgWOCHuTjqzW41cul5aYh0qBVKqjXhId6Gy8bbjZnp5dT\/3bh+q31qx40R2jrXFmWy55GMR2uKqAMuTDMZ\/Y2OuNHGtI++xEjS0tRz+q\/ciDhmMvB9OZ8bzBlQJ1WxSz6V2pRTO5CinpYYyA0aJ6lumMckSyVO6ekq9AeRc5F1J3lgy+LMCRNlILOQwxffCda7gApu77PGhc\/1xakZgUAJg5YR9vRJgSFe5uAuX+llGgnb6qHIJhKXtXmTZuXare6riqWYWT\/qmMIYcNSJeLoEmsbqMtlpv6ui3+9dJ5VCd4mwKfJG7pzXA=="}
{"resultCode":700,"resultMessage":"Oneclick template not found","paymentStatus":0,"dttm":"20240122143103","signature":"ZqN2gCCKFQ7Ml6kap7mb1CcVFUrOIbqpLsAP6P4Xvnufa9SFuzfP4iKdSgD/9ZQdYANkoLQmdMh1SuTvrJxWWUdpGJZ8KqLrql0mIPwF0M6d5n2B9M4Tq1l7Z/rAxAdiPdneDcOR5ROejIPmFlvI/VZR7tP0D/UP2d/m9lQVC7OJec+XBZPjn7VaBdkC8E+a7TuaqhV6+FtG0zUrAdwcJTghyEN56M67AbQ/FuVhkFK2myYRuhRPaDUXw30goMpyMLEn4n4ODSy4XxzQ18UbwiPr1qh0aFh6v0gtSihLm02xSxJ1ypCdE8VE2rvrGsqKRFhEA6tdi61r1DjVBwOi4A=="}
* DATE 2024-01-22 14:31:03
* Hostname api.platebnibrana.csob.cz was found in DNS cache
* Trying 193.245.38.172...
* TCP_NODELAY set
* Connected to api.platebnibrana.csob.cz (193.245.38.172) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: jurisdictionC=CZ; businessCategory=Private Organization; serialNumber=000 01 350; C=CZ; L=Prague; O=Ceskoslovenska obchodni banka, a. s.; CN=platebnibrana.csob.cz
* start date: Jul 17 00:00:00 2023 GMT
* expire date: Jul 16 23:59:59 2024 GMT
* subjectAltName: host "api.platebnibrana.csob.cz" matched cert's "api.platebnibrana.csob.cz"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
* SSL certificate verify ok.
> POST /api/v1.9/oneclick/init/ HTTP/1.1
Host: api.platebnibrana.csob.cz
Content-Type: application/json
Accept: application/json;charset=UTF-8
Content-Length: 665
* upload completely sent off: 665 out of 665 bytes
< HTTP/1.1 200 OK
< Date: Mon, 22 Jan 2024 13:31:03 GMT
< Content-Type: application/json;charset=utf-8
< Connection: keep-alive
< Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
< Expires: 0
< Set-Cookie: SECRET=!Jh9qZDGNQ93asJX0DXgH9oKbumlwz+SZrAywYbZheJEJBvne+5fYmVoAZd+ufbl9/7Cp2NfJKLA1m9NWxP2Az8ClcbfAH74wGqxR0p6cXg==; path=/; Httponly; Secure
< Strict-Transport-Security: 31536000
< X-Content-Type-Options: nosniff
< Content-Security-Policy: default-src 'self';
< X-XSS-Protection: 1; mode=block
< Set-Cookie: TS0169d752=016509e807ec2eef019d910e9f37c7239f6b3f698b10d2a73f3260877d143cda1f2dcccfbfb30fcc56619845bb9491e1fc6ad2ee740f2b76564615c80e448e0e5a254ee12e; Path=/; Secure; HTTPOnly
< Transfer-Encoding: chunked
<
* Connection #0 to host api.platebnibrana.csob.cz left intact
* REQUEST
{"merchantId":"M1MIPS1182","origPayId":"31204db7a961@GD","orderNo":202420127,"dttm":"20240122143103","clientIp":"86.49.118.244","totalAmount":50000,"currency":"CZK","returnUrl":"http:\/\/www.paraple.cz\/index.php?cmd=web.support-frequency&orderId=2855","returnMethod":"POST","clientInitiated":false,"signature":"DCtRzIbEP8e\/VNEf\/bDtOvClfYlMdcSSgWOCHuTjqzW41cul5aYh0qBVKqjXhId6Gy8bbjZnp5dT\/3bh+q31qx40R2jrXFmWy55GMR2uKqAMuTDMZ\/Y2OuNHGtI++xEjS0tRz+q\/ciDhmMvB9OZ8bzBlQJ1WxSz6V2pRTO5CinpYYyA0aJ6lumMckSyVO6ekq9AeRc5F1J3lgy+LMCRNlILOQwxffCda7gApu77PGhc\/1xakZgUAJg5YR9vRJgSFe5uAuX+llGgnb6qHIJhKXtXmTZuXare6riqWYWT\/qmMIYcNSJeLoEmsbqMtlpv6ui3+9dJ5VCd4mwKfJG7pzXA=="}
* RESPONSE
{"resultCode":700,"resultMessage":"Oneclick template not found","paymentStatus":0,"dttm":"20240122143103","signature":"ZqN2gCCKFQ7Ml6kap7mb1CcVFUrOIbqpLsAP6P4Xvnufa9SFuzfP4iKdSgD/9ZQdYANkoLQmdMh1SuTvrJxWWUdpGJZ8KqLrql0mIPwF0M6d5n2B9M4Tq1l7Z/rAxAdiPdneDcOR5ROejIPmFlvI/VZR7tP0D/UP2d/m9lQVC7OJec+XBZPjn7VaBdkC8E+a7TuaqhV6+FtG0zUrAdwcJTghyEN56M67AbQ/FuVhkFK2myYRuhRPaDUXw30goMpyMLEn4n4ODSy4XxzQ18UbwiPr1qh0aFh6v0gtSihLm02xSxJ1ypCdE8VE2rvrGsqKRFhEA6tdi61r1DjVBwOi4A=="}
Dobrý den,
ano, pokud se Vám vrátí odpověď "Oneclick template not found", tak se šablona z nějakého důvodu nenachází u nás v databázi. Navazující platby s touto šablonou nebudou možné.
Zde jsou uvedeny konkrétní situace, kdy OneClick platba končí nebo je zrušena: https://github.com/csob/platebnibrana/wiki/OneClick-Platba#kdy-oneclick-platba-kon%C4%8D%C3%AD-nebo-je-zru%C5%A1ena-
V případě doplňujících dotazů, jsme Vám k dispozicii.
Jana Grmelová IT administrátor
Dekuji, za me vse.
Dobry den, ndeari se mi vytvorit jsem si novou platby OneClick. Snazil jsem se nasledne vytvorit opakovanou platbu. Vraci se mi kod 404 Not Found. Nize zasilam cely HTTP pozadavek. Muzete se prosim podivat, v cem je chyba? Inicializacni platbu jsem vytvarel dnes rano.
Dekuji