12Apr/116
Adding the Authorize.net PHP SDK to CodeIgniter 2.0
This is a follow up post to my initial Adding the Authorize.net PHP SDK to CodeIgniter 1.7. Now that CI 2.0 is out the plugins are long gone.
So after a couple of minuted fiddling with this, I managed to get the Authorize.net API working as a library in CI
Here is what you need to do :
- Step 1 – You need to download the PHP SDK from Authorize.net, you can get it here
- Step 2 – Copy the AuthorizeNet.php file and the lib folder into your copy of CI’s application/libraries folder
- Step 3 – Rename the file AuthorizeNet.php to Authorizenet.php
- Step 4- Add this to code to Authorizenet.php
14Nov/1011
Adding the Authorize.net PHP SDK to CodeIgniter 1.7
I am writing a site that requires credit card processing through authorize.net. I am building the site using the CodeIgniter framework. I was thinking I would have to do some fancy hacking or using a 3rd party library to make this work but it turns out that you can user the SDK provided by Authorize.net directly into CI. here is what you need to do.