Initialize the library

Before the library can be used, you must initialize it using the InitLibrary method.

POS Object

Name

Description

POS

POS object representing the Cash Register Application.

Method

Name Description
InitLibrary

Initializes the library and sets the environment, merchant name, cash register name, integrator name, and library flags.

Parameters

Name Type Required Description

environment

long (tick)

Environment flag. Set as 1 for the Test environment and 2 for the Live environment.

merchantName

String (tick)

The merchant account used for the cash register application registration.

appName

String (tick)

The cash register name.

Format this value like so: Cash register company and product /  Cash register product version / Adyen integration name / Adyen integration version. For example,  Acme Corp POS / 1.2.1 / Acme Adyen connector / 0.1 

flags

long (error)

A set of library flags.

integratorName

String (error)

The name of the integrator company for logging.

This value should be the name of the company deploying cash register or Point-of-Sale solution, for example,  Retail Consultancy Corp.

Check the intCallResult value immediately to indicate if the C library received the request without error.

Callback 

Name

Description
InitLibraryCB Returns the result of the library initialization.