Üldandmed

Makselahendus LHV
Tehingu tüüp Maksekorraldus
Tehingu aeg Mon May 30 2022 12:28:36 GMT+0000 (UTC)
Selgitus Order nr. 66422
Staatus Teostatud
Valitud keel
Eesti
Teksti kodeering UTF-8
Makse summa 69,00 EUR

Sissetuleva päringu andmed

POST /banklink/lhv-common


Päringu HTTP päised

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
795
cache-control
max-age=0
sec-ch-ua
" Not A;Brand";v="99", "Chromium";v="101", "Google Chrome";v="101"
sec-ch-ua-mobile
?0
sec-ch-ua-platform
"Windows"
upgrade-insecure-requests
1
origin
https://vm-backend.dev.elkdata.ee
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/101.0.4951.67 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-user
?1
sec-fetch-dest
document
referer
https://vm-backend.dev.elkdata.ee/
accept-encoding
gzip, deflate, br
accept-language
en-US,en;q=0.9,et;q=0.8
x-client-remote-address
84.50.246.246

Päringu sisu

VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100049&VK_STAMP=66422&VK_AMOUNT=69&VK_CURR=EUR&VK_REF=664226&VK_MSG=Order+nr.+66422&VK_RETURN=https%3A%2F%2Fvm-backend.dev.elkdata.ee%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=https%3A%2F%2Fvm-backend.dev.elkdata.ee%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2022-05-30T15%3A28%3A28%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=KQz8t%2FzbD%2BZDBdOJQBNtoSY9gNPwrjtxjCob2F5JbmlDsw1F4NN09u6vZ7Zlehxnu0RdyXk8k1XO5xf3bjvTPclnK5X6fJryLhNl2UpDXgT15AEqD5A1aVKstUVmIh1bxE8KYEbh43kdSjjQ9RgVkxv0lhUiqU4wCYNX0RV%2FMpqUmWLeMMUABeQAntNr%2BxSKFBppxkvnMOFOsYc8aXeejD6QmMEh4YV%2Fba9Kpg4b%2FXEnfvnG434lRQ4qiokfmygDJU5CyXN%2BeTP0MHkyOP2tkRy13NCTOzGI5a1VutP%2FLxtxZL3tno%2BoqgVB7NnTJ4Cxg0VvFKqBd7JIcSeJNTGJnQ%3D%3D&VK_ENCODING=UTF-8

POST päringu parameetrid

Nimi Väärtus
VK_SERVICE
1012
VK_VERSION
008
VK_SND_ID
uid100049
VK_STAMP
66422
VK_AMOUNT
69
VK_CURR
EUR
VK_REF
664226
VK_MSG
Order nr. 66422
VK_RETURN
https://vm-backend.dev.elkdata.ee/payment/callback/order/bank
VK_CANCEL
https://vm-backend.dev.elkdata.ee/payment/callback/order/bank
VK_DATETIME
2022-05-30T15:28:28+0300
VK_LANG
EST
VK_ACC
EE171010123456789017
VK_NAME
Veebimajutus
VK_MAC
KQz8t/zbD+ZDBdOJQBNtoSY9gNPwrjtxjCob2F5JbmlDsw1F4NN09u6vZ7Zlehxnu0RdyXk8k1XO5xf3bjvTPclnK5X6fJryLhNl2UpDXgT15AEqD5A1aVKstUVmIh1bxE8KYEbh43kdSjjQ9RgVkxv0lhUiqU4wCYNX0RV/MpqUmWLeMMUABeQAntNr+xSKFBppxkvnMOFOsYc8aXeejD6QmMEh4YV/ba9Kpg4b/XEnfvnG434lRQ4qiokfmygDJU5CyXN+eTP0MHkyOP2tkRy13NCTOzGI5a1VutP/LxtxZL3tno+oqgVB7NnTJ4Cxg0VvFKqBd7JIcSeJNTGJnQ==
VK_ENCODING
UTF-8

Allkirja kontrolli sisend

Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:

0041012003008009uid1000490056642200269003EUR006664226015Order nr. 66422061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank0242022-05-30T15:28:28+0300

pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks


Väljuva päringu andmed

POST https://vm-backend.dev.elkdata.ee/payment/callback/order/bank


POST päringu parameetrid

