Authorize.net Payment integration

Click Upvote picture Click Upvote · Sep 15, 2009 · Viewed 16k times · Source

I'm looking to do Authorize.net payment integration with a website using PHP.

My questions are:

1) Where I can find a tutorial, development guide, and/or code samples for doing this with PHP.

2) Is it possible to obtain a test account to do the integration like Paypal's sandbox, or does one need to have a live account to which you can pass an additional parameter to indicate the transaction is a test one?

All other advice will also be helpful. Thanks!

Answer

theIV picture theIV · Sep 15, 2009

1) I'm guessing you will be doing an 'AIM' integration (Advanced Integration Method). Authorize.net has code samples in a few different languages, including PHP. You can also find the AIM docs.

2) You can definitely get a test account which will run in test mode, as opposed to production. Different types of test credit cards can be used with your test account. I don't remember if you can sign up for it online or if you need to call and speak with someone.

In regards to 1, I have no idea how good the sample code is because I've never used it, but I'm guessing it will give you a good idea of what's going on.

EDIT: Let me not forget, I'm guessing that http://developer.authorize.net/ will become your friend if you are going to roll your own implementation. And, you can sign up for a test account online.