Payment ServicesAdyen Checkout

Adyen Checkout

Sana Commerce 9.3
Your connector

Set up Adyen Checkout Account

 NOTE

When the Adyen Checkout payment provider is installed, it should be configured in the Adyen Customer Area and in Sana Admin. To configure the Adyen payment provider and payment methods you should have the Adyen test/live account with all the necessary data.

Request the Adyen test account.

Following your test account request, you will receive login credentials. Use these credentials to log in to the Adyen Customer Area. You can also apply for a live account in the Customer Area.

Activate company and merchant accounts

Make sure that your company and merchant accounts are activated.

In the Adyen Customer Area click: Account > Users. Click on the username link. You can find the company and merchant accounts at the bottom of the "Edit Web Service User" page.

Set up standard notification settings

In the Adyen Customer Area click: Account > Webhooks. Find Standard Notification and click Add. Configure standard notification settings as described in the table below. Use the default values for all other standard notification settings.

Settings Values
URL Enter the URL in the following format: {domain name}/confirm/payment/Adyen

Replace {domain name} with your web store domain name.
Example: https://sanastore.com/confirm/payment/Adyen
SSL Version Select the SSL version. It should match the one used to secure your Sana web store.
Accept expired Expired certificates are insecure. These options should only be used in case of compatibility issues or renewal timing issues.
Accept self-signed Self-signed certificates are insecure and should only be used for testing purposes.
Accept untrusted Root Certificates Certificates signed by untrusted Certificate Authorities are insecure and should only be used for testing purposes. When this option is unchecked, it also assumes the SSL certificate has to be valid and cannot be self-signed.
Active Select the checkbox to activate notification.
Service Version Select "1".
Method  Select "HTTP POST".
Populate SOAP Action header Some SOAP servers, notably .NET require a non-blank SOAP Action header.
Authentication Enter username and password for the HTTP authentication. You will also need to enter these credentials in the settings of the Adyen Checkout add-on in Sana Admin.

    If you don't set up authentication settings, HTTP authentication will not be used for notifications. It is recommended to use alphanumeric characters of the English language in the HTTP authentication username and password. For example, the character "ä" which is available in the German language is not supported. Please, contact Adyen support for more information.
Merchant Accounts Add your merchant account.

Notifications troubleshooting

In some cases, Sana may not receive notifications from Adyen. This can occur because of the following reasons:

  • Security issues of the notification. For example, HMAC was changed and the one in Sana Admin does not match the HMAC key in Adyen.
  • Adyen cannot update the payment status of the order in Sana for some reason, for example because of the connection issues or the Web server is down.

You can see your notification instances set up for Sana in the Adyen Customer Area. All notifications are queued. The notifications which Sana does not accept will be highlighted with red color.

If Sana does not accept the notification sent from Adyen due to the reasons listed above, then Adyen will retry sending the notification until it is accepted. Retry attempts happen regularly for up to 7 days.

In case the HMAC key was changed and the one in Sana does not match the HMAC key in Adyen, then Sana will not accept the notifications containing the old HMAC key. Therefore, these notifications need to be discarded in the queue in Adyen. Adyen will resend every notification one by one over a course of 7 days.

If you need to fix the notification immediately, you can manually accept it. Click the button Troubleshoot on the necessary notification and then click Manually accept notification. Adyen will not send this notification to Sana again and the payment status will not be updated based on this notification.

It is highly recommended not to accept notifications manually without verifying the reasons of failure. You can also use the error log to detect the issues.

Payment ServicesAdyen Checkout