Adyen

FinDock supports Adyen as a payment processor.

Multi-merchantMulti-currency
yesyes
Payment MethodOne-timeRecurringRefunds
Bancontactyesnoyes
Credit Cardyesyesyes
Idealyesnoyes
Sofortyesnoyes

Pre-requisites

  • FinDock installed and configured
  • A source connector installed and configured
note

If you plan on using the Sofort payment method in certain countries, you need to contact the Adyen Support Team. For further information, please see the Adyen documentation.

Install and activate Adyen for FinDock

Follow the standard procedure for installing and activating the Adyen payment extension.

Set up an Adyen account

Configuring the Adyen for FinDock payment extension requires an Adyen account. You need to configure the account and use setting values from the account for the FinDock settings in Salesforce.

To set up an Adyen account:

  1. Sign up for an account with Adyen at https://www.adyen.com/signup.
  2. After successful registration, log in at https://ca-test.adyen.com/.
  3. In the Adyen Backoffice, go to Account > API credentials.
  4. Click the username with type 'Web Service.'
    API credentials Web Service user
  5. Click Generate New API Key.
    Generate API key
  6. Copy and save the generated API key. This key is needed to communicate with Adyen over the FinDock Payment API.
  7. Confirm that you have saved the API key.
    Confirm saved API key
  8. Click on your company name in the top right of the Adyen Backoffice.
  9. Copy and save the merchant account name for online payments.
    Adyen merchant account name

Configure Adyen for FinDock

To configure the Adyen payment extension:

  1. Launch the FinDock app and click Setup.
  2. Click the Adyen for FinDock tile under Payment Extensions.
  3. Enter the generated API Key value Merchant Account name that you saved from the procedure above.
    Adyen settings in FinDock
  4. Activate Is Test if you are in a test phase and don’t want to process real payments.
  5. Repeat the above steps for each account if you are setting up Adyen for multi-merchant use. Activate Is Default for the account (Target) that is your default account with Adyen.

Configure notifications in Adyen

To configure notifications in Adyen:

  1. In the Adyen for FinDock settings, copy the Notification URL. Adyen notification URL
  2. Go back to Adyen Backoffice and select your merchant account from the top right corner.
  3. Navigate to Account > Server Communication.
  4. Click Add on the Standard Notification row.
    Adyen server communication add standard
  5. Fill in the settings as shown in the screenshot here:
    Adyen standard notification configuration
  6. Open Additional Settings' and toggle on the following:
    • Include Bank Account Details
    • Include Card Holder
    • Include card info for recurring contract notifications
    • Include Card Bin
    • Include Shopper Details
    • Include Shopper Interaction
  7. Click Save Integration.

Now you are ready to run some payment tests.

Payment API messages

The following are example messages for single and recurrent payments using the Payment API.

note

When initiating payments through the API, additional processor-specific parameters can and/or need to be included for a particular payment method. You can check these parameters by calling the /PaymentMethods or /PaymentProcessors endpoints. For more information, see our API Reference Guide.

One-time payment

{
"SuccessURL": "https://www.example.com/success",
"FailureURL": "https://www.example.com/error",
"Payer": {
"Contact": {
"SalesforceFields": {
"FirstName": "Eric",
"LastName": "Johnson",
"Email": "eric@johnson.com"
}
}
},
"OneTime": {
"Amount": "30"
},
"PaymentMethod": {
"Name": "CreditCard",
"Processor": "PaymentHub-Adyen"
},
"Settings": {
"SourceConnector": "PaymentHub"
}
}

Recurring payment

{
"SuccessURL": "https://www.example.com/success",
"FailureURL": "https://www.example.com/error",
"Payer": {
"Contact": {
"SalesforceFields": {
"FirstName": "Eric",
"LastName": "Johnson",
"Email": "eric@johnson.com"
}
}
},
"OneTime": {
"Amount": "0.01"
},
"Recurring": {
"Amount": "25",
"Frequency": "Monthly",
"StartDate": "2020-11-01"
},
"PaymentMethod": {
"Name": "CreditCard",
"Processor": "PaymentHub-Adyen"
},
"Settings": {
"SourceConnector": "PaymentHub"
}
}