Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Oct 06 2021 08:51:54 GMT+0000 (UTC) |
Selgitus | Vaheajatellimus 2110060013 21.10.2021 06:00 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 15,00 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 213.219.98.146 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 771 |
cache-control | max-age=0 |
sec-ch-ua | "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99" |
sec-ch-ua-mobile | ?0 |
sec-ch-ua-platform | "Linux" |
upgrade-insecure-requests | 1 |
origin | http://127.0.0.1:8000 |
content-type | application/x-www-form-urlencoded |
user-agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 |
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-dest | document |
referer | http://127.0.0.1:8000/ |
accept-encoding | gzip, deflate, br |
accept-language | en-GB,en-US;q=0.9,en;q=0.8 |
x-client-remote-address | 213.219.98.146 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100036&VK_STAMP=148&VK_AMOUNT=15.00&VK_CURR=EUR&VK_REF=1481&VK_MSG=Vaheajatellimus+2110060013+21.10.2021+06%3A00&VK_RETURN=http%3A%2F%2F127.0.0.1%3A8000%2Fet%2Forders%2Fbanks%2Fthorbanks_response%2F&VK_CANCEL=http%3A%2F%2F127.0.0.1%3A8000%2Fet%2Forders%2Fbanks%2Fthorbanks_response%2F&VK_DATETIME=2021-10-06T08%3A51%3A54%2B0000&VK_MAC=WO3nT8Cy0L5g%2FEYZpMmIw6hWW7t3sG1DE8jz%2BGKZnMoChWh7iiPmHa7DHqyneNVMiSNlP9RDwKejlNnJiAKfX80O4W4kcBTxhuIE9Bxx4mVnMsdoSA4HXmbMBT%2FLDAyJ4mfFGNA2nXDrK17bz5Yj05qvspzESoRamIDE6d4%2BTPCBX4afOMyd0iyapFUt89bF01Ub%2FBIHLjNtlKpmYm4tkFjiEGsHm1dYNkDfPK50b4WMpKkxZqCrVb3t2N4tdBgGmMDb171cQ334Wcmvopl2YufYfPw9NM5hP7Qoox92EsDKS4lVS%2B%2B5Ss6Fx70jSeYLosYm8kGuZfcCzi0sMXlHLg%3D%3D&VK_LANG=EST&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 148 |
VK_AMOUNT | 15.00 |
VK_CURR | EUR |
VK_REF | 1481 |
VK_MSG | Vaheajatellimus 2110060013 21.10.2021 06:00 |
VK_RETURN | http://127.0.0.1:8000/et/orders/banks/thorbanks_response/ |
VK_CANCEL | http://127.0.0.1:8000/et/orders/banks/thorbanks_response/ |
VK_DATETIME | 2021-10-06T08:51:54+0000 |
VK_MAC | WO3nT8Cy0L5g/EYZpMmIw6hWW7t3sG1DE8jz+GKZnMoChWh7iiPmHa7DHqyneNVMiSNlP9RDwKejlNnJiAKfX80O4W4kcBTxhuIE9Bxx4mVnMsdoSA4HXmbMBT/LDAyJ4mfFGNA2nXDrK17bz5Yj05qvspzESoRamIDE6d4+TPCBX4afOMyd0iyapFUt89bF01Ub/BIHLjNtlKpmYm4tkFjiEGsHm1dYNkDfPK50b4WMpKkxZqCrVb3t2N4tdBgGmMDb171cQ334Wcmvopl2YufYfPw9NM5hP7Qoox92EsDKS4lVS++5Ss6Fx70jSeYLosYm8kGuZfcCzi0sMXlHLg== |
VK_LANG | EST |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10003600314800515.00003EUR0041481043Vaheajatellimus 2110060013 21.10.2021 06:00057http://127.0.0.1:8000/et/orders/banks/thorbanks_response/057http://127.0.0.1:8000/et/orders/banks/thorbanks_response/0242021-10-06T08:51:54+0000
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 | 148 |
VK_T_NO | 10064 |
VK_AMOUNT | 15.00 |
VK_CURR | EUR |
VK_REC_ACC |
|
VK_REC_NAME |
|
VK_SND_ACC | EE171010123456789017 |
VK_SND_NAME | Tõõger Leõpäöld |
VK_REF | 1481 |
VK_MSG | Vaheajatellimus 2110060013 21.10.2021 06:00 |
VK_T_DATETIME | 2021-10-06T08:51:56+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | v3k+o010o7MqEa8tz2coeoWrcvgoOXnhvSdtkFsIgtjksoU3j3rd2/hSFbVcLKTvoNrLhzF8HB/2l9X767I910YqTXo9J4rUyXQ5Bx81kxFHO1hSw35ZA12+f7Soi/UxWRimUXeHsu0r2haA6dWDfaR3Zr+QfQRd7i5v0q4P9b6Z5VLxwJ88d/8ZywdVKlqNvFqDFg/k1BwFgjwulX6TWuYiWinAhawP5piwUV6+KfWeGkD4MP8KpuFY4/GRFtHlMqtv0x3qYUyEUj6kcPoulUijQCMgCIfQ3nu2Vufc7FysumR4zG0BDxfDd0B/nnUkQwOJr1BTb3I5UvGvORFzxw== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid1000360031480051006400515.00003EUR000000020EE171010123456789017015Tõõger Leõpäöld0041481043Vaheajatellimus 2110060013 21.10.2021 06:000242021-10-06T08:51:56+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.