Tähelepanu! Maksekorralduse töötlemisel ilmnes olulisi vigu.

Järgnevad vead takistasid maksekorralduse edasist täitmist:

  • Allkirja parameetri VK_MAC valideerimine ebaõnnestus.

Üldandmed

Makselahendus Swedbank
Tehingu tüüp Maksekorraldus
Tehingu aeg Fri Jan 29 2021 15:16:43 GMT+0000 (UTC)
Selgitus My cool payment
Staatus Vigane päring
Valitud keel
Eesti
Teksti kodeering UTF-8
Makse summa 10,00 EUR

Sissetuleva päringu andmed

POST /banklink/swedbank-common


Päringu HTTP päised

Nimi Väärtus
x-forwarded-for
5.53.119.86
host
banks.maximum.thorgate.eu
connection
close
content-length
532
cache-control
max-age=0
upgrade-insecure-requests
1
origin
null
content-type
application/x-www-form-urlencoded
user-agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 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
accept-encoding
gzip, deflate, br
accept-language
en,en-US;q=0.9,ko;q=0.8,uk;q=0.7
x-client-remote-address
5.53.119.86

Päringu sisu

VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100052&VK_STAMP=4&VK_AMOUNT=10&VK_CURR=EUR&VK_REF=42&VK_MSG=My+cool+payment&VK_RETURN=http%3A%2F%2Flocalhost%3A8080%2Fbanks%2Fthorbanks_response%2F&VK_CANCEL=http%3A%2F%2Flocalhost%3A8080%2Fbanks%2Fthorbanks_response%2F&VK_DATETIME=2021-01-29T15%3A16%3A40%2B0000&VK_MAC=v%2FhrNxNrAaecpjnaGWzR2icb%2BCNPP6w8uE6DVxEMTJBQnlYIQCeLFhGymEU%2BqI3ClP4mXT%2F1Mi7lCEXu%2BML1w2kK0Mn18kwvvPaaXmn98TanAMkzq7C%2Bm9WEQST9OLBlNwwj6CQfmxa6GNPftEaka3qIxi0E%2FOTjFmUlGMAaAPc%3D&VK_LANG=EST&VK_ENCODING=UTF-8

POST päringu parameetrid

Nimi Väärtus
VK_SERVICE
1012
VK_VERSION
008
VK_SND_ID
uid100052
VK_STAMP
4
VK_AMOUNT
10
VK_CURR
EUR
VK_REF
42
VK_MSG
My cool payment
VK_RETURN
http://localhost:8080/banks/thorbanks_response/
VK_CANCEL
http://localhost:8080/banks/thorbanks_response/
VK_DATETIME
2021-01-29T15:16:40+0000
VK_MAC
v/hrNxNrAaecpjnaGWzR2icb+CNPP6w8uE6DVxEMTJBQnlYIQCeLFhGymEU+qI3ClP4mXT/1Mi7lCEXu+ML1w2kK0Mn18kwvvPaaXmn98TanAMkzq7C+m9WEQST9OLBlNwwj6CQfmxa6GNPftEaka3qIxi0E/OTjFmUlGMAaAPc=
Allkirja parameetri VK_MAC valideerimine ebaõnnestus.
VK_LANG
EST
VK_ENCODING
UTF-8

Allkirja kontrolli sisend

Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:

0041012003008009uid100052001400210003EUR00242015My cool payment047http://localhost:8080/banks/thorbanks_response/047http://localhost:8080/banks/thorbanks_response/0242021-01-29T15:16:40+0000

pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks