Makselahendus | SEB |
Tehingu tüüp | Maksekorraldus |
Tehingu aeg | Wed Jul 21 2021 19:34:05 GMT+0000 (UTC) |
Selgitus | Vaheajatellimus 2107210008 30.07.2021 18:00 |
Staatus | Teostatud |
Valitud keel | Eesti |
Teksti kodeering | UTF-8 |
Makse summa | 30,00 EUR |
Nimi | Väärtus |
---|---|
x-forwarded-for | 213.219.98.146 |
x-forwarded-proto | https |
x-forwarded-protocol | https |
x-forwarded-ssl | on |
host | banks.pastel.thorgate.eu |
connection | close |
content-length | 785 |
pragma | no-cache |
cache-control | no-cache |
sec-ch-ua | " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90" |
sec-ch-ua-mobile | ?1 |
upgrade-insecure-requests | 1 |
origin | http://127.0.0.1:8000 |
content-type | application/x-www-form-urlencoded |
user-agent | Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Mobile Safari/537.36 |
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-dest | document |
referer | http://127.0.0.1:8000/ |
accept-encoding | gzip, deflate, br |
accept-language | en-GB,en-US;q=0.9,en;q=0.8 |
x-client-remote-address | 213.219.98.146 |
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100036&VK_STAMP=180&VK_AMOUNT=30.00&VK_CURR=EUR&VK_REF=1805&VK_MSG=Vaheajatellimus+2107210008+30.07.2021+18%3A00&VK_RETURN=http%3A%2F%2F127.0.0.1%3A8000%2Fen%2Forders%2Fbanks%2Fthorbanks_response%2F&VK_CANCEL=http%3A%2F%2F127.0.0.1%3A8000%2Fen%2Forders%2Fbanks%2Fthorbanks_response%2F&VK_DATETIME=2021-07-21T19%3A34%3A04%2B0000&VK_MAC=PXDq%2F6D3Z5YTPm9g452A%2FyWLyebaQMjT8Y3GhnXJ0DZ%2BAcaSsTRczS67foW0YXEFcmXcx3oF3pbVgiWOQ7%2B%2BHtsjDy6H8VmMQzkLoBD7TiJzBghwHH4KRHQOzWF%2BQA7JZYhFRmbH%2BwGfelDFT6zvvE0xfLc5AQ%2FYE%2Ba7cDlT84VU2lqB48nu0I%2FaEn0nT00P1Cnqg4alGyDB8CIgXpwy09r1KhiU4q5sWEsPD6zaESBqRArdVh48OTLNLQHlKAZpIZO6knewZhClxFY4PCE%2Bpn1z4BeDVSBZOAQLCoTh2Q9WBCn0xDEv%2BniXhvMrzKQ0LM35M%2Fqq7EjE9%2FIjtLqDhg%3D%3D&VK_LANG=EST&VK_ENCODING=UTF-8
Nimi | Väärtus |
---|---|
VK_SERVICE | 1012 |
VK_VERSION | 008 |
VK_SND_ID | uid100036 |
VK_STAMP | 180 |
VK_AMOUNT | 30.00 |
VK_CURR | EUR |
VK_REF | 1805 |
VK_MSG | Vaheajatellimus 2107210008 30.07.2021 18:00 |
VK_RETURN | http://127.0.0.1:8000/en/orders/banks/thorbanks_response/ |
VK_CANCEL | http://127.0.0.1:8000/en/orders/banks/thorbanks_response/ |
VK_DATETIME | 2021-07-21T19:34:04+0000 |
VK_MAC | PXDq/6D3Z5YTPm9g452A/yWLyebaQMjT8Y3GhnXJ0DZ+AcaSsTRczS67foW0YXEFcmXcx3oF3pbVgiWOQ7++HtsjDy6H8VmMQzkLoBD7TiJzBghwHH4KRHQOzWF+QA7JZYhFRmbH+wGfelDFT6zvvE0xfLc5AQ/YE+a7cDlT84VU2lqB48nu0I/aEn0nT00P1Cnqg4alGyDB8CIgXpwy09r1KhiU4q5sWEsPD6zaESBqRArdVh48OTLNLQHlKAZpIZO6knewZhClxFY4PCE+pn1z4BeDVSBZOAQLCoTh2Q9WBCn0xDEv+niXhvMrzKQ0LM35M/qq7EjE9/IjtLqDhg== |
VK_LANG | EST |
VK_ENCODING | UTF-8 |
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid10003600318000530.00003EUR0041805043Vaheajatellimus 2107210008 30.07.2021 18:00057http://127.0.0.1:8000/en/orders/banks/thorbanks_response/057http://127.0.0.1:8000/en/orders/banks/thorbanks_response/0242021-07-21T19:34:04+0000
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 | 180 |
VK_T_NO | 10038 |
VK_AMOUNT | 30.00 |
VK_CURR | EUR |
VK_REC_ACC |
|
VK_REC_NAME |
|
VK_SND_ACC | EE171010123456789017 |
VK_SND_NAME | Tõõger Leõpäöld |
VK_REF | 1805 |
VK_MSG | Vaheajatellimus 2107210008 30.07.2021 18:00 |
VK_T_DATETIME | 2021-07-21T19:35:46+0000 |
VK_ENCODING | UTF-8 |
VK_LANG | EST |
VK_MAC | Lx8PUWxrDXc8Gq40A3YkD7Ohx/mEGLDmjKyA1ze5DHIxfgyBnUMT2TzF5c4eFtiqC4QP0nrm5mz+E94aLE3YCDBzhBa8X+sn2C3OtykifTEuWdAJXs3PmTcvk9iCFZMi7FBqf6oyr1FrNGn2ppg92igVgRSUrhjx9pjd4Aa8mFqcyE2KdCqyTRETXWVumE/atPh5BNPlanz3XXQE7I4cVxKtLPOmEiUeru0nmNkkz0S4hfbIGh3BAQkP2UuysfBit//27D+4ugMvGvZovh/a8w/LhzZj9PZZHWHBAcre5giHN21+3kVqQ+OHwsejXrGHBrgHragAzQtgQP8nkgK81w== |
VK_AUTO | N |
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003EYP009uid1000360031800051003800530.00003EUR000000020EE171010123456789017015Tõõger Leõpäöld0041805043Vaheajatellimus 2107210008 30.07.2021 18:000242021-07-21T19:35: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.