Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Aug 09 2023 18:14:41 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908957 |
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 | 767 |
cache-control | max-age=0 |
sec-ch-ua | "Not.A/Brand";v="8", "Chromium";v="114", "Opera GX";v="100" |
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/114.0.0.0 Safari/537.36 OPR/100.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=uid100052&VK_STAMP=2908957&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29089578&VK_MSG=Pangalink%3A+2908957&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2023-08-09T21%3A14%3A34%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=H5WG00Zz4eRA%2FrhPPlrF7IoY1fHsPBfiBHfUuGCsrTw5KLpG66R984oLfTdWFjLfRzcuB5W1OLsZwAK%2BSc%2FMWQms3UClAkhMZGyvmQn22ybcR65TCkER5k6%2FPGdSWboHMQabmPQsDe83dilMc8idsKfCVIVKhJ1reZbQTuuHMRToWIFzpsP36yaXZvGf0no0xv77khWVUR%2FUKh%2FMzQ0dFpxCjZU4RRjvsofLgLIGShPNMyTcSCGPGjojaebQdcQrZSM6c64VDiyLvErflxBhk4RTom98hCtj%2F7oCPPdk1ELV9OWMpflWAS7fhdvU8uayfeqQaC26iI4f3b7yUdzP2w%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2908957 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29089578 |
VK_MSG | Pangalink: 2908957 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-08-09T21:14:34+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | H5WG00Zz4eRA/rhPPlrF7IoY1fHsPBfiBHfUuGCsrTw5KLpG66R984oLfTdWFjLfRzcuB5W1OLsZwAK+Sc/MWQms3UClAkhMZGyvmQn22ybcR65TCkER5k6/PGdSWboHMQabmPQsDe83dilMc8idsKfCVIVKhJ1reZbQTuuHMRToWIFzpsP36yaXZvGf0no0xv77khWVUR/UKh/MzQ0dFpxCjZU4RRjvsofLgLIGShPNMyTcSCGPGjojaebQdcQrZSM6c64VDiyLvErflxBhk4RTom98hCtj/7oCPPdk1ELV9OWMpflWAS7fhdvU8uayfeqQaC26iI4f3b7yUdzP2w== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10005200729089570038.7003EUR00829089578018Pangalink: 2908957044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-08-09T21:14:34+0300
pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks
Nimi | Väärtus |
---|---|
VK_SERVICE | 1111 |
VK_VERSION | 008 |
VK_SND_ID | HP |
VK_REC_ID | uid100052 |
VK_STAMP | 2908957 |
VK_T_NO | 10174 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REC_ACC | EE171010123456789017 |
VK_REC_NAME | Veebimajutus |
VK_SND_ACC | EE152200221234567897 |
VK_SND_NAME | Tõõger Leõpäöld |
VK_REF | 29089578 |
VK_MSG | Pangalink: 2908957 |
VK_T_DATETIME | 2023-08-09T18:14:43+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | acbNMHD/m3CA4PfP2DzEe6aE74056XOtmkqtBkx7EVObPdVHUNC2pcskdSfusjbJRE5UGA2MTnMlISm9yjCZOjFnbiFajZP5MXkAA8DgbnLAOvsttsooTXXTD3NLCacI1xY/os5UvdZSm9T2vcGxOaZLk2Niytee79TXoJOjA7QIftOleSTUMUtvrwU6iOPt2LdD4NW8IvcG3lvPhgH3Rpdyq/wrF3w746LlOJGNMD0YGmFadOVYyRwk/Z5Yk18uO/o9btfg3u46mn/vu9oq2J0AzopqcZCMCNHF33fCQGQYyYPFJqHRLCdCIbpzpwm6fJ+i51gpaHc322usyEjwPw== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid1000520072908957005101740038.7003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00829089578018Pangalink: 29089570242023-08-09T18:14:43+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.