Follow the steps below to set up the CPOS plugin in your Adyen Customer Area and the Cegid Retail Y2 back office. After you have completed the setup steps, test your integration to make sure the plugin works correctly.
After you are done testing, follow the steps to go live with your integration.
Step 1: Download and install the plugin
Download the plugin:
- Contact our Support Team to receive the password for the plugin installation file.
- Only if you have already integrated with the plugin and are downloading to upgrade to a later version:
a. Uninstall older versions of the plugin.
b. Reboot the device that Cegid Retail Y2 is installed on. - Download and unzip the password protected Cegid Retail Y2 CPOS plugin installation file.
Install the plugin:
- Run the
Setup_Retailstars.CAT.ADYEN.MULTI_2.1.*.exe
file. - When prompted to select a setup language, select English and then select OK.
- The installation path defaults to
C:\Program Files (x86)\Retailstars\CPOS
, in the Folder Exists pop-up window, select Yes. - Double-check that the Destination location is set to the correct installation path. You can only change the installation directory of CPOS by uninstalling and reinstalling after installation is complete.
- Select Install.
- When the installation is complete, select Finish.
Check if the plugin is connected to Cegid Retail Y2 correctly:
- In the Cegid Retail Y2 back office, go to Settings > Registers and select your register.
- Select Settings for Peripheral and then select EPT.
-
Check if the following values are set correctly:
- DLL name: Retailstars.CAT.CPOS.ADYEN.MULTI
- Driver name: ADYEN.MULTI
If required, manually set the correct values.
- If you want to process payments with gift cards, set the Identifier to 1.
Step 2: Configure your Adyen account
For this task, you must have the following user role:
- Merchant POS Terminal Management Admin role
Step 3: Get your Adyen payment terminals
The plugin can only communicate with terminals that are injected with Adyen software. To obtain these terminals:
- Create store IDs for the stores where you want to the plugin to accept payments.
- Select the terminal models that suit your business.
- Order test terminals and a test card from your test Customer Area.
- Board your terminals to associate them with a store and make them ready to accept test payments.
Step 4: Set up the plugin in Cegid Retail Y2
To configure the CPOS plugin in the Cegid Retail Y2 back office:
-
In the Cegid Retail Y2 back office, go to Settings > Registers and select your register.
-
Select Settings for Peripheral and select EPT.
-
Select Settings for Peripheral and fill these properties:
-
Save your changes.
Step 5: Configure cash register settings
To configure the settings for your cash register:
- Log in to your Cegid Retail Y2 back office.
- Go to Register settings > Peripherals.
- Under Electronic Payment Terminal, select Authorization request on entry to automatically trigger payment requests for cash register entries. If you want to manually make payment requests, leave this box unchecked.
- Select Authorization while modifying payment, and Allocation of transaction number.
- Save your changes.
- Go to Register settings > Preferences.
- In the list of Authorized methods of payment, select all payment methods you want to use.
Step 6: Set up payment methods
Adyen payment terminals return
paymentMethodVariant
values that need to be translated into values that Cegid Retail Y2 can use. There are two ways to set up payment methods:
- Create a default payment method for Adyen and use a mapping table to map the values to different payment methods.
- Create multiple payment methods for different types of payment methods, or currencies. For example:
- Create a payment method for QR code wallets, and use the mapping table to specify the values for each QR code wallet payment method.
- Create a payment method for the US Dollar currency, and use the mapping table to specify what type of cards can be used to pay with this currency.
To set up payment methods, you have to:
- Create a new payment method, or multiple payment methods for Adyen in Cegid Retail Y2 to trigger the plugin when doing a payment.
- Create a mapping table to link the payment method codes used by the Adyen terminal and the plugin.
Create a new payment method
- Log in to your Cegid Retail Y2 back office.
- Go to Management > Payment methods. This shows the payment methods available for your store.
- Create a new payment method. A pop-up window will appear.
- On the Characteristics tab:
- Choose a Code, for example ADY.
- Choose a Short name, for example Adyen.
- For Category select Bank cards.
- For Direction select Mixed. This allows to offer refunds to your shoppers.
- On the Additions tab:
- Select Card no, Expiry date, Type of card, Control number, Cardholder name, CVV / CV2/ CID, and Transaction no.
- Select Authorisation number.
- Select Send amount to EPT.
- On the Front-Office tab, select the Usable in register checkbox and set Type to Bank card.
- Save your changes.
Create a mapping table
- Go to Register settings > Peripheral settings > EPT.
- Find the Mapping table and select the Edit icon next to it.
- Create a mapping table and name it, for example Adyen.
- On your mapping table, create entries to link the payment methods with the
paymentMethodVariant
values sent by Adyen terminals. - Save your mapping table.
- Activate your mapping by selecting the table you created next to Mapping table.
Step 7: Configure refund settings
You can offer two types of refunds to your shoppers:
- Refund without control: refund any amount to any card presented to the payment terminal. Adyen refers to this kind of refunds as unreferenced refunds.
- Refund with control: refund the partial or full amount connected to an original payment, using the unique identifier of that payment. Adyen refers to this kind of refunds as referenced refunds.
The Payment configuration you set when you set up the plugin in Cegid Retail Y2 specifies the default type of refunds the configured payment method will execute.
To offer referenced refunds, there are additional settings to configure:
- Log in to your Cegid Retail Y2 back office.
- Go to Register settings > Management.
- Select Check returns of merchandises and Checking reimbursement card.
Keep in mind that in some cases, the amount will be refunded by unreferenced refund regardless of your Payment configuration. For example, partial refunds, and refunds for payments completed with multiple payment methods, the refund type will be unreferenced.
For documentation on advanced use cases, refer to the documentation file in the installation folder.
Step 8 (Optional): Configure merchant reference
You can configure a merchant reference to customize the value that shows up in the Adyen Customer Area under Transactions > Payments > Merchant Reference and in settlement details reports.
You need administrator rights to complete this configuration.
To configure a merchant reference:
- Log in to your Cegid Retail Y2 back office.
- Go to Register settings > Peripherals.
- Under Electronic Payment Terminal, set a Transaction number prefix and a Number length.
- Save your changes.
After you configured a merchant reference, your transactions are registered to Cegid Retail Y2 and Adyen according to the values you set. For example, if you set 1234 for the Transaction number prefix and 10 for the Number length, your first transaction will have [SALEID]1234000001
as merchant reference.
Make sure that the Number length you set is higher than the amount of characters you have in the Transaction number prefix. If your prefix is longer than the length, for example, if you set 12345 for the Transaction number prefix, and 4 for the Number length, CPOS uses the date and time instead.
Test and go live
Test your integration
Check if the plugin is communicating correctly with the terminal:
- In the Cegid Retail Y2 back office, go to Settings > Registers and select your register.
- Select Settings for Peripheral and then select EPT.
- On the Management Tab select Device test.
- Verify that the pop-up window shows Test successful. This means that your plugin has been configured correctly.
After you have verified your plugin is configured correctly, perform a test transaction:
- Log in to your Cegid Retail Y2 back office.
- Go to Sales receipts > Enter transaction.
- Choose an item and give it a price.
- Select ADYEN CREDIT CARDS and then select the icon.
- Pay with your Adyen terminal using your Adyen test card.
- In Cegid Retail Y2, check if there is a receipt for the test transaction.
Go live
There are steps you have to complete after testing your integration before you can start accepting real payments:
- Order new payment terminals from the live Customer Area.
- Repeat Step 1: Configure your Adyen account in your live Customer Area.
- Test your integration to make sure the plugin has been configured correctly.
Upgrade the plugin
When a new version of the plugin is released, you can find it in our release notes. When there is a new version, we update our documentation with the new installation file.
To upgrade your plugin, follow the steps the download and install the plugin. You do not need to follow the other steps on this page again.