cancel
Showing results for 
Search instead for 
Did you mean: 

Validate that the transaction can be made

Hello,

 

Is there any way that we can validate that the transaction can be made. I mean an "Authorize Only" type of transaction, since the actual transaction will be at the end of the day?

 

We are using php for testing a t this moment with direct post method (DPM) and server integration method (SIM). We are working on a form where our agents put the credit card, the amount, the expiration date, then they post the information to authorize.net and receive an approved or rejected notifacation without charge the card.

Thank you in advance.

 

Voicete4m
Member
2 REPLIES 2

Looking at the code examples in SIM.markdown (since DPM seems to be an extension of SIM), I don't see any mention of authorizing transactions vs authorize and capture. Have you considered just getting an SSL certificate and implementing AIM instead? AIM is fairly straightforward and does specifically allow for authorizeOnly() and priorAuthCapture().

TJPride
Expert

Actually, Authorize Only transactions can be run thorugh any of our APIs.  The same variable used for AIM (x_type="AUTH_ONLY") can be used for SIM.  However, it is not possible to run the later prior_auth_capture call to complete the transaction through SIM.  You would need to implement a basic AIM script for that portion of the transaction, but it wouldn't have to handle any card data.