cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate AIM API with our custom website?

Hi,

What is the required Request and response field for authorization request method while we are integrate it with our own website.
I have read out these link:

http://www.authorize.net/support/AIM_guide.pdf

http://www.authorize.net/support/AIM_guide_XML.pdf

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm

I have also downloaded your AIM code,

Do we need to capture all API request field for AUthorize request method & what response we get for Authorize request ?

Can any one have a sample of wcf service with AIM integration?

Please elaborate these things,So that I can Implement it properly.

I'll be hiehly thankful for your help


Thanks with Regards
Pankaj Sharma

link2pankaj87
Contributor
5 REPLIES 5

Do we need to capture all API request field for AUthorize request method

No. Just the minimum

Minimum Required Fields

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=A_TransTypeFields.h...

 

what response we get for Authorize request

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=4_TransResponse.htm...

 

 

RaynorC1emen7
Expert

Thanks,This information realy helpfull for me.

 

I understand that we need to capture Table 19 minimum required field for AuthorizeRequest method.

 

Just clerify response we get for Authorize request .

Do we need to capture all 55 response field for AuthorizeRequest method or all other method for AIM or not?

and do you have any wcf service sample code related with AIM.

 

Do we need to capture all method like : Authorization and Capture,Authorization,Prior Authorization and Capture,Capture Only,Credit,and Void or not whe we integrate with AIM API?

 

I have made sample as per your SDK AIM code but, I have confusion that how to capture that value in our service?

 

Let me explain what I do till now in our sample.

I have created one wcf service application 

and created AIM folder,then created 2 another folder for Request & response

In request folder I have added "AuthorizationRequest.cs","GatewayRequest.cs","IGatewayRequest.cs" files

and in response folder I have added "GatewayResponse.cs","IGatewayResponse.cs","ResponseBase.cs" files

and outhside these two folder I have added "Gateway.cs","IGateway.cs" files  as per SDK Authorize.net code sample.

 

Also made one Utility folder for "ApiFields.cs"

Now how to call it in our Iservice.cs file and service .svc file?

 

Please let me in brief.........

 

 

 

 

 

Do we need to capture all 55 response field for AuthorizeRequest method or all other method for AIM or not?

That your call, or what the business need. I would at the minimum save the response code and  transactionID.

 

and do you have any wcf service sample code related with AIM.

There are sample code in c# but not wcf service http://developer.authorize.net/downloads/samplecode/

 

Do we need to capture all method like : Authorization and Capture,Authorization,Prior Authorization and Capture,Capture Only,Credit,and Void or not whe we integrate with AIM API?

Do your company need all those?

 

I have made sample as per your SDK AIM code but, I have confusion that how to capture that value in our service?

I would try the sample code http://developer.authorize.net/downloads/samplecode/

 

Thanks

 

But my Question is that What is the minimum Response field for AIM,Can you mention that fields name?

And which Transaction type is most suitable for AIM?

And thanks for try the wcf sample code ,

during development I have got this type of error:

The service type provided could not be loaded as a service because it does not have a default (parameter-less) constructor. To fix the problem, add a default constructor to the type, or pass an instance of the type to the host.

If you have an idea then please share with me as soon as possible.........

and if I 'll be successful to developed wcf service ,then definitely share with Authorize.net.............

But my Question is that What is the minimum Response field for AIM,Can you mention that fields name?

From http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=4_TransResponse.htm...

Fields in the response are delimited by a character that is specified in the transaction request string (x_delim_char) or configured in the Merchant Interface.

sample of the response from the same webpage

1,1,1,This transaction has been approved.,tt9ieF,Y,2149207083,,,1.00,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,DE9F3FAD313D32144FA7EDF4B27CCE02,,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,merchant defined field 1,merchant defined field 2

 

And which Transaction type is most suitable for AIM?

Not sure what you are asking, all the transaction type listed work with AIM.

 

The service type provided could not be loaded as a service because it does not have a default (parameter-less) constructor. To fix the problem, add a default constructor to the type, or pass an instance of the type to the host.

As the error said, something doesn't have a parameter less consturctor.