Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Aug 09 2023 18:53:45 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908958 |
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 | 787 |
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=2908958&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29089581&VK_MSG=Pangalink%3A+2908958&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%3A53%3A41%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=dHF05nsUw7wLny3D8%2B7uDK7bb30Fr%2FdnYkT6vFFBuWdjlgA%2Fq%2Fqkz3fc6xlsNH6qan0mDSfZbVPNGpNGQ4XduAvJv%2F%2BEG5BnZpod3dmde50t2%2B4dFjX7q9pW%2BzeOeP8Fpqb0jYPblAnIIsy0YCI0PeUZtUfLscI5xv2j%2FzVQGyFUFwvQ%2FlIRDHErGEDNtbBL8%2FLjbrnWAv%2FRGuF730YOcFxYyMoHZ1TT3eZhgQIS%2FNNN%2BTNh35bMDtlJhV1KPMD5Cg0zcjhDJnagfukJq4gyAp0UzSMZDUBeEGhzIHOjHhghSOjzyW7hvt5b7%2BoNqZbeQSC%2BvcLVUDUgY%2BUcvPtdTA%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2908958 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29089581 |
VK_MSG | Pangalink: 2908958 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-08-09T21:53:41+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | dHF05nsUw7wLny3D8+7uDK7bb30Fr/dnYkT6vFFBuWdjlgA/q/qkz3fc6xlsNH6qan0mDSfZbVPNGpNGQ4XduAvJv/+EG5BnZpod3dmde50t2+4dFjX7q9pW+zeOeP8Fpqb0jYPblAnIIsy0YCI0PeUZtUfLscI5xv2j/zVQGyFUFwvQ/lIRDHErGEDNtbBL8/LjbrnWAv/RGuF730YOcFxYyMoHZ1TT3eZhgQIS/NNN+TNh35bMDtlJhV1KPMD5Cg0zcjhDJnagfukJq4gyAp0UzSMZDUBeEGhzIHOjHhghSOjzyW7hvt5b7+oNqZbeQSC+vcLVUDUgY+UcvPtdTA== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10005200729089580038.7003EUR00829089581018Pangalink: 2908958044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-08-09T21:53:41+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 | 2908958 |
VK_T_NO | 10176 |
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 | 29089581 |
VK_MSG | Pangalink: 2908958 |
VK_T_DATETIME | 2023-08-09T18:53:47+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | dOM79TFE1aUxqxoBPi2BjeCnMaza+6PfNgmg4C2LFJHk13xv0Bx2B4c8nwh+sVwuIGvZMvEl7gLMKD5grUBDAImZO83c5QN0nvTxV1ux0biLevIS7to50AfJMIXSHwk4a0fmf7+eua7fuUuDBDx+WsryJ1i21Kzg0iD1Qukz6pnpU4106/7stpPMKb1HbnVkW+ccJE0JrHwcPulDGpOIQQHGihQWEpII7r2tJRNtRyXEbAXKkAuJPDVYZOJsRo72BverxBCq/a+rHkalgamOsGl0ZDqOo9aHlICxHu15prsWRp5PiM0d74/gdSJF0o232L553Ve2N46xJOMkxmDK7w== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid1000520072908958005101760038.7003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00829089581018Pangalink: 29089580242023-08-09T18:53: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.