Welcome Guest, Not a member yet? Register   Sign In
Aktive Merchant as a CI Lib
#1

[eluser]codeninja[/eluser]
Has anyone tried to use Aktive Merchant library inside CI?

http://github.com/akDeveloper/Aktive-Merchant

I have a HMVC based CI2.0 setup and want to use this library .. should I put it under third_party folder and then load it via a library wrapper?

Thoughts?
#2

[eluser]Unknown[/eluser]
Hi,
I dont know much about codigniter plugins, but you can load AktiveMerchant library by setting

Code:
require_once "/path/to/lib/merchant/merchant.php";

to your controller.

Then you can call the gateway you want as shown in this examples folder

http://github.com/akDeveloper/Aktive-Mer...ster/test/




Theme © iAndrew 2016 - Forum software by © MyBB