cancel
Showing results for 
Search instead for 
Did you mean: 

Get eCheck previous transaction status

In my system whenever customer places order thru eCheck (ACH) that order status sets to "Hold".

 

 

Now i want to change the status of this order whenever transaction get settled into the merchant's account.

 

is there any API thru which i can get the status of the previous transaction and can set order status accordingly?

 

from  eCheck.Net® Operating Procedures and User Guide  

Because the availability of funds is not verified in real time, you should wait at least the same amount of time as your funds holding period before shipping or providing access to merchandise purchased using eCheck.Net.

 

 

Because funds are not verified in real time, eCheck.Net transactions are NOT guaranteed. For example, unauthorized transactions may result in returns and/or chargebacks.

 

shwet
Member
14 REPLIES 14

What does a successful status look like?

What does a successful approved eCheck transaction look like. The documentation is very vague, I make a getTransactionDetailsRequest, but what field should I look at, and what is the value for an approved eCheck?

Something like the following- please note that this transaction has an associated returned eCheck in the GetTransactionDetails results - look at the returnedItems node.

 

You can try it out in the sandbox with your own test account here:

https://developer.authorize.net/api/reference/#payment-transactions-debit-a-bank-account

https://developer.authorize.net/api/reference/#transaction-reporting-get-transaction-details

 

<getTransactionDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>XXXXX</name>
<transactionKey>XXXXXX</transactionKey>
</merchantAuthentication>
<transId>1234567890</transId>
</getTransactionDetailsRequest>

 

<?xml version="1.0" encoding="utf-8"?>
<getTransactionDetailsResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<transaction>
<transId>1234567890</transId>
<submitTimeUTC>2018-05-30T21:14:13.477Z</submitTimeUTC>
<submitTimeLocal>2018-05-30T18:44:13.477</submitTimeLocal>
<transactionType>authCaptureTransaction</transactionType>
<transactionStatus>settledSuccessfully</transactionStatus>
<responseCode>1</responseCode>
<responseReasonCode>1</responseReasonCode>
<responseReasonDescription>Approval</responseReasonDescription>
<AVSResponse>P</AVSResponse>
<batch>
<batchId>123456789</batchId>
<settlementTimeUTC>2018-05-30T21:14:15.54Z</settlementTimeUTC>
<settlementTimeLocal>2018-05-30T18:44:15.54</settlementTimeLocal>
<settlementState>settledSuccessfully</settlementState>
</batch>
<order>
<invoiceNumber>123456</invoiceNumber>
<discountAmount>0</discountAmount>
<taxIsAfterDiscount>false</taxIsAfterDiscount>
</order>
<authAmount>12.22</authAmount>
<settleAmount>12.22</settleAmount>
<taxExempt>false</taxExempt>
<payment>
<bankAccount>
<routingNumber>XXXX0204</routingNumber>
<accountNumber>XXXX1412</accountNumber>
<nameOnAccount>Account Owner</nameOnAccount>
<echeckType>WEB</echeckType>
</bankAccount>
</payment>
<customer>
<email>blackhole@authorize.net</email>
</customer>
<billTo>
<address>123 test st</address>
<phoneNumber>2065551212</phoneNumber>
<faxNumber>2065551212</faxNumber>
</billTo>
<shipTo>
<address>123 test st</address>
</shipTo>
<recurringBilling>false</recurringBilling>
<returnedItems>
<returnedItem>
<id>1234567891</id>
<dateUTC>2018-05-30T21:15:58Z</dateUTC>
<dateLocal>2018-05-30T18:45:58</dateLocal>
<code>R01</code>
<description>Insufficient Funds</description>
</returnedItem>
</returnedItems>
</transaction>
</getTransactionDetailsResponse>

I realize this is an old thread, so my apologies, but...

 

I see the <returnedItem> section in your example.  But if it is returned, then why is the <settlementState> = "settledSuccessfully"?

 

Was it settled successfully or was it returned?

hschlossberg
Member

I realize this is an old thread, so my apologies, but...

 

I see the <returnedItem> section in your example.  But if it is returned, then why is the <settlementState> = "settledSuccessfully"?

 

Was it settled successfully or was it returned?

hschlossberg
Member