Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Jun 28 2023 09:25:45 GMT+0000 (UTC) |
Selgitus | Pangalink: 2908886 |
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 | 769 |
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=2908886&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=29088867&VK_MSG=Pangalink%3A+2908886&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%3A25%3A42%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=LmN0gK4wr4hFWWDHZR6qgJ7ybC9Kf0GZEEJ%2BFQwkUgI5W2OPCTi9zTO6azUSMVph3KfaThuyjqXBlskwgrHo3MBZ5Pjs6XDz%2FVbSE%2Fnk2oPGQ1EiWkuYIiGxSRAoHQUnsfQVIlKi39yu700nBT0qi9kKhTptRAQp3kSmi5q1fa1RAmBrQ0zYB5r8GcxBsPqh1xt4GwWKE9UaewiC0Ea%2BHKjxGqbAD7ineesrf8dmUbjZHnLA5MLilKgR0iIj%2By7aGq11j6Lt7BJm0M0Dm7loHdTXd5FiQakHT19%2BCxt1qGWKEBJk4km%2BL%2BUNH1WJbAj0gjZLFSGaiGyaqN6Sq9uRUA%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2908886 |
VK_AMOUNT | 8.7 |
VK_CURR | EUR |
VK_REF | 29088867 |
VK_MSG | Pangalink: 2908886 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2023-06-28T12:25:42+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | LmN0gK4wr4hFWWDHZR6qgJ7ybC9Kf0GZEEJ+FQwkUgI5W2OPCTi9zTO6azUSMVph3KfaThuyjqXBlskwgrHo3MBZ5Pjs6XDz/VbSE/nk2oPGQ1EiWkuYIiGxSRAoHQUnsfQVIlKi39yu700nBT0qi9kKhTptRAQp3kSmi5q1fa1RAmBrQ0zYB5r8GcxBsPqh1xt4GwWKE9UaewiC0Ea+HKjxGqbAD7ineesrf8dmUbjZHnLA5MLilKgR0iIj+y7aGq11j6Lt7BJm0M0Dm7loHdTXd5FiQakHT19+Cxt1qGWKEBJk4km+L+UNH1WJbAj0gjZLFSGaiGyaqN6Sq9uRUA== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10005200729088860038.7003EUR00829088867018Pangalink: 2908886044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242023-06-28T12:25:42+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 | 2908886 |
VK_T_NO | 10167 |
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 | 29088867 |
VK_MSG | Pangalink: 2908886 |
VK_T_DATETIME | 2023-06-28T09:25:46+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | pCtY5UUaBhtbjWb5r4L3+SNNbR3mM9XF9vAo66QMyWXMq2inUOi9hYnmX0xXLL7at9kD3jGHMAKyt8gw2sc2XupQ7B/juwDnMIGe/zPVlT+qeEyh4hT2ozxSlQQvhU+qKVFkVsJ6k/zSAeopm0iPheqI1SmUirWSo+Yeb0Yxf1aJBZK+oUloMfp+liigFYEmVIcW/KNKpzpmsoYZKcGXjKwqwdn+8RM4g2pQdBgfGUE3wewilXGRf78yM0g6/h2P5oWz16F/S54kpPwzN3bfRdYQXfNtzGXjy+uvpPY+qNvdzwnRDiWWKqhzWfwsFLtFy8vch3CDGAETgXafSrwV2w== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid1000520072908886005101670038.7003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00829088867018Pangalink: 29088860242023-06-28T09:25:46+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.