As developers build sites for merchants, we know that payment processing capabilities are important. But it’s not always easy to set up a payment solution that is not only reliable and secure, but also flexible and tailored to each merchant’s specific needs.
That’s why Authorize.Net has enhanced its toolset for developers, offering a new, streamlined API, better sample code and SDKs, as well as a developer forum for support. The improvements make it easy for you to help your customers get paid — with security, flexibility and scalability. They also simplify PCI compliance and make meeting the requirements easier for merchants.
Below, I’ll walk through the developer center, showing how you can use the improved tools to get your merchants’ payment solutions up and running — with just a few lines of code. If you’d like a refresher on how credit card payments work, check out the seven steps and keep the page open for reference as we go. Now, let’s get started:
Table of Contents
The Authorize.Net API makes it easy to create, capture, refund and void secure payment transactions. Offering both XML or JSON, the API works with our SDKs in six languages: PHP, C#, Java, Python, Ruby and Node.js.
The streamlined API also has the bandwidth to accept payments in every environment, meeting the demands of mobile devices and apps—from food cart to storefront and website to app.
The live console enables you to run a variety of transactions, from charging and authorizing a credit card to issuing refunds, debiting a bank account and more — without signing up for a sandbox account.
1) Run a transaction
You can run a payment transaction using the Authorize.Net API Reference in either JSON or XML, without even setting up a Sandbox account. From the “Payment Transactions” menu on the right side of the screen, you can select from more than a dozen transaction types.
2) Charge a credit card
Charge a credit card by opening the API reference, going to the “Payment Transactions” heading to the right, and selecting, “Charge a Credit Card.” Next, enter your default credentials and hit the “Send” button. You can also edit the sample request in the live console and try APIs with different combinations.
3) Try the sample code
Once you’ve run a payment, you can look at various sample code by clicking on the “Sample Code” tab in the API reference. Choose your desired sample code and language. Then click the Github link and follow the steps to clone the repository. Click download.
4) Demystify error codes
Enter the response code you’re getting from the Authorize.Net Payment Gateway into the Response Code Tool and get a clear translation and suggestions for debugging. For example, if you search for “error 44,” you’ll get the explanation (the transaction has been declined), a list of integration suggestions (using only valid card codes), plus any other relevant suggestions to solve the problem (make sure the card code submitted with the transaction matches the card code on file at the card issuing bank).
5) Test it all out
Use the Testing Guide to trigger specific transaction responses while you’re running tests in the Sandbox. You can test responses including card numbers, bank accounts, CVV responses, NOC and return codes for echecks. The guide enables you to test the most important aspects of your merchant’s payment solution.
Authorize.Net features APIs, SDKs, and sample code in six different coding languages, which makes integrating with Authorize.Net as easy as possible. Whether you want to build the next breakthrough app or simply allow your merchants to accept a range of credit cards, you’ll find an easy-to-use SDK and sample code in the language of your choice.
To explore our new sample code and SDKs, visit the github link, choose which language you’d like to use, and read the “read me file” to understand how to use it.
When using the Authorize.Net API, you can select the features you need to build a unique payment solution for each of your merchants. Choose from the nearly one dozen features below and click each link to learn more about each specific feature:
Ensuring that the sites you build are PCI compliant can be a challenge, placing your merchant at risk, as well as complicating your process of setting up a payment platform. The Authorize.Net Accept Suite enables you to build any modern site or app without increasing the PCI burden for merchants. To make that even easier, there’s also an Accept sample app at the github link. To learn more about PCI compliance, read our whitepaper, and to learn about our range of integration options, check out our Accept page.
As you’re exploring the streamlined API and improved SDKs and sample code, and using them to customize payment solutions for merchants, visit the Authorize.Net Developer Community to ask questions, network, and learn from your peers.