Register the application with Adyen

Class

Name Description
MerchantPos Extends AdyenPos. Class used to implement all functions that do not involve the PED. Implement the MerchantPos object yourself.

Method

Name Description
registerPos

Authenticates and authorises a POS application with the Adyen payments platform. Do this before processing transactions using a POS.

This method returns an immediate response of type LibraryResult. Check if this result is "OK", before continuing the operation. If the LibraryResult value is not "OK", the system will not return the related callback with the asynchronous result. See here for more on extracting data from an event or callback.

registerPosRequest Parameter

Name Description
registerPosRequest Signature of the registerPos method. One parameter object used to hold all the attributes. Use a builder pattern to create a registerPosRequest object and use it as parameter for  MerchantPos.registerPos()

registerPosRequest Attributes

Name

Type Required

Description

merchantAccountCode

String (tick) The merchant account name
user String (tick) Web service user account. In the Adyen customer area, go to Settings > Users to create a new web service user.
password String (tick) Password for the web service user account. In the Adyen customer area, go to Settings > Users to add a new password.
posId String (tick) The unique POS ID.

Callback

Name

Description
registerPosCallback Returns the result of registering the POS.

Callback Response Attribute

Name

Description
PosInfo

Contains the PosInfo object, which includes the PSP configuration as maintained in the POSTFM.