Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Tue Apr 11 2023 11:35:56 GMT+0000 (UTC) |
Selgitus | Pangalink: 2430325 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 8,25 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 | 784 |
cache-control | max-age=0 |
sec-ch-ua | "Not=A?Brand";v="8", "Chromium";v="110", "Opera GX";v="96" |
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/110.0.0.0 Safari/537.36 OPR/96.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=uid100036&VK_STAMP=2430325&VK_AMOUNT=8.25&VK_CURR=EUR&VK_REF=24303259&VK_MSG=Pangalink%3A+2430325&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Frenewal%2Fbank&VK_DATETIME=2023-04-11T14%3A35%3A25%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=BvfKfSrOUbKucXB8Os7Htac6nn6dt7a%2FzEFGgJpI3ba0qil8BcGXQSLx4%2BdVnskUhWfghD8Wgo2tOx%2FO0J4ESPenB%2Fere9GIz1qlrwr6CZ81y%2FsFTA7Ro1bfAoBRZbDXycY1jkl3FFWYmqwD6h35119nl84EaUfOm3AcGf1BrmvsMVRF%2BU8C17WTEhGg7FPHNnp8NHfCMYnHvO%2BWLYyGkBALmqqXSVxKKq1k4m9wzUz%2BwkAaZYTaPHdbqLkTUhtKiLRATjULfM3UpmEPOECB1Yh%2F2%2BKP%2BTTZqWPjiyZXfF9JCIdfh8J2hDLmegUcJ3YM2y%2FKkiwxv0RKeORDVo%2BR9Q%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 2430325 |
VK_AMOUNT | 8.25 |
VK_CURR | EUR |
VK_REF | 24303259 |
VK_MSG | Pangalink: 2430325 |
VK_RETURN | http://localhost/payment/callback/renewal/bank |
VK_CANCEL | http://localhost/payment/callback/renewal/bank |
VK_DATETIME | 2023-04-11T14:35:25+0300 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | BvfKfSrOUbKucXB8Os7Htac6nn6dt7a/zEFGgJpI3ba0qil8BcGXQSLx4+dVnskUhWfghD8Wgo2tOx/O0J4ESPenB/ere9GIz1qlrwr6CZ81y/sFTA7Ro1bfAoBRZbDXycY1jkl3FFWYmqwD6h35119nl84EaUfOm3AcGf1BrmvsMVRF+U8C17WTEhGg7FPHNnp8NHfCMYnHvO+WLYyGkBALmqqXSVxKKq1k4m9wzUz+wkAaZYTaPHdbqLkTUhtKiLRATjULfM3UpmEPOECB1Yh/2+KP+TTZqWPjiyZXfF9JCIdfh8J2hDLmegUcJ3YM2y/Kkiwxv0RKeORDVo+R9Q== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10003600724303250048.25003EUR00824303259018Pangalink: 2430325046http://localhost/payment/callback/renewal/bank046http://localhost/payment/callback/renewal/bank0242023-04-11T14:35:25+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 | 2430325 |
VK_T_NO | 10207 |
VK_AMOUNT | 8.25 |
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 | 24303259 |
VK_MSG | Pangalink: 2430325 |
VK_T_DATETIME | 2023-04-11T11:35:58+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | rP0S3PnLKeFC5WCYZYY46OAFFBt4PYhGuODB2Lh/26KmENpnmAODkgS1AZA7SU6KMHR3bnmDgcK/134cW6k7PX16SXsCIGZU1hwfZa14j1DCnELP/KR2xe8frLYvl+icpRE4jgCBHCw3PCUKRSKPTc5ylSebGPI56YNW3aCMjFWAtAS9ukq/Z9IJELC3VLOkv+LfHYJsN7An6RM/C/rsmiEG3fvLiWAwJd1DU0WPr5fJgSEIpVR7GcIuzYvjuNACCWH1HQpNAxKd7pSsqRPuR+aysZKQStHLtug1otZT4Sp/7WkSsOXs8/Vh0AScgxHE+5/ecXYE78CYQ6gCblnsbA== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid1000360072430325005102070048.25003EUR020EE171010123456789017012Veebimajutus020EE171010123456789017015Tõõger Leõpäöld00824303259018Pangalink: 24303250242023-04-11T11:35:58+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.