Terminal-2 icon

init_library_request with proxy

Contains the following data elements:

NameTypeDescription

flags

Unsigned Integer

A set of library flags.

library_log

void function

The C library uses this function to write log lines.

backend_use_proxy 

The backend_use_proxy parameter is used to pass the proxy for communication to the Adyen payments platform.

char

Used to pass the proxy for communication to the Adyen payments platform.

environment

ADYEnvironment

Defines the environment, where the system executes transactions, using ENVIRONMENT_TYPE values: ENVIRONMENT_LIVE or ENVIRONMENT_TEST.

pos_name

char

The symbolic POS name.

app_name

char

The Integrator/Merchant App name.

app_id

char

The Integrator/Merchant App ID.

integrator_name

char

The integrator name 

The following data elements are used in cases where the library throws an exception which is not related to a PED, otherwise the data elements in ped_device_info will be used

NameTypeRequiredDescription

throw_exception

void function

-white_check_mark-

 Function called when an exception is thrown.

echo_struct

state pointer

-x-

A POS-defined struct that is echoed back in the callback. Use this to share a POS data struct between the call to the library and the callback from the library. You can add any pointer to echo_struct, and this will be returned on its specific callback.

logArea

Unsigned Integer

-x-

Defines the parts of the logs you can see. As default set this to 0xffff.