Makselahendus | Swedbank |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Tue Dec 06 2022 17:08:03 GMT+0000 (UTC) |
Selgitus | Pangalink: 2430278 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 39,90 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 80.235.31.88 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 766 |
cache-control | max-age=0 |
sec-ch-ua | "Chromium";v="106", "Not.A/Brand";v="24", "Opera GX";v="92" |
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/106.0.0.0 Safari/537.36 OPR/92.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.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 | 80.235.31.88 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100052&VK_STAMP=2430278&VK_AMOUNT=39.9&VK_CURR=EUR&VK_REF=24302784&VK_MSG=Pangalink%3A+2430278&VK_RETURN=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=http%3A%2F%2Flocalhost%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2022-12-06T19%3A07%3A57%2B0200&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=SukVR1jXtJlcaSsaUoNixEw4lcU5gQ2SBO6AG4YjDVea28U5Bond0fx2eWiOlYi57CJfRh82Ks8q7seIzPIctCtoauMZN3HcZsORssu7VKbG%2BhJ5VQlL%2FkEoqNpBZeXegiaWAlkY70Q3dCPUM%2FQqoshIeOuP6ytrkVESpc0GZT6WS7SDKyllw5PgpMgVwD1a%2By9aF4%2FbwuzhA2K0LvbPnD2ZmiY8sy1aJiqevACWuCFynpbYI7lWzPUXzwdsabtv4TuJHyfg0sAymFaBcWZAelIEcglze8mQ2erKXLKIztLeDsRvjWRGK%2FnNlFBunARFdaIHPgGCNagpVO9aXcprKg%3D%3D&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100052 |
VK_STAMP | 2430278 |
VK_AMOUNT | 39.9 |
VK_CURR | EUR |
VK_REF | 24302784 |
VK_MSG | Pangalink: 2430278 |
VK_RETURN | http://localhost/payment/callback/order/bank |
VK_CANCEL | http://localhost/payment/callback/order/bank |
VK_DATETIME | 2022-12-06T19:07:57+0200 |
VK_LANG | EST |
VK_ACC | EE171010123456789017 |
VK_NAME | Veebimajutus |
VK_MAC | SukVR1jXtJlcaSsaUoNixEw4lcU5gQ2SBO6AG4YjDVea28U5Bond0fx2eWiOlYi57CJfRh82Ks8q7seIzPIctCtoauMZN3HcZsORssu7VKbG+hJ5VQlL/kEoqNpBZeXegiaWAlkY70Q3dCPUM/QqoshIeOuP6ytrkVESpc0GZT6WS7SDKyllw5PgpMgVwD1a+y9aF4/bwuzhA2K0LvbPnD2ZmiY8sy1aJiqevACWuCFynpbYI7lWzPUXzwdsabtv4TuJHyfg0sAymFaBcWZAelIEcglze8mQ2erKXLKIztLeDsRvjWRGK/nNlFBunARFdaIHPgGCNagpVO9aXcprKg== |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid100052007243027800439.9003EUR00824302784018Pangalink: 2430278044http://localhost/payment/callback/order/bank044http://localhost/payment/callback/order/bank0242022-12-06T19:07:57+0200
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 | 2430278 |
VK_T_NO | 10128 |
VK_AMOUNT | 39.9 |
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 | 24302784 |
VK_MSG | Pangalink: 2430278 |
VK_T_DATETIME | 2022-12-06T17:08:05+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | hTagMl15qPEusnmjilRrY2zlnHXRfjrRw7Nwwf3KaDlUJVLCErfndEiyK03kdexHu4eYZcOmSxxhtrUMpDG+ZAz2xwAl0N0Q9CxbjBHApWbKCnohL4uc3kqQj/hMlvPOT+6FpklMJQyXzjW2FYbE+pCVaAt+VeleQy0UtX77Kb80g6AIfCGccvomWi3jdK3yoGiZNb4Typrn57q1MESgHFPQCm6lvm2LftOSv/fVZuq2QaS75s9CNNq+IBWEzxKKsQffOKqF5TEcoIbUyIEaGDmCRjKyTi6Kehi/9c4nZmCF/hXmvnPEsqpzG6zaPPkzuztV2OskFG1sioiXXhotZA== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008002HP009uid10005200724302780051012800439.9003EUR020EE171010123456789017012Veebimajutus020EE152200221234567897015Tõõger Leõpäöld00824302784018Pangalink: 24302780242022-12-06T17:08:05+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.