Term | Definition |
go.idnow.de (go.test.idnow.de) | Interface/Website the user sees, when identifying for a product of a company |
gateway.idnow.de (gateway.test.idnow.de) | Interface for companies to send client data to IDnow (before identification) or to retrieve data from IDnow (after identification) |
api.idnow.de | Interface for companies to test their implementation |
/api/<version>/<companyid>/identifications/<transactionNo>/start
Field | Content |
X-API-KEY | <API Key> |
Content-Type | application/json |
onSubmitForm: function(oEvent){
var sUrl = "https://gateway.test.idnow.de/api/v1/xxxx/identifications/" + this.oUserData.contractID + "/start";
var oUserData = sap.ui.getCore().getModel("data").getData();
var sBirthday = "";
if (oUserData.birthday){
sBirthday = oUserData.birthday.toISOString().split("T")[0];
}
var oData = {
"birthday": sBirthday,
"birthplace": oUserData.birthPlace,
"birthname": oUserData.birthName,
"city": oUserData.city,
"country": oUserData.country,
"custom1": oUserData.contractID,
"custom2": "X-AUTOTEST-HAPPYPATH", // for test only. identification will be successful
"custom3": null,
"custom4": null,
"custom5": null,
"trackingid": null,
"email": oUserData.email,
"firstname": oUserData.firstName,
"gender": oUserData.gender,
"lastname": oUserData.lastName,
"mobilephone": oUserData.mobile,
"nationality": oUserData.nationality,
"preferredLang": "en",
"street": oUserData.street,
"streetnumber": oUserData.houseNumber,
"title": "",//oUserData.title,
"zipcode": oUserData.zipcode,
"questions": null
};
if(oUserData.title === "0001"){
oData.title = "MR";
}else if(oUserData.title === "0002"){
oData.title = "MS";
}
var that = this;
// call IDnow service to get identification id
$.ajax({
url: sUrl,
type: "POST",
async: false,
headers: {
"X-API-KEY": this.API_KEY,
"Content-Type": "application/json"
},
data: JSON.stringify(oData)
}).done(function(data){
$.sap.log.info("Identification is created");
var oModel = that.getView().getModel("rst");
// set the identification ID
oModel.setProperty("/identificationID", data);
// prepare the output of identification
var sHtml = "<h1>" + data.id + "</h1>";
oModel.setProperty("/HTML", sHtml);
// navigate to the identification page
that.getRouter().navTo("identification", {
ID: data.id
});
}).fail(function(xhr, textStatus, errorThrown){
$.sap.log.error("Error during the identification creation");
});
}
https://go.test.idnow.de/<companyid>/identifications/<transactionNo>;
https://go.test.idnow.de/<companyid>/identifications/<transactionNo>/start
onStartIdentification: function(oEvent) {
// build up the iframe in the panel
var oUserModel = sap.ui.getCore().getModel("data");
var oUserData = oUserModel.getData();
/**
* embedding iframe of identification doesn't work now
* am waiting for the technical support from IDnow
* this will be uncommented after it is solved
*/
// build up the url of identification process
var sUrl = "https://go.test.idnow.de/xxxx/identifications/" + oUserData.contractID + "/identification/start";
window.open(sUrl, "_blank", "width=600,height=800,left=50,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no");
},
Testing Method | User | Agent |
Automated | Company test implementation | IDnow Test-robot |
Manual | Human | IDnow Test-robot |
With Agent | Human | Human |
Prefix | Description |
X-MANUALTEST | Performs a test where you can use the web or app, but the agent is automated |
X-AUTOTEST | Both the user and the agent are automated. No user interaction required |
https://api.test.idnow.de/api/v1/<companyid>/identifications/<transactionNo>/start
testStartIdentification: function(oEvent) {
// get generated identification ID
var oUserData = sap.ui.getCore().getModel("data").getData();
var sId = oUserData.contractID;
var that = this;
// Start the identification for created identification
$.ajax({
type: "POST",
url: "https://api.test.idnow.de/api/v1/xxxx/identifications/" + sId + "/start",
headers: {
"X-API-KEY": this.API_KEY,
"Content-Type": "application/json"
},
data: "{}"
}).done(function(data) {
$.sap.log.info("Identification is started");
MessageToast.show("Identification is started");
that.getView().getModel("result").setProperty("/", data);
// set button property
that.getView().getModel("btnProperty").setProperty("/startVideoChat", true);
}).fail(function(xhr, textStatus, errorThrown) {
$.sap.log.error("Identification cannot be started");
MessageToast.show("Identification cannot be started");
});
},
https://api.test.idnow.de/api/v1/<companyid>/identifications/<transactionNo>/requestVideoChat
testVideoChat: function(oEvent) {
var sId = sap.ui.getCore().getModel("data").getData().contractID;
var that = this;
// start the video request
$.ajax({
type: "post",
url: "https://api.test.idnow.de/api/v1/xxxx/identifications/" + sId + "/requestVideoChat",
headers: {
"Content-Type": "application/json"
},
data: "{}"
}).done(function(data) {
MessageToast.show("Identification is completed");
// update the status
var oModel = that.getView().getModel("result");
oModel.setProperty("/status", "SUCCESS");
// update the button property
that.getView().getModel("btnProperty").setProperty("/createBP", "true");
}).fail(function(xhr, textStatus, errorThrown) {
$.sap.log.error("Identification has error during video chat process");
MessageToast.show("Identification has error during video chat process");
});
},
https://gateway.test.idnow.de/api/v1/<companyid>/login
https://gateway.test.idnow.de/api/v1/<companyid>/identifications
https://gateway.test.idnow.de/api/v1/<companyid>/identifications/<ident.zip>;
https://gateway.test.idnow.de/api/v1/<companyid>/identifications/<transactionNo>;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
10 | |
10 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 |