Nimi Väärtus
VK_SERVICE
1111
VK_VERSION
008
VK_SND_ID
LHV
VK_REC_ID
uid100049
VK_STAMP
66422
VK_T_NO
10040
VK_AMOUNT
69
VK_CURR
EUR
VK_REC_ACC
EE171010123456789017
VK_REC_NAME
Veebimajutus
VK_SND_ACC
EE597700771234567897
VK_SND_NAME
Tõõger Leõpäöld
VK_REF
664226
VK_MSG
Order nr. 66422
VK_T_DATETIME
2022-05-30T12:28:38+0000
VK_ENCODING
UTF-8
VK_LANG
EST
VK_MAC
Eg/HsPjgmH7ERqfRp8MktZpQU5JIjpYb0kTw2SYqBVvnrN0Kcm0R/Lf9zbeSDrF6bab+LqKp2HWU50kMVD4XmQUb6qIwi+9gMSTnuCELSdJvndTULdny9CtGXhT8u+d3nXMYE/yBBeo9njOJXiOYEUdpZ3XDqu0NJrookphk/0JluEiTNFXTPmQZ0tc7HLWADWbbtBJgBZoakW0LXdxILiPnFhSXuey7bpmbUlYln/feoM4A1pQF56bufOUkc+Tscz2H08NVhMdXUwD+nAeN6ViBBsTmQnKPUbtnr94uTaSdZI971x4rVcu571S+6SY1Go11bzRnV2JoLHoHDwKsZw==
VK_AUTO
N

Allkirjastamise sisend

Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:

0041111003008003LHV009uid100049005664220051004000269003EUR020EE171010123456789017012Veebimajutus020EE597700771234567897015Tõõger Leõpäöld006664226015Order nr. 664220242022-05-30T12:28:38+0000

receive.php Lae alla näiteskript tehingu andmete allkirja kontrolliks

Automaatpäringu vastus

Staatus 302

Tähelepanu! Kuna päringu HTTP staatus oli 302, mitte 200, peab pank seda vigaseks vastuseks ning üritab mõne aja pärast samu andmeid uuesti saata (täpne käitumine sõltub konkreetsest pangast)

Vastuse HTTP päised

Nimi Väärtus
server
nginx/1.20.2
content-type
text/html; charset=UTF-8
transfer-encoding
chunked
connection
close
x-powered-by
PHP/8.0.13
cache-control
no-cache, private
date
Mon, 30 May 2022 12:28:38 GMT
location
https://vm-backend.dev.elkdata.ee
set-cookie
XSRF-TOKEN=eyJpdiI6ImhRWlZoYThTZEtEci80Q2orRVNZenc9PSIsInZhbHVlIjoiYkxCdlhvbXdKeVhucnExaXBiWGxVMGhCclFlcFFyU0ExeXlpbWdvOUY3aWljS2h6T1NNMDRYbjk4cWh2YzVoV2xRSCtmKy9KRC9kQ1AxNlZNU2ZZenU0UDlpUVhmSkhDTGJvTFZROUdkTFdRZk5KcFhvWXFEUExWa0U4enBkYTMiLCJtYWMiOiI1Y2RmM2NjMjE2YzFjYjM4M2JiNWZhYTczMTUwYjI2ZmNlYTNlMWQ2NjNhNjY5NjZkM2QyNWJiNWNlZTFlZmFlIiwidGFnIjoiIn0%3D; expires=Mon, 30-May-2022 14:28:38 GMT; Max-Age=7200; path=/; domain=vm-backend.dev.elkdata.ee; secure,vm_backend=eyJpdiI6IlBmVzFCekk3VDdlS0pPd2JTUTdmVlE9PSIsInZhbHVlIjoidFJ5dmNqM1cwckJxTnQ3OHZWK0JOMFdHK1UyZ0lyaGlGTFJmbk5hTVBIa245V3l1RDVZaFpCVCtlUkpuT0RLU042RnEvQWRMVVlXbEVPQVBtYlYrZm5FcERCaEtYT2NEWXpRaitkNFVrZnF5by91VUVFUWZiUzYxOUt5UjNNVkkiLCJtYWMiOiI5Y2Q3OTg1ZDViMDkyNGViNmI5ZDVmODZlN2JlODIyNTY1NzI3OTVjYjAxZTE0YjEzOTY5MGNhN2Y1NGRlN2M4IiwidGFnIjoiIn0%3D; path=/; domain=vm-backend.dev.elkdata.ee; secure; httponly

Vastuse sisu

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://vm-backend.dev.elkdata.ee'" />

        <title>Redirecting to https://vm-backend.dev.elkdata.ee</title>
    </head>
    <body>
        Redirecting to <a href="https://vm-backend.dev.elkdata.ee">https://vm-backend.dev.elkdata.ee</a>.
    </body>
</html>