Closed SkinyMonkey closed 6 years ago
I've checked both the code and the documentation and the implementation, and there is an inconsistency. The documentation mentions clientSessionId
, but the implementation uses clientSessionID
. The latter is correctly documented on https://epayments.developer-ingenico.com/documentation/sdk/mobile/javascript/ but incorrectly documented on the API references. The latter will need to be updated.
Thanks man ... I would have never noticed this 1 char difference ...
@rikvanthof Can we use connect-sdk-client-js in React-native ?
As I said in https://github.com/Ingenico-ePayments/connect-sdk-client-js/issues/9, this is not possible at the moment.
Using this code, when i use the createPayload given in the requirejs example to test :
https://github.com/Ingenico-ePayments/connect-sdk-client-js-example/blob/master/minimal-requirejs/js/create-payload.js
I can observe that the Authorization header of the request sent by
getIINdetails
has this value:Authorization: GCS v1Client:undefined
I checked and rechecked : the clientSessionId is set properly in sessionDetails.
The code is mostly based on what i found in the webpack example by the way.
Could you please help me with this?