
To test Authorize.Net, you'll need to obtain a test account and a test credit card number. You can get a test account by contacting Authorize.Net's support team.
The test account will provide you with a virtual terminal to simulate credit card transactions.
You can find a list of valid test credit card numbers in the Authorize.Net documentation, which includes numbers for Visa, Mastercard, and Discover cards.
Testing on Authorize.Net
Testing on Authorize.Net is a breeze, thanks to their sandbox environment. You can simulate connections to the card networks without processing actual card payments.
To get started, place GiveWP into Test Mode and create a Donation Form as you prefer it to be configured. Then, process a test donation using the test credit card numbers provided by Authorize.Net's Testing Guide. These numbers will always succeed in test mode as long as the expiration date is in the future.
You can use the following test credit card numbers:
For the CVC code, you can choose any three-number sequence for Visa, MasterCard, Discover, Diners' Club, Enroute, and JCB cards; and any four-number sequence for American Express cards.
You can also set your Merchant Account to run in Test Mode, or use a Developer Test Account on the Authorize.Net development server. This will allow you to use the live server and login for testing, without processing actual card payments.
Understanding Responses
Partial authorization responses are crucial to test, and you can produce specific results by using zip codes for card-not-present transactions and amounts for card-present transactions.
If the zip code is 46225, the response will be a partial authorization with an authorized amount of $1.23.
For card-present transactions, if the amount is $462.25, you'll get a partial authorization response.
Here's a breakdown of the possible responses for different zip codes:
Amounts also play a crucial role in determining the response. For instance, amounts ending in $0.40, $0.42, $0.43, $0.44, $0.45, $0.46, $0.47, $0.48, $0.49, $0.50, $0.51, $0.52, $0.53, $0.54, $0.55, $0.56, $0.57, $0.60, $0.61, $0.62, $0.63, $0.64, $0.65, $0.66, and $0.67 will result in specific responses for each card type.
CVV Responses
CVV responses can be a bit tricky to decipher, but don't worry, I've got you covered.
A CVV response of "M" indicates a successful match, which is good news.
You can use specific card codes to generate these CVV responses, such as card code 900, which returns an "M" response.

