cancel
Showing results for 
Search instead for 
Did you mean: 

how to set API action

This doesn't work because "ApiAction" is readonly:

 

Dim objRequest As New AuthorizationRequest("4111111111111111", "1216", 10.0, "Test Transaction")
objRequest.ApiAction = RequestAction.Authorize

 

How do I set the ApiAction to "RequestAction.Authorize"?

 

Perry
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

There a CaptureRequest()

View solution in original post

3 REPLIES 3

You could download the source and see, it look like you need to pass different param to AuthorizationRequest() to use auth_only

RaynorC1emen7
Expert

The third overide has an IncludeCapture flag which you can set to False to turn the request into a auth_only but I want to do a capture only. There is no constructor for that.

There a CaptureRequest()