Üldandmed

Makselahendus LHV
Tehingu tüüp Maksekorraldus
Tehingu aeg Wed Jul 06 2022 09:27:29 GMT+0000 (UTC)
Selgitus Order nr. 66486
Staatus Teostatud
Valitud keel
Eesti
Teksti kodeering UTF-8
Makse summa 8,70 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
800
cache-control
max-age=0
sec-ch-ua
" Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"
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/102.0.0.0 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=66486&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=664860&VK_MSG=Order+nr.+66486&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-07-06T12%3A27%3A25%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=JcREfNPcHmlUUAKhZzptP55lsa8DFHSFxdCcA6wGOd9NoYHwlB5tKKih8WYKrjn9y%2BU54IgmvNTgZUwGlkJGuYITPLWOuEcT%2Frwf59b0q%2FxQVEh6%2BRrXzKkfeU6DgMt7ELG%2Fiyq29dqW7dzfvr6Sajkc1gnGSDiH1guoKabKer6KxcoFXavWpkHvLXx9ZuFEfZyWHYP0p2tudOuRTkr%2Buny1MiJSadzAVyV6%2F3QYG6TbhmJq1y2ubnboGChmO8peQMWa5Y%2FcwlrkSVERdCuK5OSueXFq9yoQT7eDHat85DfEpEFU%2BQs9jg%2FS7p5ZqI%2BcwaPv1C3gYfZoDXqYHFgUOw%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
66486
VK_AMOUNT
8.7
VK_CURR
EUR
VK_REF
664860
VK_MSG
Order nr. 66486
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-07-06T12:27:25+0300
VK_LANG
EST
VK_ACC
EE171010123456789017
VK_NAME
Veebimajutus
VK_MAC
JcREfNPcHmlUUAKhZzptP55lsa8DFHSFxdCcA6wGOd9NoYHwlB5tKKih8WYKrjn9y+U54IgmvNTgZUwGlkJGuYITPLWOuEcT/rwf59b0q/xQVEh6+RrXzKkfeU6DgMt7ELG/iyq29dqW7dzfvr6Sajkc1gnGSDiH1guoKabKer6KxcoFXavWpkHvLXx9ZuFEfZyWHYP0p2tudOuRTkr+uny1MiJSadzAVyV6/3QYG6TbhmJq1y2ubnboGChmO8peQMWa5Y/cwlrkSVERdCuK5OSueXFq9yoQT7eDHat85DfEpEFU+Qs9jg/S7p5ZqI+cwaPv1C3gYfZoDXqYHFgUOw==
VK_ENCODING
UTF-8

Allkirja kontrolli sisend

Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:

0041012003008009uid100049005664860038.7003EUR006664860015Order nr. 66486061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank0242022-07-06T12:27:25+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
66486
VK_T_NO
10067
VK_AMOUNT
8.7
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
664860
VK_MSG
Order nr. 66486
VK_T_DATETIME
2022-07-06T09:27:31+0000
VK_ENCODING
UTF-8
VK_LANG
EST
VK_MAC
DPTi1dc96A/PJBrkWy1lyEFxM+6mgLY0suSpDYPDosTgj0DxMMewaxGouoR2x7k2aQsjMEyZh4dG3WhbajU2LdchATxNuIOb98FLzas53UjbtDDC2/Yy9bM1iC+9DIo7jPx/I2+Euy4OujHtnui1DEISwuBRVydZ3CgfwaGkznsaA5cVp4hRVnP1Bg53vUQlStPZ7KcJaJ8vqZYpB1MN7VtJjbv9ktufjUqZSHYrgTUTQnH8eGso56cyZCl4Hwn87ojjnG+Krvm1SO8SzBXEoG9HzC2GzfybdzFAeqJZZLzsKwc0dT8XFeK7heYfxTcqypuSe5QPI9nAWccdNplIhA==
VK_AUTO
N

Allkirjastamise sisend

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

0041111003008003LHV009uid10004900566486005100670038.7003EUR020EE171010123456789017012Veebimajutus020EE597700771234567897015Tõõger Leõpäöld006664860015Order nr. 664860242022-07-06T09:27:31+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
Wed, 06 Jul 2022 09:27:31 GMT
location
https://vm-backend.dev.elkdata.ee
set-cookie
XSRF-TOKEN=eyJpdiI6Ii81SVhtTmVPTHorUE5MQ0lZOG5XbWc9PSIsInZhbHVlIjoiN1hjd0RKNnpQWGkrMGhuZUk0MS9PNkw2ZStJK0ZhQmRudkh2T2RuandVUjNaUXhETjliSjQ3L1RNNkZKKzIzV3Ezb1A0NXBRbEZ1bk94Y3I3L3hTSURzNEtTblRJeU1mREN4T28rdE1ycHEzZ3M1UHNTWStxRzJDRVg0NGNIaXUiLCJtYWMiOiIzZmIyOTE3MjYyNDI0MTliNjg0YWZlZjQ2NzcxNGIyOTg5NmVhNjAzOTVjNDY2YWU5YTQ5NDE0MGViZmQ1N2NjIiwidGFnIjoiIn0%3D; expires=Wed, 06-Jul-2022 11:27:31 GMT; Max-Age=7200; path=/; domain=vm-backend.dev.elkdata.ee; secure,vm_backend=eyJpdiI6IkxlbHl0a2xlMi9RZElCNS95QU1JYlE9PSIsInZhbHVlIjoiUFNkYzUzSGJjR3pKMmRDYW4yeHBiRGI4OXc5ZHBMVkl1STNZN3VWZ1BxN3hKTUdnZ3NlU1RPLzVsYlQzZGRPZGg1QjZ2dnE4ZlpRTEpLblNDNG9FMExRMERzdFk2eEYwMlRRbktLRzY4cVZPMWs1emg2aHZ6OWNzTzhkUHhhUWoiLCJtYWMiOiI1ZTc2Y2E2MzQzNzMzMWRmYjIwNjRkYWU4NjY4N2JmZDg2M2ZmYjg5OTAzOWExOWU2MjdkMmIyYjVjNjU1ZDg2IiwidGFnIjoiIn0%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>