If the CVV response is "N", it means the CVV does NOT match, which can be a problem.
Here are some common CVV responses and what they mean:
These card codes can help you understand what's going on with CVV responses, and make troubleshooting a lot easier.
Partial Authorization Responses
Partial authorization responses can be a bit tricky to understand, but don't worry, I've got you covered.
In card not present transactions, using specific zip codes can produce partial authorization responses. For example, using the zip code 46225 can result in a partial authorization.
A partial authorization response typically occurs when the amount being charged exceeds the available balance on the card. In the case of zip code 46225, the authorized amount is $1.23.
If the zip code is 46226, a prepaid authorization response is more likely to occur, indicating that the full amount of $462.26 has been authorized. This is because the zip code is associated with a higher amount.
Interestingly, using the zip code 46228 results in a prepaid authorization response as well, but with a remaining balance of $0. This suggests that the full amount of $462.28 has been authorized and the card has sufficient funds.
Here's a table summarizing the partial authorization responses for different zip codes:
In card present transactions, using specific amounts can also produce partial authorization responses. For example, amounts ending in .40, .42, and .43 are typically authorized for Visa, Mastercard, American Express, and Discover cards.
Setting Up and Configuring
To get started with testing credit card numbers, you'll need to configure Authorize.net in your CiviCRM account. First, generate an API login and Transaction Key from your Authorize.net account page. This will give you the credentials you need to set up the payment processor.
Log into CiviCRM as an administrator and navigate to Administer » System Settings » Payment Processors. Here, you'll select Add Payment Processor and choose Authorize.Net as the payment processor type. Enter your API Login ID and Transaction Key values, making sure to include both live and test credentials if you have a Developer Test Account.
You can sign up for a Developer Test Account at http://developer.authorize.net/, which is highly recommended for testing purposes. This will allow you to use both your Merchant Account for live transactions and your Developer Test Account for test-drive transactions.
To use a Developer Test Account, you'll need to configure the test server in your Payment Processor Settings for Site URL. This will ensure that your test transactions are handled correctly.
Once your Merchant Account is live, you may need to modify the CiviCRM Payment Processor settings to use the live server Site URL for both test-drive and live payments. To do this, go to Account > Settings > Silent Post URL in your Authorize.net account and enter the appropriate IPN / Webhook URL.
Here's a summary of the steps to configure Authorize.net in CiviCRM:
- Log into CiviCRM as an administrator
- Navigate to Administer » System Settings » Payment Processors
- Select Add Payment Processor and choose Authorize.Net
- Enter API Login ID and Transaction Key values (live and/or test)
- Configure the test server in your Payment Processor Settings for Site URL (if using a Developer Test Account)
- Modify the CiviCRM Payment Processor settings to use the live server Site URL for both test-drive and live payments (if your Merchant Account is live)
Testing Credit Cards
Testing Credit Cards with Authorize.net is a breeze, thanks to their Sandbox environment. This simulated environment allows you to test credit card donations without actually processing any payments.
To get started, place GiveWP in Test Mode. This will enable you to test the integration between GiveWP and Authorize.net without affecting live transactions.
Next, create a Donation Form as you prefer it to be configured. This will give you a chance to test the form's functionality and ensure everything is working smoothly.
You'll need to process a test donation using the test credit card numbers provided by Authorize.net's Testing Guide. These numbers will always succeed in test mode as long as the expiration date is in the future.
Here are some test credit card numbers you can use:
Confirm the donation processed properly from the donor perspective, and also confirm the donation completed in the back end of GiveWP. Finally, confirm the donation was captured at the gateway.
Integration and Setup
To integrate Authorize.net with eProcessing Network, you'll need to have an eProcessing Network merchant account. This account will provide you with a RestrctKey, which is essential for the configuration process.
First, log into CiviCRM as an administrator and navigate to Administer CiviCRM » Global Settings » Payment Processors. Select Authorize.Net - AIM as the Payment Processor Type.
To complete the configuration, enter the Account ID in the API Login field, and the RestrctKey in both the Payment Key and MD5 Hash fields. The Site URL should be set to https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl.
Eprocessing Network Configuration
To integrate eProcessing Network with CiviCRM, you'll need to configure the payment processor. Start by generating a RestrctKey from your eProcessing Network account page. This key is required for the setup process.
Next, log into CiviCRM as an administrator and navigate to Global Settings > Payment Processors. Select Add Payment Processor and choose Authorize.Net - AIM as the Payment Processor Type.
Enter your Account ID in the API Login field, and your RestrctKey in both the Payment Key and MD5 Hash fields. This is a crucial step, as the RestrctKey is used to authenticate the transaction.
The Site URL field should be set to https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl. This ensures that the eProcessing Network server can communicate with CiviCRM.
By following these steps, you'll be able to successfully integrate eProcessing Network with CiviCRM, enabling secure and reliable transactions for your online contributions, membership sign-ups, and event registrations.
Advanced vs Simple Integration Methods

CiviCRM supports only the Advanced Integration Method for Authorize.Net, which means card information is submitted to the server and then sent to Authorize.Net as an HTTP Post form.
This method requires the server to receive the reply and parse it to determine success or failure, and if failure, the reason for failure.
The Simple Integration Method, on the other hand, submits the form directly to Authorize.Net, but without contacting the server with the results, it's difficult to track contributions, registrations, etc.
It's highly recommended to set Force Secure URLs, especially when live transactions are involved, to keep credit card information secure.
If you're testing CiviCRM, you can use the Simple Integration Method, but even then, it's a good idea to set Force Secure URLs to prevent any potential security risks.
Frequently Asked Questions
What card number is 4111 1111 1111 1111 cvv?
The card number 4111 1111 1111 1111 is a test Visa card number. It can be used with any expiry date and CVC for Windcave test accounts.
What is the test credit card number?
For interactive testing, use a test credit card number like 4242 4242 4242 4242 with a valid future date and CVC. This test card number is a standard example for testing payment forms and dashboards.
Sources
- https://developer.authorize.net/hello_world/testing_guide.html
- https://givewp.com/documentation/add-ons/authorize-net-gateway/testing-authorize-net/
- https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/authorize-net/
- https://docs.blackthorn.io/docs/test-authorizenet-payment-gateway
- https://wpgetpaid.com/test-credit-card-numbers-for-the-most-popular-payment-gateways/
Featured Images: pexels.com