Point-of-sale icon

Register the PED with Adyen using 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

NameDescription

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.

 

 

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

NameDescription

registerPed

Method used to authenticate and authorize 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

TypeRequired

Description

ped

Ped

-white_check_mark-

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.