Makselahendus | LHV |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Jun 28 2023 08:09:26 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908871 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 8,70 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 185.94.112.237 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 775 |
cache-control | max-age=0 |
sec-ch-ua | "Opera GX";v="99", "Chromium";v="113", "Not-A.Brand";v="24" |
sec-ch-ua-mobile | ?0 |
sec-ch-ua-platform | "Windows" |
upgrade-insecure-requests | 1 |
origin | http://localhost |
content-type | application/x-www-form-urlencoded |
user-agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 OPR/99.0.0.0 |
accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 |
sec-fetch-site | cross-site |
sec-fetch-mode | navigate |
sec-fetch-user | ?1 |
sec-fetch-dest | document |
referer | http://localhost/ |
accept-language | en-GB,en-US;q=0.9,en;q=0.8 |
accept-encoding | gzip, deflate, br |
x-client-remote-address | 185.94.112.237 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100049&VK_STAMP=2908871&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29088715&VK_MSG=Pangalink%3A+2908871&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2023-06-28T11%3A09%3A23%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=GwgsOq%2Fb6S%2FVp1Ka%2F0SHK%2BX%2FJWamOqHRa5rANhrP53pFUSmnz4jnI9M9sUxXQrgbyMRNSzkfqZkbeW6wppJ83GvIfqm4zBcwoN109yyFC2Q56iTidSu%2FEKqDYUhgORevoTBajArQ17n%2BFd%2B4usxJ2Bcaxmwi0D2xF5iTR4n%2F0JSyywITifwqdZXsrfOYPFTuJ2SB0Db8l18bWjGqfIKyJPObqqjGUwPI6LEXm2wrWORHFTtYfJZqSv0lQ7BEyF1P0TZ4LscQg5x0NibtxFkc%2F%2BOz0keX3eAYRlcVXLHDUshoOPx552o9y19QZiNqsqLEZcqE7cBbsfJC9nm2MXuIfg%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100049 |
VK_STAMP | 2908871 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29088715 |
VK_MSG | Pangalink: 2908871 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-06-28T11:09:23+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | GwgsOq/b6S/Vp1Ka/0SHK+X/JWamOqHRa5rANhrP53pFUSmnz4jnI9M9sUxXQrgbyMRNSzkfqZkbeW6wppJ83GvIfqm4zBcwoN109yyFC2Q56iTidSu/EKqDYUhgORevoTBajArQ17n+Fd+4usxJ2Bcaxmwi0D2xF5iTR4n/0JSyywITifwqdZXsrfOYPFTuJ2SB0Db8l18bWjGqfIKyJPObqqjGUwPI6LEXm2wrWORHFTtYfJZqSv0lQ7BEyF1P0TZ4LscQg5x0NibtxFkc/+Oz0keX3eAYRlcVXLHDUshoOPx552o9y19QZiNqsqLEZcqE7cBbsfJC9nm2MXuIfg== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10004900729088710038.7003EUR00829088715018Pangalink: 2908871044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-06-28T11:09:23+0300
pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks
Nimi | Väärtus |
---|---|
VK_SERVICE | 1111 |
VK_VERSION | 008 |
VK_SND_ID | LHV |
VK_REC_ID | uid100049 |
VK_STAMP | 2908871 |
VK_T_NO | 10213 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REC_ACC | EE171010123456789017 |
VK_REC_NAME | Veebimajutus |
VK_SND_ACC | EE597700771234567897 |
VK_SND_NAME | Tõõger Leõpäöld |
VK_REF | 29088715 |
VK_MSG | Pangalink: 2908871 |
VK_T_DATETIME | 2023-06-28T08:09:27+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | t37KCUEcaXzN1gDvBoTJ3D/llF5peaYuRmxUGzTMIFjfS+6/Rulp/haZiJYxYJLiUJABNZRHSXjENpRO1nquJ4bPVYN6QDqLIASWkH3hUaSuEhOebRTzIu1xIfwLF1tNxOoBEuGkz7y78Td43KV/TuyvcUOLHzyOQW8NA0nYU9H6GTQNg0P1OIOhf0gnLhjRVHhkwgBQuKFvMjFqWqy8ArBXGkM4LtRmWltQ6aNKTq+4PSuQ0THFbhRfEU3uV4UnImVBOKV0x040TYz9jEFGGIt2vAOWh2QVEJvpP2Qc3546NInl4biKNM1J17+vsvFDabk982s0cHT96ModAeKJjQ== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003LHV009uid1000490072908871005102130038.7003EUR020EE171010123456789017012Veebimajutus020EE597700771234567897015Tõõger Leõpäöld00829088715018Pangalink: 29088710242023-06-28T08:09:27+0000
receive.php Lae alla näiteskript tehingu andmete allkirja kontrolliks
Juhul kui domeen viitab väljastpoolt ligipääsmatule serverile (n. localhost), siis ei olegi võimalik sellele aadressile automaatpäringuid teha. Üldjuhul ei ole see ka probleem, va. juhul kui rakendus on ehitatud selliselt, et ootab üht päringut samade andmetega vaid ühe korra. Üks hetk avalikku serverisse pannes võib see rakenduse töö katki teha, kuna siis tuleb samade andmetega päringut juba kaks korda (esiteks panga poolt automaatpäring ja seejärel kasutaja poolne päring). Kui rakendus peab õigeks vaid esimest (automaatpäring) ja lükkab tagasi teise (kasutaja poolse duplikaatpäringu), siis you're gonna have a bad time.
Alternatiiv localhost sisu lubamiseks avalikku veebi oleks kasutada localtunnel teenust või mõnd selle analoogi, kuid seda tuleb tuleb teha ülima ettevaatlikkusega - oma arvuti avamine tervele internetile ei pruugi olla väga tervislik.