Reply
Highlighted
Member
Posts: 5
Registered: ‎04-08-2011

How can I capture multiple transactions at once using AIM?

How can I capture multiple transactions at once?  Not with the merchant interface, but in code.  I can capture them one at a time with the following HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
  <title>Capture Prior Transaction</title>
</head>
 
<body onload="document.PostPayment.submit()">
   <form name="PostPayment" method="post" action="https://test.authorize.net/gateway/transact.dll" >
     <input type="hidden" name="x_login" value="MyAPILogin" />
     <input type="hidden" name="x_tran_key" value="MyTransKey" />
 
     <input type="hidden" name="x_delim_data" value="TRUE" />
     <input type="hidden" name="x_delim_char" value="~" />
     <input type="hidden" name="x_relay_response" value="FALSE" />
 
     <input type="hidden" name="x_type" value="PRIOR_AUTH_CAPTURE" />
     <input type="hidden" name="x_trans_id" value="2160297358" />
 
    <p>Please wait ....</p>
    <p></p>
    </form>
</body>
</html>

How do I send a whole list of TransactionIDs?  Which lines do I repeat?  My trial-and-error attempts result in only the last TranID being processed.

We don't want to capture until we ship the product. At the end of the day our custom software has a list of what needs to be captured.  My software is mostly Delphi code.  I have Delphi code creating HTML, and it is working fine.  I just need sample HTML for multiple captures.  At the end of the day I need to be able to capture all but 5-6 out of a list of 200-300.

Highlighted
All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: How can I capture multiple transactions at once using AIM?

Hi Debby,

 

There currently is no way to submit multiple transactions through the API. The only way to do that is to use the batch upload feature of the Merchant Interface. If you're using the API, you need to submit all the required fields for each transaction you need to submit.

 

Thanks,

 

Michelle

Developer Community Manager

Highlighted
Member
Posts: 5
Registered: ‎04-08-2011

Re: How can I capture multiple transactions at once using AIM?

Thank you for the reply.  By "batch upload feature" do you mean manually opening the Merchant Interface and using the Check All button?  Or is there some way I can upload a file:?

 

I need to be able to capture all except 5 or 6 transactions out of a few hundred.  Not easy to find those few, eyeballing a list on a web screen.  Neither is it practical to submit 300 separate AIM requests.  Takes too much time to wait for each response before sending next request.

 

Am I trying to go about this the wrong way?  The accountants absolutely refuse to let us capture charges until we have completed the order.  Do other companies really do this manually?  Or am I missing something about the Merchant Interface "batch upload"?  Is there some way I can create an upload file?

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How can I capture multiple transactions at once using AIM?

The Upload Transactions Files in under Tools on the Merchant Interface. Then just follow the instruction.

Highlighted
Member
Posts: 5
Registered: ‎04-08-2011

Re: How can I capture multiple transactions at once using AIM?

Ah, this helps.  I was looking at a different section of the Merchant Interface.   This is almost what I want. 

 

The final piece is that I have been trying to keep my users out of the Merchant Interface. It looks like they still have to log in to upload this file.  This will be the only non-automatic part of my entire system.  5 gateways, total transactions of $1million a month, and this is the only manual piece.  5 different departments each have to do this manually at the end of their business day.  It seems as though this would easily lend itself to becoming part of the AIM or API system. 

 

Is there any hope that it might be added?

Highlighted
All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: How can I capture multiple transactions at once using AIM?

Hey Debby,

 

An automated batch upload is definitely on the list of development teams' feature requests as it's a fairly common request that we hear. I don't, however, have any kind of timeframe to give on when that could possibly be implemented. But when and if it ever is, we'll announce it here on the community first in the News and Announcements board.

 

Thanks,

 

Michelle

Developer Community Manager

Highlighted
Member
Posts: 5
Registered: ‎04-08-2011

Re: How can I capture multiple transactions at once using AIM?

Ok.  Thank you both for your help.

Highlighted
Member
Posts: 2
Registered: ‎10-20-2011

Re: How can I capture multiple transactions at once using AIM?

I'd also really like to see this feature!

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: How can I capture multiple transactions at once using AIM?

Your problem is that you're submitting the transactions serially - as in having to wait for each one to process before you can move on to the next one. There's no reason why you couldn't use forks or threading to process multiple transactions at a time in parallel. You could also have an automated process that just runs forever until it's done, which with only a few hundred transactions per day would probably take around an hour. Just have the automated process run at the end of the business day or in the middle of the night.

 

Batching really shouldn't be necessary unless you have thousands of transactions, and even then you might be able to work around it using the methods outlined above.

Highlighted
Member
Posts: 2
Registered: ‎10-20-2011

Re: How can I capture multiple transactions at once using AIM?

Yes, we could have a process that periodically runs to capture any authorized transactions w/ pending capture. However, as far as I can tell, each transaction will be in its own batch... there's no way to "group capture" like you can on the merchant interface.

http://www.authorize.net/support/CP/helpfiles/Search/Unsettled_Transactions/Capture_Unsettled_Transa...

 

We prefer to group capture, because we get charged for each batch close (and from each card vendor on top of that). We capture once a week to cut down on credit card fees.