Register the application with Adyen

After you initialize the library, you must register the cash register application with Adyen.

POS Object

Name Description
POS POS object that represents the Cash Register Application.

Method

Name Description

RegisterApp

Registers the cash register application with Adyen. Registration requires a valid merchant account and web service credentials to access the Adyen payments platform. A unique cash register identifier is required.

Parameters

Name Type Required Description

merchantAccount

String (tick)

The merchant account used for registration.

wsUser

String (tick)

Web service user account. In the Adyen Customer Area, go to Settings > Users to create a new web service user. For more information, see How to get the web service (WS) user password.

password

String (tick) Password for the web service user account. In the Adyen Customer Area, go to Settings > Users to add a new password. For more information, see How to get the web service (WS) user password .

appID

String (tick) Unique ID of the cash register application.

Register the application once, after the cash register starts.

Callback

Name Description

RegisterAppCB

The Register App Callback returns the result of registration, as well as any errors.

Parameters

Name Type Description

appObj

AppInfo

Object that holds POS information. The Adyen payments platform uses this information for application registration.

pedResult

int

Result denoting whether an error occurred on the PED. A value of 0 means no error occurred.

pspResult

int

Result denoting whether an error occurred on the PSP. A value of 0 means no error occurred.
libResult int Result denoting whether an error occurred in the Library. A value of 0 means no error occurred.
errorMessage String Error message describing what went wrong.