The key steps to integrate with the library are:
-
Initialize the library - Create an
initLibraryRequestand use it as parameter for your instance ofMerchantPos.initLibrary(). You can also set the Logging level with the parameterLogConfig. -
Register the application with the Adyen payments platform - Create a
registerPosRequestobject, use it as parameter forMerchantPos.registerPos() -
Registering the PED - Instantiate a
MerchantPedobject that uses theAdyenPedconstructor with or without thestoreIdparameter. -
Process a basic transaction - Create a tender, pass tender options and handle callbacks.
-
Cancel or refund a transaction - Cancel or refund a transaction on a PED, with a PSP or Tender reference or partially refund a transaction.