Adyen / adyen-node-api-library

Adyen API Library for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimeStamp response

khaledbenbouali opened this issue · comments

Hi Team ,
we try to change timestamp to know the limits , but we don't understand the response .
Example : now time is 16/11/2022 11:04
if u try in payment use 15/11/2022 08:00
here the response in screenshot :
09 11 2022_10 21 30_REC

with message : "not allowed value -89993 reason a not in allowed window"

Hi @khaledbenbouali,

Thanks for reaching out to us. The timestamp has to be within a certain window of the time when sending the request. That means that you have to send the timestamp of actually making the request the request. Since there is always some latency, there is a small time window in which the server validates the sent timestamp. After just quickly testing this it seems the window is perhaps a couple minutes but not much more. Hope this clarifies it for you!

Best, Jilling
Adyen