Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Aug 09 2023 20:06:37 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908964 |
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 | 801 |
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=2908964&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29089646&VK_MSG=Pangalink%3A+2908964&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal%2Fbank&VK_DATETIME=2023-08-09T23%3A06%3A01%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=pHIKn%2FCpZ9cRh0CyQjLTpY%2FriSS%2B9sRwfxodz7DzNJgs%2FdAJsIM5DBqs0%2F4Q%2FXpNFG4tHoCXv80iOcfzneUtyp%2FOmW5kGY0%2FnXfZjcMrLxYEzJTqx9UbS5dGwwgu71rdwFPhfIqp%2BxFpR%2BIIGZMP2bL7%2F1J%2BAejt%2FBBzCW95YKWcXOrThCAwf0O4UT72s0Kuwsu2Y7TmgrB2i3%2FX%2BDx%2FXI8E%2BZ5FZijkD3HwiHwLeRIFwDJSSjSrkfr%2F%2BoLQklivtVCdeFvwsgnlOANwY%2FkbcQuSXNJlIN2VCksyz7iegCOhthWEMo7W%2BAlvN4KP%2BIfmN5AplJgpCyXMMSJXzKAgWA%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2908964 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29089646 |
VK_MSG | Pangalink: 2908964 |
VK_RETURN | http://localhost/payment/callback/renewal/bank |
VK_CANCEL | http://localhost/payment/callback/renewal/bank |
VK_DATETIME | 2023-08-09T23:06:01+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | pHIKn/CpZ9cRh0CyQjLTpY/riSS+9sRwfxodz7DzNJgs/dAJsIM5DBqs0/4Q/XpNFG4tHoCXv80iOcfzneUtyp/OmW5kGY0/nXfZjcMrLxYEzJTqx9UbS5dGwwgu71rdwFPhfIqp+xFpR+IIGZMP2bL7/1J+Aejt/BBzCW95YKWcXOrThCAwf0O4UT72s0Kuwsu2Y7TmgrB2i3/X+Dx/XI8E+Z5FZijkD3HwiHwLeRIFwDJSSjSrkfr/+oLQklivtVCdeFvwsgnlOANwY/kbcQuSXNJlIN2VCksyz7iegCOhthWEMo7W+AlvN4KP+IfmN5AplJgpCyXMMSJXzKAgWA== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10005200729089640038.7003EUR00829089646018Pangalink: 2908964046http://localhost/payment/callback/renewal/bank046http://localhost/payment/callback/renewal/bank0242023-08-09T23:06:01+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 | 2908964 |
VK_T_NO | 10178 |
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 | 29089646 |
VK_MSG | Pangalink: 2908964 |
VK_T_DATETIME | 2023-08-09T20:06:39+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | sI1Z+e2XPkKMxZJBkPS4Eoe4gSaPWH1axChtQaJpKDEMtrHOgUSYD5HWC5ykUoOPWksT3YFozeBKCTZB+0O9rf4SCSHQs0gexDU08axwjgmCodxhl8P669WqMAi5z5VEjO5hGOYQQWxRQ0fQERElnXwcTtCKBmvpurel9v0zmzlw+S11uUAt6Guk7tK4ac3HqISCozCjagREw3KqdMsLzCliPISNCQlcMleqizMhbtoVeTBoiHQYsjrFC0No1oIxHAkUytDYi2qwIlgs7NQprcn1r27Ce9o4HhSvzuobl0wUHrGKYeCzY5hPYVejP2UmkpJkoc8bdtcmIIbpg5qMlQ== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid1000520072908964005101780038.7003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00829089646018Pangalink: 29089640242023-08-09T20:06:39+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.