Integration and Testing

Authorize.Net API questions and help with your payment integration.

Showing results for 
Search instead for 
Did you mean: 

From this board


Recorded Developer Webinars Pinned

Please find the links of our recorded developer Webinars Simplify PCI Compliance with Authorize.Net Accept Learn about Authorize.Net API Integration with OAuth 2.0 Creating Automated Workflows Using Authorize.Net Webhooks Thanks Anurag


API / Features documentation Pinned

Use the features you want to build the payment solution you need. You'll be up and running in minutes. Features : SDKS : API reference :


Use Try It Tab for testing APIs on sandbox Pinned

You can test APIs from our Try it Tab in API reference on sandbox without signup Click on the Try it tab and click send .


Use Testing Guide for Specific Transaction Responses Pinned

Using the Testing Guide, developers can trigger specific transaction responses in the sandbox including approvals, declines, errors, as well as AVS and Card Code responses. If you have questions or comments, please use this thread.

PHP Updating MD5 SIM

well... let me start by saying I am rusty... I built my wifes website MANY years ago and have not been using PHP for anything since.. basically this is what I currently have to handle the response... require_once 'anet_php_sdk/AuthorizeNet.php'; // T...

Accept.JS Hosted Payment Form Styles

Hello!We are using the AcceptJS hosted form in an application and found an odd behavior. When the form is displayed or hidden, the styles applied to show the form are _opacity_ and _visibility_. This is causing issues with how the form is being rende...

Upgrading SIM from MD5 to SHA512 Solved

I have reviewed the MD5 Hash End of Life, and I looked at the sample code. The sample code differs from the SIM guide on page 29 under submitting transactions. When I read this piece it appears that I could change the MD5 had to the SHA512 hash, gene...

MD5 -> SHA-512 Upgrade If Using Latest SDK

I received the notifcation about the EOL for MD5. I'm using AIM method. I saw all the docs about generating a key, convertiging it to a byte aray, setting up the message, etc. Knowing that I need to move away from AIM, I started working on integratin...

Accept.js is not loaded correctly

I've literally copied/pasted this code from the documentation for the Accept.js hosted payment form into an HTML file on my dev server. The documentation is available here:


Acccept Payment Page -> redirect -> customize header and footer

Hello I'm working on the integration of your service with the "Acccept Payment Page" solution.In your documentation, you said that we can use the redirect method.That's what I'm using.The payment page seems very "empty" except the small payment form....

Signature Key and Accept Hosted form

Hi, I have gone through the documented API for Accept Hosted form and the "getHostedPaymentPageRequest" api but I haven't found anyway to send encrypted data including billing information to the API. This is a deal breaker for our customer to be able...

transHashSha2 not present in API response

I have configured the signature key in my Sandbox account. On the "API Credentials & Keys" account setting page, I see "Signature Key Last Obtained:" with the timestamp of when I configured it, so it seems like it really is set. I am using the API Li...

How to redirect to Hosted Payment Page?

Hi, I'm trying to redirect to a hosted payment page using .net with c#. I have the basic app that is getting a token using 'getHostedPaymentPageResponse', and I'm putting the token received to a form and submitting the form to "https://test.authorize...

Sandbox Accept Hosted Form Error

We are trying to get off the legacy hosted payment form, but every time I click pay I get the error below: messageCode: "E00001"messageText: "Unexpected error. Please try again." The problem is coming when running transactions via the Accept Suite. I...

API Endpoints XML - Sandbox Works, Production Does Not

Hi, I am having an issue with Sandbox working everytime and Production failing every time. For Sandbox I use the following code in php:327zFYy67A66szz53F6N67YKauthCaptureTransaction2.70xxxxxxxxxxxxxxxx I used a real credit card1119002Ryan MooreRyanMo...


Hi,I have an issue with your AuthorizeNet.dll file.I added it under dependency-> assemblies inside my Core2.1 appIt give me no issues once I run build my app and even runs well and charge my demo card but I have issues with my CI under Azure Please s...


Accept Hosted Pay Button Click Event?

Hello, I am working on updating our accept hosted iframe solution. We want to create a progress bar that gets updated when the form loads (with valid token), and again after they click the payment button. Is there any way to detect when the pay butto...

Test Your Authentication Credentials - Failing

On page: I try the authentication section with API Live ConsoleTest Your Authentication CredentialsUse this method to test that your authentication credentials are valid and that they are ...

All card numbers declined with response code #2 in sandbox

I am trying to test a sandbox integration that up until a few months ago worked fine. I have been working around the issue for a while, but now I need to test successful transactions and I'm unable to.ALL transactions in my sandbox account are declin...

ECC Refund API Behavior Question

We currently use the API to issue refunds, when we do so, we - look up the last 4 of the CC, and provide that back to the API as the card number- provide the transaction id- provide the amount

Recurring Billing Subscription with multiple trial payments

I have 2 differnt scenarios that I would like to know if it supported. I have a recurring billing and I would like to offer a small trial $ (say $1) amount for 14 days, then $24.95 after the 14 days on a monthly basis. Can you allocate a smaller time...

PayPal Express checkout is not working

Dear support team,We are facing an error on each transaction type from to PayPal, even using your Live API Console: API Response Code E00027 : The transaction was unsuccessful. Transaction Response Code 57 : An error occurred during pro...


CIM, getCustomerProfileRequest, and duplicate records

I need to know if a payment profile exists for a customer, and create one if it does not. I do not know ahead of time if the customer profile exists. Documentation on Duplicate Profile Verification states that a CIM customer profile is unique based o...


php Hosted API, not getting any response

We are working on sandbox and using example given in With below code payment is processsed, token is alos generated but on return url not ...

Customize receipt if using redirect method

Hello, If I use redirect method for hosted page, it would always display receipt with continue button.Is there any way to customize that receipt content. Like text under that receipt or adding more formatted order information in it.


Need help with Accept.js and Tomcat 8.5

Hello, I am able to test using Accept.js successfully in Websphere 8.5.5, but I'm having trouble with it in Tomcat 8.5. Specifically, when I try submit the nonce, I get a null response back. In WAS I had to add a certificate to get it to work. Do I n...

Magento 2.2 CE Direct Post SHA512 Upgrade Solved

On the native Magento 2 backend for Direct Post, it does not currently support SHA512 hashing and the only input field for Direct Post on the Magento 2 Dashboard is with MD5 ( Currently Direct P...