Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Tue May 03 2022 16:39:58 GMT+0000 (UTC) |
Selgitus | Arve 2429733 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 8,25 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 84.50.241.36 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 752 |
cache-control | max-age=0 |
sec-ch-ua | " Not A;Brand";v="99", "Chromium";v="99", "Opera GX";v="85" |
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/99.0.4844.84 Safari/537.36 OPR/85.0.4341.72 |
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 | br, gzip, deflate |
x-client-remote-address | 84.50.241.36 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100036&VK_STAMP=2429733&VK_AMOUNT=8.25&VK_CURR=EUR&VK_REF=24297336&VK_MSG=Arve+2429733&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal&VK_DATETIME=2022-05-03T19%3A39%3A49%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=sV29satD69QkcCCQufiCeYkXcue3Dos9p21y7IVcBsuoM18sDDjJD0AhCqCY0GLrBzQjfpYeYNSXT3GzXIredcTVemXX51DCYxEG2r%2BBLJUWInLYUyHi2OdN46S8r%2BV6jBk5y%2BjWdatB71jmTclpJsWg%2BQN5ATYF21uv2kkPU7xubs3XBuCkSKXzokmpafJhx%2BsOhK2DVtebKEP8UjmriOds9pr16wMjhgYKXzFKFWJiQVo%2FjiU8jZrSE7pj6G3Jf68kllTZ3XZPB4AHqIZCcvXGoif2eiqFFPB%2FL4Ik0hAQUrfjMk7cVAUjMw1QibXMYwk6d8jxMQh%2B03tQXI6uaQ%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 2429733 |
VK_AMOUNT | 8.25 |
VK_CURR | EUR |
VK_REF | 24297336 |
VK_MSG | Arve 2429733 |
VK_RETURN | http://localhost/payment/callback/renewal |
VK_CANCEL | http://localhost/payment/callback/renewal |
VK_DATETIME | 2022-05-03T19:39:49+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | sV29satD69QkcCCQufiCeYkXcue3Dos9p21y7IVcBsuoM18sDDjJD0AhCqCY0GLrBzQjfpYeYNSXT3GzXIredcTVemXX51DCYxEG2r+BLJUWInLYUyHi2OdN46S8r+V6jBk5y+jWdatB71jmTclpJsWg+QN5ATYF21uv2kkPU7xubs3XBuCkSKXzokmpafJhx+sOhK2DVtebKEP8UjmriOds9pr16wMjhgYKXzFKFWJiQVo/jiU8jZrSE7pj6G3Jf68kllTZ3XZPB4AHqIZCcvXGoif2eiqFFPB/L4Ik0hAQUrfjMk7cVAUjMw1QibXMYwk6d8jxMQh+03tQXI6uaQ== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10003600724297330048.25003EUR00824297336012Arve 2429733041http://localhost/payment/callback/renewal041http://localhost/payment/callback/renewal0242022-05-03T19:39:49+0300
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 | 2429733 |
VK_T_NO | 10087 |
VK_AMOUNT | 8.25 |
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 | 24297336 |
VK_MSG | Arve 2429733 |
VK_T_DATETIME | 2022-05-03T16:40:10+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | dNXrPmne2fO3dDKCt3KZKiKeIqNbYtVkMEvEwaCRr5FedEihFhfkN/44Nn82bHSjWNNza/tMydMFkJPxa+DTEFxcLYFWVaeVw0fhPhwRLGhAht3qTLxxEg8gR7QTUeXFeBHyazctTB8gs+AgJkSeL78/O9r8uHyDdupgZWTG1iQ4ev59lw/5VUIM18NsPBDo5e62Iyf7Ezdy7xao3IEvEF60FKkJyGuDyZOu0+c/quEiXjF/ph1HxWfN5atESmwbs1nH16L7ESCvxDbFq+ahxtgEtA6qkpHgEHUibWdqDsoGXfkZZAJ5pj3Crtuz/WCDXBb3L2dMoVJ+5KFD1kMQQQ== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid1000360072429733005100870048.25003EUR020EE171010123456789017012Veebimajutus020EE171010123456789017015Tõõger Leõpäöld00824297336012Arve 24297330242022-05-03T16:40:10+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.