How can We Integrate the Authorize.Net Payment Gateway in Codeigniter?

Author: Zeeshan Rasool  |  Last updated on Codeigniter, PHP, Web Development


Authorize.Net is my favorite payment mode for using in web development. It is simple, easy and secure payment connection. I use authorize.Net in my codeigniter based projects and here is the code and downloads.

This is helper for payment.

And here is your controller function:

Recommended WordPress Themes Store

If you enjoyed this post, please consider leaving a comment below or subscribing to the RSS feed to have future articles delivered to your feed reader. You can also follow us on Facebook or Twitter @99Points

This awesome post has been created by 99Points editor's team. You can follow our updates on Twitter and facebook, OR drop an email at

  • Idea is good but just publishing some piece of code will not help anyone. There is no explanation of how to implement it and most of the files are also missing. Where is the description for that?

  • Tushar Katariya


    [0] => 1
    [1] => 1
    [2] => 1
    [3] => (TESTMODE) This transaction has been approved.
    [4] => 000000
    [5] => P
    [6] => 0

    Currently i am getting this responses but i want

    [x_response_code] => 3
    [x_response_reason_code] => 5
    [x_response_reason_text] => (TESTMODE) A valid amount is required.
    [x_avs_code] => P
    [x_auth_code] => 000000
    [x_trans_id] => 0
    [x_method] => CC

    This type of responses can you help me how i can get this?

  • Prabhdeep Singh

    I have implemented this code and its working fine but I have requirment to save the token after every transaction. Can any body help me out.

  • Tehseen Ahmed

    kindly explain how to use these above 2 code plz

  • Junaid Khan

    Can you please provide library ?


  • Junaid Khan

    Can you please provide library ?

Email Subscriber!

Be the first to know about new updates



Popular post