×
NB: Pangalingi testimise teenus on nüüdsest uuel aadressil - banks.pastel.thorgate.eu . Palun uuendage oma konfiguratsioone kuna
vana domeen eemaldatakse 2021 aasta lõpus.
Üldandmed
Makselahendus
LHV
Tehingu tüüp
Maksekorraldus
Tehingu aeg
Wed Jul 06 2022 09:57:31 GMT+0000 (UTC)
Selgitus
Order nr. 66490
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
798
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
x-client-remote-address
84.50.246.246
Päringu sisu
VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100049&VK_STAMP=66490&VK_AMOUNT=8.7&VK_CURR=EUR&VK_REF=664909&VK_MSG=Order+nr.+66490&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%3A57%3A22%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=opUZFNNuJV2DAFOaEpMKCRDA8xRHs5DIvaPKRxeRSB9qrJWE7%2BwDzj9ARPPZfXRirkejQLIwynppj88V6QTJRoEGa43tFuX4SLHMIfYRIIoexJVr266roRtH6x%2FbLOzPQiHV9qDhPOPaoDmmwqlfHdYba8jC481OprsQFm%2FHFVpTEyPGPhtr%2FhCZj6uC9stBPBPorjW8y2g00%2BGbVAPIGJyvfjRXYBmtQTXhTRPN1uvHgz6VNRD%2BRqp%2F1I78lY%2BCK27eoRa3Iv87LIG67FSxj12QcfHccZitmsoPWQp1%2BfeepoFD4PU5yY8KpkfoI6CkOESBaCXgq0EF%2Fk66mwa4xQ%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
66490
VK_AMOUNT
8.7
VK_CURR
EUR
VK_REF
664909
VK_MSG
Order nr. 66490
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:57:22+0300
VK_LANG
EST
VK_ACC
EE171010123456789017
VK_NAME
Veebimajutus
VK_MAC
opUZFNNuJV2DAFOaEpMKCRDA8xRHs5DIvaPKRxeRSB9qrJWE7+wDzj9ARPPZfXRirkejQLIwynppj88V6QTJRoEGa43tFuX4SLHMIfYRIIoexJVr266roRtH6x/bLOzPQiHV9qDhPOPaoDmmwqlfHdYba8jC481OprsQFm/HFVpTEyPGPhtr/hCZj6uC9stBPBPorjW8y2g00+GbVAPIGJyvfjRXYBmtQTXhTRPN1uvHgz6VNRD+Rqp/1I78lY+CK27eoRa3Iv87LIG67FSxj12QcfHccZitmsoPWQp1+feepoFD4PU5yY8KpkfoI6CkOESBaCXgq0EF/k66mwa4xQ==
VK_ENCODING
UTF-8
Allkirja kontrolli sisend
Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:
0041012003008009uid100049005664900038.7003EUR006664909015Order nr. 66490061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank0242022-07-06T12:57:22+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
66490
VK_T_NO
10068
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
664909
VK_MSG
Order nr. 66490
VK_T_DATETIME
2022-07-06T09:57:32+0000
VK_ENCODING
UTF-8
VK_LANG
EST
VK_MAC
xL1ZCz7QFVZghMpBPSQkbi1bJGwnTQF6JkjqCODq/RxVF3/qkgrSes1FF2VQrja9kbP2NhijN0/ElcD//0L/NRNK9J7ML1MqbpX5tGszCIiv5CuzWObMK2vvcmAR3yUILa/EuZLe8B2D/klJok8flVLQhqDjjce3rWO6KJAp3gqZSTZNrJSwaLDPK8DWY85gQhAIZqpSgVxy4o/07SkceOAWIQAuqFUj8Bc29WGXL7+WMm1V/SrbRvRyx8oCntVmVjkLYZM7Y4bqrPDPj/udzn7r5ENyuUl9xSRIKURjytFkTwWT4kb0JY/9OsBziJyaSCYT0mxW8yS+I6jyLqscLA==
VK_AUTO
N
Allkirjastamise sisend
Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:
0041111003008003LHV009uid10004900566490005100680038.7003EUR020EE171010123456789017012Veebimajutus020EE597700771234567897015Tõõger Leõpäöld006664909015Order nr. 664900242022-07-06T09:57:32+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:57:32 GMT
location
https://vm-backend.dev.elkdata.ee
set-cookie
XSRF-TOKEN=eyJpdiI6InFyZEFhOG5pSUpNbjZxaXZHaHdyY2c9PSIsInZhbHVlIjoiY3F0eDJVTzRtdy9MZFYzNHk4UUN3Y2JjemtwM0ZDSDllM21oRzdFRGs5ZlVkTEpXUWtjZTZLTmhUa2pvQzdHWXhSemRLTzU3bUxrelA4OXNnRGNwb2I5b2t0a0tLTHJMRDlCNFBEQS9iMDRSejV2VWVKeWdTemZJcUNxcm1uNm8iLCJtYWMiOiI0ZjU1NzNkNDIyODFkZWMyNjkzZWUwMjMwY2I0ZmQ1ZjZiMjc0MGU0ZDFmZWJmZWJjNDNhNTJkNjViZWJmODZlIiwidGFnIjoiIn0%3D; expires=Wed, 06-Jul-2022 11:57:32 GMT; Max-Age=7200; path=/; domain=vm-backend.dev.elkdata.ee; secure,vm_backend=eyJpdiI6InlKc3lKb2IrTVRVQlVvc2M0QUtvb0E9PSIsInZhbHVlIjoiNTdMQ1VQUzI3SW5udG5sQVM2bWltRUh4Q3o2OG9vOTVZRU41WHo1cXUvQktZUW05bHp2SDVCSXdaS1hsTjQ3bW9DbzdLQjl1YVNocUQ5NVBEWmZDMjZPTC94VE0vN1ZubEdzcmZWbkNKWE13MzFsZHNvM1JETmhjZGFYZVljZzgiLCJtYWMiOiIxMDMzMGRlYWZjOTY4NjYwNzY4NTdjMjUyNzgyMjY2MjBiNTBlNzY2ZDMzNDJiMzU5MGFlNGFkMDBhOGYxMDc5IiwidGFnIjoiIn0%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>