• France
lyra.com
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Home
Implementation
Embedded form (cards)
REST payment API
REST PCI-DSS payment API
REST SEPA API
Hosted payment
Data collection form
File exchange
Mobile payment
Snippets
Plugins
Marketplace
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Video tutorials
Support

How do I display 500 errors in PrestaShop?

If you do not have access to the error logs of your server, you can display the error on the redirection page by doing the following:

  1. Disable the Instant Payment Notification URL in the Expert Back Office.

    Reminder: to disable the IPN, go to Settings > Notification rules > Right-click on Instant Payment Notification URL at the end of payment > Disable the rule.

  2. Display the errors by activating the DEV mode for your PrestaShop store. To do so, in the defines.inc.php file located in the config folder, replace:

    define('_PS_MODE_DEV_', false);

    with: define('_PS_MODE_DEV_', true);

  3. Make a test payment and click on the return to shop button, your error should appear on the screen.
  4. Once the error appears, do not forget to disable the DEV mode for your PrestaShop store and to re-enable the Instant Payment Notification URL.
Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE

2.8.1-doc-1.8