Register the PED with the Adyen payments platform with a StoreID

Use the setStore method to set a store ID for PED registration. After you have set the store ID, use registerPed to register the PIN entry device (PED) with the Adyen payments platform.

Class

Name Description
MerchantPed

You must inherit the properties and methods of the MerchantPed class from the AdyenPed class. This class used to implement all PED functionality. Implement the MerchantPed object yourself, and use the AdyenPed constructor with the storeId parameter.

public AdyenPed(String address, String pedName, String store) { (..) }

 

Parameter

Name Description
storeID

You can register a terminal using its storeID and the corresponding merchant account. Several “stores” can be configured under one merchant account.


To set a storeID, call the parent constructor using the super() method:

Code example

public MerchantPed(String address, String pedName, String storeId){
	super(address, pedName, storeId);
}

Method

Name Description
registerPed

Method used to authenticate and authorise the PED 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.

Parameter

Name

Type Required

Description

ped

Ped (tick)

Instance of a Ped object. Represents the PED that is processing the tender.

 The AdyenPed class is extended with store data type that can be configured before registering a terminal. This will register the PED using the storeID.

Callback

Name

Description
 registerPedCallback Returns the result of registering the PED.

Callback Response Attribute

Name

Description
pedInfo

Contains the PED info, the result of registering the PED.