Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Mar 08 2023 13:40:43 GMT+0000 (UTC) |
Selgitus | Pangalink: 2430302 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 83,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 | 778 |
cache-control | max-age=0 |
sec-ch-ua | "Opera GX";v="95", "Chromium";v="109", "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/109.0.0.0 Safari/537.36 OPR/95.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.9 |
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=uid100036&VK_STAMP=2430302&VK_AMOUNT=83.7&VK_CURR=EUR&VK_REF=24303026&VK_MSG=Pangalink%3A+2430302&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2023-03-08T15%3A39%3A08%2B0200&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=fpwm0s2EDnohuvGvs%2Fb8yPN%2FFQVTU453iwarrCNPu7eQ9nu%2FFTspyP6hWVY%2BEG8g7t7Ta9%2B5N6S3DePWnzYPwr3EANat7ry88X49cvLV21e8zgXZ48MIzudvcpn9zIQSIZ%2Bi5o0Zp7l4ukpuCmJoLUvSCWd4vjiLEnUEptvZRYE5gsusC8Y8ZIjqevbCG3Fgp3%2BNUbm4esP87XWwAUtGWo%2FUb3qtTagcAs3lwuu5zF75t%2FUqvFxeMpzLxiNDvUF0439ty%2FfE8h1uw0cjzuQXg1X0qHCRN0LN0bPy7WzaI9TJwg8aeUbmImnQoRdXx5G1N%2BMY2N%2Fn2Low2fj3RbKCaQ%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 2430302 |
VK_AMOUNT | 83.7 |
VK_CURR | EUR |
VK_REF | 24303026 |
VK_MSG | Pangalink: 2430302 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-03-08T15:39:08+0200 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | fpwm0s2EDnohuvGvs/b8yPN/FQVTU453iwarrCNPu7eQ9nu/FTspyP6hWVY+EG8g7t7Ta9+5N6S3DePWnzYPwr3EANat7ry88X49cvLV21e8zgXZ48MIzudvcpn9zIQSIZ+i5o0Zp7l4ukpuCmJoLUvSCWd4vjiLEnUEptvZRYE5gsusC8Y8ZIjqevbCG3Fgp3+NUbm4esP87XWwAUtGWo/Ub3qtTagcAs3lwuu5zF75t/UqvFxeMpzLxiNDvUF0439ty/fE8h1uw0cjzuQXg1X0qHCRN0LN0bPy7WzaI9TJwg8aeUbmImnQoRdXx5G1N+MY2N/n2Low2fj3RbKCaQ== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid100036007243030200483.7003EUR00824303026018Pangalink: 2430302044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-03-08T15:39:08+0200
pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks
Nimi | Väärtus |
---|---|
VK_SERVICE | 1111 |
VK_VERSION | 008 |
VK_SND_ID | EYP |
VK_REC_ID | uid100036 |
VK_STAMP | 2430302 |
VK_T_NO | 10206 |
VK_AMOUNT | 83.7 |
VK_CURR | EUR |
VK_REC_ACC | EE171010123456789017 |
VK_REC_NAME | Veebimajutus |
VK_SND_ACC | EE171010123456789017 |
VK_SND_NAME | Tõõger Leõpäöld |
VK_REF | 24303026 |
VK_MSG | Pangalink: 2430302 |
VK_T_DATETIME | 2023-03-08T13:40:44+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | VzdYeqbum+Jt7+1ZADkB4Yw+5J2XRpe8stiq+XJ9VfYHP/MIDZijVDg5oVIQOnnXTitHfB65uJn1TmiOkE8fDExYZy3/Tb5PbmxYiwENnEYfSPGHo9rpNvoH+REANqQPNFnQIRhdItjG0C/qLEKK6kVDMTzd+5kTlx9DIpM6RkVvQ6ZvG3BfZq9oBfZzgVTnS0eBLhAvchHeoYLqS1lchm1pTKIogp//06ZcNpKjjMtjfny2BSAYGfwAq4NTM2JHdJbLTgvnL0kAXUT37oHhvjFDQRGlDFpDoW0+qjWwQMXgmymhxSQ3fJXwncNGBYT5/WFJj4L9/DiqyTLuJtWrjQ== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid10003600724303020051020600483.7003EUR020EE171010123456789017012Veebimajutus020EE171010123456789017015Tõõger Leõpäöld00824303026018Pangalink: 24303020242023-03-08T13:40:44+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.