Authorize.net CIM - getting the transaction id
Reported by Jxtps | June 2nd, 2008 @ 02:33 PM
There are some significant, but seemingly unnecessary differences between the "regular" auth.net AM API and the CIM version. Specifically, the CIM version does not expose the transaction id necessary for subsequent credits/voids/whatever.
In the regular auth.net implementation, this is exposed through the response.authorization member.
In CIM, response.authorization is only used for the CIM billing id, but left empty for actual charge transactions.
I've attached a patch that retains the billing id behavior for all transaction types, except the actual charge transaction, where it instead contains the actual transaction id.
Tests also updated and pass.
Comments and changes to this ticket
-
Dusty Matthews June 30th, 2008 @ 05:54 PM
- → Tag changed from to cim gateway patch
+1 this. Seems to work for me.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
