Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Oct 05 2022 06:28:08 GMT+0000 (UTC) |
Selgitus | Pangalink: 2430228 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 8,70 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 84.50.246.246 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 769 |
cache-control | max-age=0 |
sec-ch-ua | " Not A;Brand";v="99", "Chromium";v="104", "Opera GX";v="90" |
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/104.0.5112.102 Safari/537.36 OPR/90.0.4480.117 |
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 | gzip, deflate, br |
x-client-remote-address | 84.50.246.246 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100036&VK_STAMP=2430228&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=24302289&VK_MSG=Pangalink%3A+2430228&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2022-10-05T09%3A28%3A03%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=vrnqdPlsTFbpvXXfNgkpeVJWE3FlRSKonhw%2BXHcx3NpiRS%2FU3U1mPiaiKuzVvVn316fUPYRBMg77onobV6azQrXOqKPwqnOo3Ra8T5djblBIdnRhmWlWsRhxOpW4EDqJXTgAdna%2F6njKHb%2FDxbTlkzhDNkVyqSh1%2BC7bEw1EPPI9uI6kcWIWIapu5N%2BhsLZuUUbPAGtQBUOPgybRalKQYosJspx9fHQzmt34xx6jAnU5p6iKV5LiNIDQBFTDU4FJbi7PSF5SSxkH4orLEa6840s4uUGiCCdi4nlHEWXSjbpn7Yy10%2BA2qDLUaMYzs%2BqZzDvtpC7MMCC4uhwDfOAArw%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 2430228 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 24302289 |
VK_MSG | Pangalink: 2430228 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2022-10-05T09:28:03+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | vrnqdPlsTFbpvXXfNgkpeVJWE3FlRSKonhw+XHcx3NpiRS/U3U1mPiaiKuzVvVn316fUPYRBMg77onobV6azQrXOqKPwqnOo3Ra8T5djblBIdnRhmWlWsRhxOpW4EDqJXTgAdna/6njKHb/DxbTlkzhDNkVyqSh1+C7bEw1EPPI9uI6kcWIWIapu5N+hsLZuUUbPAGtQBUOPgybRalKQYosJspx9fHQzmt34xx6jAnU5p6iKV5LiNIDQBFTDU4FJbi7PSF5SSxkH4orLEa6840s4uUGiCCdi4nlHEWXSjbpn7Yy10+A2qDLUaMYzs+qZzDvtpC7MMCC4uhwDfOAArw== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10003600724302280038.7003EUR00824302289018Pangalink: 2430228044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242022-10-05T09:28:03+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 | 2430228 |
VK_T_NO | 10193 |
VK_AMOUNT | 8.7 |
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 | 24302289 |
VK_MSG | Pangalink: 2430228 |
VK_T_DATETIME | 2022-10-05T06:28:10+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | TOwWXOuinDiRO9vqKRc8c8UZy7CfTYzAffQys4Vg51soVqQSysZyNyvDzGG0bCbwMuF3XV673W2tg72Yt1HVFSh/rDkYa63YCLP26l0kJGZCaXH+H4dq/OGEnYNaFAJ7Z6+RaYZmgJDubgRsLlS1Xxe2Ip6csYarjRfI0DBf+8yBNrN4pkU57zv1WifJivMXW1bS1Q0WHfyvGj60iOcKDSKxzW2ucP1h8gf4urs1fvZ2fWB733CwzuQtezRWeFAoJijZtRsGVj+duGEHBLtqRa3AkWM9bCSfJrWK62FiOUdbmMYmVwWP4FZzGJitc00MNaxXudb32hVgeCIVcCC6/w== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid1000360072430228005101930038.7003EUR020EE171010123456789017012Veebimajutus020EE171010123456789017015Tõõger Leõpäöld00824302289018Pangalink: 24302280242022-10-05T06:28: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.