We followed the accept payment case to add Nuvei to our first simple scenario.
In the web API, https://docs.nuvei.com/api/main/indexMain_v1_0.html?java#openOrder, sessionToken is allowed to set null, and open order will respond a session token.
But in this Java SDK, when I do not set sessionToken, the requester.execute(OpenOrderRequest) will fail the request validation. I have to call requester.execute(GetSessionToken) to get a valid session token firstly.
We followed the
accept paymentcase to add Nuvei to our first simple scenario.In the web API, https://docs.nuvei.com/api/main/indexMain_v1_0.html?java#openOrder,
sessionTokenis allowed to set null, and open order will respond a session token.But in this Java SDK, when I do not set
sessionToken, therequester.execute(OpenOrderRequest)will fail the request validation. I have to callrequester.execute(GetSessionToken)to get a valid session token firstly.