[eluser]chefnelone[/eluser]
Hello,
I've been using SERMEPA which is a spanish bank protocols FOR payment system.
But now it's the firs time I'll do it using codeigniter.
Basically I need to have a file call:
conexion_sis.php which sent a request to the bank system.
But I have some problem with these lines:
conexion_sis.php:
Code:
<?PHP
// If form is submitted with all required data then show the form
// else show error page
empty($Formulario) ?
ShowForm($Ds_Merchant_Amount,$Ds_Merchant_Currency,$prod) :
ShowError();
exit;
?>
I get these 3 error messages
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: Ds_Merchant_Amount
Filename: views/conexion_sis.php
Line Number: 11
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: Ds_Merchant_Currency
Filename: views/conexion_sis.php
Line Number: 11
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: prod
Filename: views/conexion_sis.php
Line Number: 11
Line 11 is: ShowForm($Ds_Merchant_Amount,$Ds_Merchant_Currency ,$prod)
If I try the same file
conexion_sis.php but NO usign CI library everything runs just fine
Should I change the lines which causes the ERRORS?
How can I solve this?
Thanks