Integration and Testing

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

cancel
Showing results for 
Search instead for 
Did you mean: 

From this board

Anurag
Moderator

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

Anurag
Moderator

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 : https://developer.authorize.net/api/ SDKS : https://github.com/AuthorizeNet API reference : https://developer.authorize.net/api/referenc...

Anurag
Moderator

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 https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card Click on the Try it tab and click send .

RichardH
Administrator

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.

x_relay_url does not work in my html

Hi, After the transaction is over, I expect the response in my result page by using the relay url but it still stays on the authorize.net server. Can you help me out?---- this is my html form ocde --

dnsBuffaloNY
Contributor

WebHooks Wrapper

I created a c# .Net wrapper around the WebHooks Rest API. I'll be using in a project that I am working on and thought I would share. If you are intereted, here it is: https://github.com/dns12345/AuthNet.WebHooks Hope it helps!

ssimons
Contributor

employeeId

I looked in the API Guide and it says that if you use EVO payment processor that you need to include "employeeId" in your request. Looking at the guide, it is unclear where "employeeId" goes into the XML tree structure. I tried this and it didn't wor...

dhara
Member

Sandbox Unsettled Transactions

1) I have created a test account on Authorize.net and I tried to use "4111-1111-1111-1111" credit card number with 2020/12 expiration date to post a transaction on the test account. My test transactions were shown under "Unsettled Transactions". I wo...

Accept.js PHP SDK

Is it possible to use the php SDK with Accept.js? I see raw xml examples and tried using the AIM class without any luck.. Here are examples of what I have tried: $transaction = new AuthorizeNetAIM ('xxx', 'xxx');$transaction->amount = $amount;$transa...

ssimons
Contributor

Understanding Request and Response

@Aaron was nice enough to provide me some code to do basic Authorize & Capture CC processing. I think I have finally figured out how the XML template works, but am struggling to understand the code related to the request and response. Here is the cod...

raviparmarce88
Regular Contributor

DPM / Accept.js Solved

Hi Team, I am quite new to Authorize.net I am trying to implement DPM with accept.js as per upgrade guide. But i am not sure how to send billing informaiton with this method ? Can anyone please help me or share some sample java code with accept.js

Can I create a recurring subscription from Apple Pay?

Can I create a recurring subscription from Apple Pay? The API docs say the dataDescriptor value must be COMMON.ACCEPT.INAPP.PAYMENT. But Apple Pay uses a different dataDescriptor value. Does that mean that I can't create a subscription from Apple Pay...

Issue with Get Customer Profile using merchantCustomerId

Hi, I am using the Authorize.Net SDK (Nuget Package) in my C#.NET project to make the API calls. I was looking at the API reference for getCustomerProfile ( http://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profil...

Accept Hosted Recurring Billing?

Hello, I am working on developing a new website that has a subscription based model and a one time setup fee. We'd like to use Accept Hosted in order to only have to deal with PCI Compliance SAQ-A, but I'm having trouble finding documentation related...

Error #122. Authentication Failed.

I'm using Authorize.net with S2Member Pro and I've been able to accept payments until now.When someone fills out this form -https://www.livebeyondfacebook.com/payfullthey get an error: Error #122. Authentication Failed. I looked that error up here an...

Convert Simple Checkout Code to Emailable Link

On PayPal and Square, I'm able to send an email with a link that my customers can click which takes them to a hosted payment page. It seems like Authorize.net's "Simple Checkout" process is similar, however it requires that I embed the code on a web ...

dnsBuffaloNY
Contributor

Subscription Transactions? Solved

Is there any API to get a list of transactions for a given subscription id? Maybe I totally missed it, but I don't see and API to do this. As an alternative, it looks like I can load the subscription to get the customerProfileId and payentProfileId, ...

sudox
Member

Unanticipated Error Occured Hosted Payment Solved

Hello world! I am having an issue testing the hosted payment form option for authorize.NET. I used the C# API to generate a token for a hosted payment page and have tried using both iframes and redirection posts to get the hosted page, however they e...

sands904
Contributor

Accept Hosted vs SIM

We are currently using SIM and trying to get things changed over. I have a basic payment form showing and seems to be working fine. Now the hard part..... 1. How do we pass the individual item information of what the client is paying for?2. How do we...

Capture hosted form success

I'm trying to use hosted form to add payment in my app. Can you help me please, how can I capture moment when i get success? My html seems like: And my JS seems like: function useAuthorizeNetFn(token){ $scope.authorizeNetToken = token; $('#aNetForm')...

Overwrite Invoice Number and Customer ID

Hello, I would like to overwrite the Invoice Number and Customer ID fields in the Merchant and Transaction Reciept. I am currently using gravityforms and have been able to add custom fields to the receipt but not in top areas of the receipt using the...

vmyles
Member

error E00114 - Invalid OTS Token Errors

Hi This is my first attempt to implement the Accept.js API. The application I'm integrating into as a .NET web application. Using the sample provided I am consistently able to pass card data the the Authorize.net service and get back a success respon...

ssimons
Contributor

Populating XML Template

@Aaron, When you helped me earlier, you included this... //modify the template to add apropriate values $xml->merchantAuthentication->addChild('name',$loginId); $xml->merchantAuthentication->addChild('transactionKey',$transactionKey); //add the payme...

getHostedPaymentPageRequest request seems currently useless

I have not yet discovered a reliable way to associate a transaction to an order, if that transaction is initiated with 'getHostedPaymentPageRequest'. The response includes a token but no transaction identifier. When initiating the request with almost...

Gateway sending an array instead of a map of auth information

We had a server crash and upon rebuilding everything, when an order is submitted from our website, I get different values passed back then before via the API. Before, the auth information was returned as a "map" which I was able to parse out and comp...

ssimons
Contributor

Environment Variables vs. PHP Constants

@Aaron, In another thread where you were trying to help me out, you posted this code in a response... // the following assumes you've put your credentials in somewhere // as environment variables called "API_LOGIN_ID" and "TRANSACTION_KEY" $loginId =...

AcceptJS Refund a transaction

Hello, I'm trying to refund a transaction using NodeJS (backend) / AcceptJS. Here is what I'm trying to do. Get opaqueData from AcceptJS (so I don't have to send CC info to my server)Using opaqueData, doing a authorize and capture on the CC in my Nod...

dnsBuffaloNY
Contributor

Charge a Credit Card - Shipping Name Length? Solved

Hello, I'm looking through the API Reference at the Charge a Credit Card API Method. I don't see where it specifies the maximum length for these fields:TaxNameDescriptionShippingNameDescriptionDutyNameDescriptionWhat is the max length of the "Name" a...

dustin1
Contributor

Missing fields Order Number and Email Address Solved

Hi, I'm using the php-sdk, and I have created a CustomerAddressType->setEmail('..') and added it to the TransactionRequestType()->setBillTo(...) All the other information, including the phone number, shows up in the "Customer Billing Information" of ...