-
Notifications
You must be signed in to change notification settings - Fork 16
Troubleshooting
If you are experiencing a problem with your PrestaShop integration, there are several ways how you can troubleshoot the issue yourself. Before you contact our Support Team:
- Make sure that you set up the plugin correctly .
- Check our FAQ.
- Follow the steps below.
The plugin makes use of the PrestaShop cache system to speed up some of the backend processes.
When troubleshooting, clear your cache storage and full page cache system. Not clearing the cache can result in payment methods not correctly showing up, or not working as expected.
The Adyen Payment plugin is often used in combination with other official PrestaShop Addons Marketplace plugins that can impact your checkout flow or backend processes. Commonly used plugins are for example One Step Checkout or other modules that interfere with our checkout flow and inject code changes in the PrestaShop database.
The logs can provide insights into what request was sent from the plugin. When you receive a generic error, the error is further specified here.
Errors are logged by PrestaShop in the following files:
File | Description |
---|---|
var/logs/adyen/error.log | Contains an entry for every error thrown by the module itself and the PHP library. |
Information about the plugin activity is logged in the following files:
File | Description |
---|---|
var/logs/adyen/info.log | Contains all JSON requests and responses to the Adyen platform from the plugin, including /paymentMethods and /payments call. The logs can provide insights into what request was sent from the plugin. When you receive a generic error, the error is further specified here. |
var/logs/adyen/notification.log | Notification webhooks received from Adyen. If the order status is not getting updated in the plugin, you can first check whether you received the notification that is updating the orders. |
var/logs/adyen/warning.log | Provides an entry every time a warning regarding the API key on test or live not being set is thrown. |
var/logs/adyen/debug.log | Provides entries of information that demonstrate how a particular package is working and whether some errors regarding the hooks and methods used are being thrown. |
Use the PrestaShop logs to troubleshoot common errors including:
- Order status not updating
- Errors when placing orders
- Payment methods not showing up
If the order status in PrestaShop is not being updated, this is usually because one of the following reasons:
- Your webhook is not configured correctly in your Customer Area
- The PrestaShop platform is not receiving, accepting, or storing the notifications in the database.
- PrestaShop is not processing the notifications, or is not updating the order status.
To debug, use the Adyen Customer Area, or the notification logs.
In the Adyen Customer Area, you can verify if there are any issues with the endpoint:
- Log in to your Adyen Customer Area
- Go to Developers > Webhooks and select the edit webhook icon .
- Under Test Notifications , select Test Configuration .
If you receive an error, some of the possible reasons are:
- The notification username and password within the required settings do not match the authentication credentials within Adyen. Mixing the live and test credentials usually causes this.
- IP address validation or server issues (often results to a 302 or 401 error).
In the logs, you can check if PrestaShop is receiving notifications and if the cron job is running.
To check if you are receiving notifications, look into the var/logs/adyen/notification.log.
In your PrestaShop admin panel, you can check if the notifications are queued.
- Go to System > Adyen > Notifications overview.
- If the notifications are queued and the Processing and Done columns are set to No, contact your technical team to restart the cron job.
- To pick up the queued notifications again, your technical team can also update the
adyen_notification
table to set the Processing and Done columns from 1 to 0. For notifications older than 5 days, you also need to update the creation date to less than 5 days.
A common error thrown when placing an order is:
"Error with payment method, please select a different payment method"
This error can be thrown for several reasons. For more information on what caused the error, check the var/logs/adyen/info.log
for the /payments
API response JSON.
Some common error scenarios are described below:
{
"status":500,
"errorCode":"905",
"message":"Payment details are not supported",
"errorType":"configuration"
}
If you find the above error, make sure that the payment method is set up correctly. If the issue persists, contact our Support Team.
If a payment method is not showing up in your checkout, check the following:
- Does this payment method require any additional set up ?
- Does the /paymentMethods API request include the correct country and currency combination for the payment method? Use the
var/logs/adyen/info.log
file to look this up. - Is the payment method included in the
/paymentMethods
API response? Use thevar/logs/adyen/info.log
file to look this up. - Is the
displayPaymentTop
hook present? This call is enabled by default and is initiated from thethemes/classic/templates/checkout/_partials/steps/payment.tpl
template file.
If you applied any customizations to the plugin, the error might be related to the customization. To make sure that your error is not a customization issue, check if it persists on a default version of the plugin. If you cannot reproduce the issue on a default version, it is most likely a customization issue.
Check if your current error is a known issue in the plugin, and resolved in a later version. You can find the known issues and fixes either in our technical release notes on GitHub.
To find out which version of the plugin you are using:
- Log in to your Adyen Customer Area.
- Go to Transactions > Payments , and select the PSP reference of any payment.
- This opens the Payment Details page.
Go to the Application Info section.
The plugin version is shown under Payment Device Version .
Alternatively, you can look into the
var/logs/adyen/info.log
to see themerchantApplication.version
sent in every API request.
Go to the open issues in our GitHub, and see if there is an open issue related to your error. If that’s the case, you can leave a comment there to have direct contact with our dev teams.
If the problem still persists after you've followed the above steps, you can either:
- Create a GitHub issue if you found a bug.
- Contact our Support Team, providing your plugin version and other relevant information, for example screenshots or logs.
-
Installation and setup
- Step 1: Install the plugin
- Step 2: Generate an API key
- Step 3: Generate a client key
- Step 4: Set up notifications
- Step 5: Set up Capture Delay
- Step 6: Set up the plugin in PrestaShop back office
- Step 7: Set up payment methods
- Step 8: Set up a cron job
- Step 9 (optional): Validating the plugin
- Step 10: Make test payments
- Updating from a version earlier than 2.1.0
- Reinstalling the plugin
- Logs
- Go-live checklist
- Upgrade the Plugin
- Troubleshooting