CI + (SERMEPA) spanish bank protocols FOR payment system - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI + (SERMEPA) spanish bank protocols FOR payment system (/showthread.php?tid=32409) |
CI + (SERMEPA) spanish bank protocols FOR payment system - El Forum - 07-22-2010 [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 I get these 3 error messages Code: A PHP Error was encountered 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 CI + (SERMEPA) spanish bank protocols FOR payment system - El Forum - 07-27-2010 [eluser]Xoan SampaiƱo[/eluser] You need to define $DS_Merchant_Amount, $DS_Merchant_Currency, and $prod as $data array() in your controller action and pass it then to the view: Code: // $DS_Merchant_* and $prod should be declared in this controller action |