01-24-2013 02:02 PM
In the Java SDK, I could not find an example on how to use the Java API to make a payment using a customer profile. I saw examples in which customer information and card information were sent in a transaction, but not an example that used a customer profile itself. Hopefully, there is a way to do this.
Can someone enlighten me?
Solved! Go to Solution.
01-24-2013 02:23 PM
I just went thru this. It is NOT documented in the CIM pdf. Why NOT?
There is a CustomerGateway (class & interface) in AuthorizeNet.dll that you can instantiate (see the object model). This interface has methods "AuthorizeAndCapture()"...etc. for performing a payment request within CIM and allows you to send the customer & payment profiles. Very easy once you know where to find it! Look in the SDK sample code under the CIM folder for examples of implementing this code (at least in .NET world - CustomerGateway.cs).