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
|
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 | ![]() | Instance of a Ped object. Represents the PED that is processing the tender. The |
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. |