Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Fix Version/s: None
-
Component/s: None
-
Security Level: All-users
-
Labels:
-
Similar issues:
PSCFI-2004DIBS payment module - input values are not encoded with html entities() function.PSCFI-1782Dibs Payment module order confirmation
PSCFI-4142 Dibs module does not return order confirmation pagePSCFI-1768Dibs payment module and CCCPSCFI-3114dibs paymentPSCFI-2178PaymentModule::getCurrency has wrong valuePSCFI-673Wrong link_rewrite field value in RussianPSCFI-4605Carrier tax with shipping cost wrong rounded value
PSCFI-3722 Layered navigation: feature customized values not available on version 1.4PSCFI-1465Incorrect Value for Caching NumRows
Description
By default DIBS module sets "test" parameter to "yes" or "no" values. This is wrong if you are not using DIBS API and it causes this error: No paytype(s)! Missing test parameter? "test" parameter can be set to 1 if test environment is enabled by DIBS if not then you'll get errors. If you are not testing do not include "test" parameter in your form. The solution to this problem:
Find file: modules/dibs/dibs.php
Find line: $dibsParams['test'] = (self::$TESTING === 1) ? 'yes' : 'no';
Replace it:
if(self::$TESTING === 1)
{ $dibsParams['test'] = 1; }It solved the problem.
DIBS module must explain to users that if hey want to test DIBS then they must contact DIBS and ask them to enable test environment. If test environment is not enabled then they will get an error.
Detailed analysis of the problem and solution can be found here:
http://www.prestashopdocumentation.info/dibs-module-no-paytypes-missing-test-parameter-error-fixed/
Hi,
Thank you. I forgot to commit this issue.
Best regards,