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.

How do I set the invoiceNumber in the .NET SDK using VB.nET Locked

I have been trying to wrap my brain around the invoiceNumber field. It's blank in my transaction e-mail and I want to be able to set the invoice number in the VB.NET SDK. What I have found so far is that invoiceNumber is a part of the transaction req...

Sporadic connections for OAuth testing Solved

I'm trying to work through the OAuth process with redirecting to the merchant mentioned here. I have a test partner account and have the application configured...

Setting up multiple payment gateways

Hello, We're working on integrating a payment gateway for donations on a client's website. The client's parent organization uses Currently our client links off-site to the parent organization for donations, which isn't ideal for optimi... and Magento 2.4

Magenta updated to version 2.4 and as of now, doesn't support Will Magento 2.4 be able to integrate with at a later date? What are the necessary steps for customers that have Magento 2.4 and

CORS issue on requests made within responseHandler

CORS issue on requests made within responseHandler. When trying to make an api call to submit the payment token generated from the hosted fields AcceptCore.js, it will trigger CORS issues sometimes. The issue seems to happen on and off. It works for ...

priorAuthCaptureTransaction returned transID

We use AUTH_ONLY which returns a TransId to us. Then we call priorAuthCaptureTransaction, referencing the TransId from the Auth_Only call. In this case, we are sending over an amount less than the authorized amount. (example, we authorize for $100, b...

Relay Response script Timed out

Hi Team, The Relay Response from says Script timed out . My relay response url is I was getting successful message for some time with the same code.Later I am start getting Your script timed out wi...

Echeck The transaction cannot be found

When we try to refund echeck we get "Transaction cannot be found". We have made the credit echeck transaction to a bank account and when we try to refund the same we get above error. But we don't get this error when we refund debit echeck transaction...


SIM test mode, post back instant timeout starting 1/5 4:00pm eastern.

Wondering if anyone else is experiencing issues with SIM, production endpoint in test mode. We have an Authorize.Net account which is still working in production. We were integration testing a new software release on our test server and successfully ...

Modal Popup in Accept Customer

I'm using the hosted profile page to manage customer's payment profiles in a bootstrap modal window that I've created. The resize from the iFrame Communicator works fine when editing a profile, however when "Add New Payment Method" is clicked, a new ...


Chained payments for sales tax and VAT

I realize that currently does not support chained payments the way PayPal does. However, the new rules out of the UK as of January 1st and the EU as of July 1st require that vendors collect and remit VAT even if they are not in the UK o...

Subscription Documentation wrong?

I'm trying to add the orderNumber to a subscription so that I can have two to the same customer (I'm getting duplicate submission errors). I've gone to the playground here:


Syncing eCheck transactions and settlement

We have a system that maintains synced info on AuthNet Transactions. We are dealing with an issue with eCheck transactions. They show up in settled batches but have a pending status for a few days, at which point they then all change to settled (succ...

Best practices for automated integration tests

Hello. I have a bunch of services and some of them are state-full. So I`m looking for best practice how to test it in CI.For example I need to run a whole services setup, test it as a black box, kill some services, test again and run those services a...

UpdateCustomerPaymentProfile from CC to Echeck Solved

I'm calling UpdateCustomerPaymentProfile to update a payment method. Currently, the payment method is credit card and I am calling UpdateCustomerPaymentProfile with echeck details. Error I'm getting : 3,1,289,This processor does not accept zero dolla...

Transaction Details API

In transaction detail API1. If transactionStatus = 'settledSuccessfully', we can assume transaction completed.2. If transactionStatus = 'capturedPendingSettlement', we can assume transaction is in pending.I want to know what will be the transactionSt...

mySQL 5.7 Aurora DML auditing options

What options are available in mysql5.7 AWS Aurora to perform DML auditing?I have compliance requirements to preserve the previous version of data prior to changeI have tried the MariaDB Audit Plugin connected to CloudWatch log. Even with QUERY_DML op...

Finding simplified table auditing configure options in mysql

HelloI'm creating my first MySQL database although I even have 10+ years in SQL Server. i feel SS has an auditing option which can automatically record the history of all row changes. I'd rather not add the subsequent columns to my MySQL tables b/c t...

XML namespace throwing 500 Error. Solved

I am using the transactionCaller.php script in Laravel. It is giving me an error "local.ERROR: simplexml_load_string(): namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute" I was getting the same error on the creati...

Initialization Issue in .netcore3.1

Need help with this. Getting an exception while executing the code below in .NET Core 3.1 works fine in .net core 2.2 ApiOperationBase.RunEnvironment = AuthorizeNet.Environment.SANDBOX; exception = The type initializer for 'AuthorizeNet.Api.Controlle...

Sandbox Accept Hosted Relay Response not working

I am try to integrate Accept hosted Form redirect method in java using java sdk in spring boot. First thing I have done in my code request for the form token by passing details as suggested in develop api reference for acc...

Error: E00027

I am trying to update but it gives Error: E00027I am using account IN Live mode and the card details stored in PaymentProfileID has been verified.

SSL error connecting to API using Ruby SDK

I've written this up in detail here but haven't gotten any replies: I'm using the following code and getting an SSL error. We're connecting t...

Unit vs integration tests under limited time?

Hi! We're working on a pretty large app, and have barely enough time to finish the features, with no way to get more time for this project.Because of this limited time, we haven't been doing any testing (apart from acceptance tests). At the moment, w...