Payment gateways - 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: Payment gateways (/showthread.php?tid=29675) |
Payment gateways - El Forum - 04-17-2010 [eluser]Iwasignited[/eluser] Hi everyone. I'm wondering is there any payment gateway library for CI (2co, google checkout, etc..). If not, can we use the library downloaded from phpclasses? Thanks Payment gateways - El Forum - 04-17-2010 [eluser]Tominator[/eluser] Just type to google: "your gateway codeigniter": http://codeigniter.com/wiki/PayPal_Lib/ PayPal http://github.com/benedmunds/CodeIgniter-Google-Checkout-Library looks like G. CHO. ... If you want to use some from phpclasses, you have to rewrite it, to be compatible with CI. Payment gateways - El Forum - 04-17-2010 [eluser]Iwasignited[/eluser] Thank you for your informations. I'd like to ask how can we make classes compatible with CI? Could you show me an example please? Thanks again Payment gateways - El Forum - 04-17-2010 [eluser]Tominator[/eluser] I'm sorry I was wrong. You have rewrite it, when you want to extend existing or rewrite default. But everything what you need is copy it to: [root]/system/application/libraries/ They have to have the same name as is class name, that means: Correct one: Paypal.php Code: class Paypal { Wrong: Paypal.php Code: class Paypal_ThisMusntBeThere { Tom. |