Jump to content

Blank Validation Page after payment


stefslam

Recommended Posts

We have an issue that happens on all orders where after the payment is taken the customer sees a blank validation page. The money is taken from the customers account but sometimes no order is registered on the Prestashop back end. 

We are using Prestashop 1.6.1.24 with PireosPay payment module installed. We have enabled also the COD method which is working fine.

If anyone has any advice on what this issue could be or any troubleshooting steps then that would be appreciated. 

Thanks

Edited by stefslam (see edit history)
Link to comment
Share on other sites

First, i did it and i had this errors
 

Quote

Notice: Undefined index: key in /var/www/vhosts/***.gr/httpdocs/config/alias.php on line 75

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /var/www/vhosts/***.gr/httpdocs/classes/Cookie.php on line 80

Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /var/www/vhosts/***.gr/httpdocs/classes/Cookie.php on line 80

Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /var/www/vhosts/***.gr/httpdocs/classes/Rijndael.php on line 92

Notice: Undefined offset: 1 in /var/www/vhosts/***.gr/httpdocs/modules/pireospay/controllers/front/validation.php on line 170

Fatal error: Uncaught ImagickException: WriteBlob Failed `/var/www/vhosts/***.gr/httpdocs/cache/tcpdf/mska_3f13701d0a7ad1f20532ba628a56c083' @ error/png.c/MagickPNGErrorHandler/1642 in /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php:8619 Stack trace: #0 /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php(8619): Imagick->writeimage('/var/www/vhosts...') #1 /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php(8079): TCPDF->ImagePngAlpha('/var/www/vhosts...', 10.881944444444, -19.60625, 282, 79, 94.118127777778, 26.366425866824, 'PNG', '', 'B', false, 300, '', '3f13701d0a7ad1f...') #2 /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php(23819): TCPDF->Image('/var/www/vhosts...', 10.881944444444, -19.60625, 94.118127777778, 26.366425866824, 'png', '', 'B', false, 300, '', false, false, 0, false, false, true) #3 /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php(23215): TCPDF->openHTMLTagHandler(Array, 2, true) #4 /var/www/vhosts/***.gr/httpdocs in /var/www/vhosts/***.gr/httpdocs/tools/tcpdf/tcpdf.php on line 8619

then i disabled the order invoices and and now i get a new error message (the following)

Quote


Notice: Undefined index: key in /var/www/vhosts/***.gr/httpdocs/config/alias.php on line 75

Notice: Undefined offset: 1 in /var/www/vhosts/***.gr/httpdocs/modules/pireospay/controllers/front/validation.php on line 170

[PrestaShopException]

The order address country is not active.
at line 392 in file classes/PaymentModule.php

387. $this->context->country = $context_country; 388. } 389. 390. if (!$this->context->country->active) { 391. PrestaShopLogger::addLog('PaymentModule::validateOrder - Country is not active', 3, null, 'Cart', (int)$id_cart, true); 392. throw new PrestaShopException('The order address country is not active.'); 393. } 394. 395. if (self::DEBUG_MODE) { 396. PrestaShopLogger::addLog('PaymentModule::validateOrder - Payment is about to be added', 1, null, 'Cart', (int)$id_cart, true); 397. }

PaymentModuleCore->validateOrder - [line 208 - modules/pireospay/controllers/front/validation.php] - [9 Arguments]

PireosPayValidationModuleFrontController->postProcess - [line 179 - classes/controller/Controller.php]

ControllerCore->run - [line 370 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 28 - index.php]

 

Edited by stefslam (see edit history)
Link to comment
Share on other sites

7 hours ago, stefslam said:

First, i did it and i had this errors
 

then i disabled the order invoices and and now i get a new error message (the following)

 

Hi,

I analysed the error messages and below are few issues that I noticed.

Issue - 1 Missing or incorrect encryption keys, and this could be causing the payment validation and order registration problems. Make sure that you have configured the encryption keys correctly in your Prestashop configuration. Look for any settings related to _RIJNDAEL_KEY_ and _RIJNDAEL_IV_ and check they are properly defined with the correct values.

Issue - 2 Related to an Imagick exception for generation of PDFs using TCPDF. It's possible that there is a problem with the image generation or the configuration of Imagick on your server. Verify that the Imagick extension is installed and properly configured on your server. If it is installed, check the server error logs for any additional information about this Imagick error.

Issue - 3 : Problem with order address country. The error message states that the order address country is not active. Check your Prestashop settings for countries and make sure the country associated with the order is indeed active and enabled in your shop. Also, verify if there are any specific configurations related to countries in the PireosPay payment module that might be causing this issue.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...