Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Jun 28 2023 09:30:46 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908891 |
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 | 783 |
cache-control | max-age=0 |
sec-ch-ua | "Opera GX";v="99", "Chromium";v="113", "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/113.0.0.0 Safari/537.36 OPR/99.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=2908891&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29088919&VK_MSG=Pangalink%3A+2908891&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2023-06-28T12%3A30%3A43%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=Y94hjYjfw2eRVjrtxmEKkpgm0UsObfzCUxcwYBCqljwuSoj675H%2FM3g3oxDm6hB1GXeQFJgGfoKXqUB7ww1lbpfErLAb5WsrzWfPHx9DccktHIGX3KlfyePRb7OF%2BKyT1Inyq%2FKlRNr89yx%2B2gi5pf1GkJ3eNJ8hvXyWv71GNmsMfrDwX7pv%2FRKO4YM%2BGRydJyVDLqfUwav%2BPedEoLVF%2Bz2%2FQhdmp4obwb%2Fowom%2Bhva9tZeXbqx42KeNbe4dVnJmvG%2F4fNGPh0z5%2FGzAtr1yBCiWXhbDMtCnGuCXH0Vc%2BHTH%2BnKZpYZhSyi8U4IvVA6Ep22ATnHfNd5Va0foNS187A%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2908891 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29088919 |
VK_MSG | Pangalink: 2908891 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-06-28T12:30:43+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | Y94hjYjfw2eRVjrtxmEKkpgm0UsObfzCUxcwYBCqljwuSoj675H/M3g3oxDm6hB1GXeQFJgGfoKXqUB7ww1lbpfErLAb5WsrzWfPHx9DccktHIGX3KlfyePRb7OF+KyT1Inyq/KlRNr89yx+2gi5pf1GkJ3eNJ8hvXyWv71GNmsMfrDwX7pv/RKO4YM+GRydJyVDLqfUwav+PedEoLVF+z2/Qhdmp4obwb/owom+hva9tZeXbqx42KeNbe4dVnJmvG/4fNGPh0z5/GzAtr1yBCiWXhbDMtCnGuCXH0Vc+HTH+nKZpYZhSyi8U4IvVA6Ep22ATnHfNd5Va0foNS187A== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10005200729088910038.7003EUR00829088919018Pangalink: 2908891044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-06-28T12:30:43+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 | 2908891 |
VK_T_NO | 10170 |
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 | 29088919 |
VK_MSG | Pangalink: 2908891 |
VK_T_DATETIME | 2023-06-28T09:30:47+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | Sq+Yx5H2P7JDLEtD7JLW6RojDX4LYMAPotXrgiVYCk49zBBu8JYzpX4yvPEcU6uMkYm7L8aftF4chAAdxEx59PXTfsP+s+tG8za3kXzBmmU+XRCzAqPvTG4pJCkEGyxltSvmU49UutEDuvPyrtyA5qSbnv2p1drwdGCBvdhk2XTLkkBJePmanWlZtoFV7lsF7m97uWaKvI3yuLluZg7HGSh19oaRd2XmGVA0YX6ITLXzgcl7ed/rGb3I8FZEuTtwwdCuQF9uJYP1emS59Tk3uP7rYBBqrKOTcVM84YwMddMVEFRxHanVriF3FKMQQAQ9tONIl0vHiTGHax+L5MVnLg== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid1000520072908891005101700038.7003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00829088919018Pangalink: 29088910242023-06-28T09:30:47+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.