No momento, esta página não está disponível em inglês
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 plataforma de pagamentos da Adyen. 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
The merchant account name
user
String
The username of your API credential. In the Adyen Customer Area, go to Developers > API credentials to create a new credential.
password
String
Basic authentication password for your API credential. In the Adyen Customer Area, go to Developers > API credentials to generate a new password.
posId
String
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 Customer Area.