AuthorizeAndCapture Method (String, String, Decimal, Decimal, Decimal)

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Authorizes and Captures a transaction using the supplied profile information with Tax and Shipping specified. If you want to add more detail here, use the 3rd option - which is to add an Order object

Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0

Syntax

C#
public IGatewayResponse AuthorizeAndCapture(
	string profileID,
	string paymentProfileID,
	decimal amount,
	decimal tax,
	decimal shipping
)
Visual Basic
Public Function AuthorizeAndCapture ( _
	profileID As String, _
	paymentProfileID As String, _
	amount As Decimal, _
	tax As Decimal, _
	shipping As Decimal _
) As IGatewayResponse
Visual C++
public:
virtual IGatewayResponse^ AuthorizeAndCapture(
	String^ profileID, 
	String^ paymentProfileID, 
	Decimal amount, 
	Decimal tax, 
	Decimal shipping
) sealed

Parameters

profileID
Type: System..::..String
The profile ID.
paymentProfileID
Type: System..::..String
The payment profile ID.
amount
Type: System..::..Decimal
The amount.
tax
Type: System..::..Decimal
The tax.
shipping
Type: System..::..Decimal
The shipping.

Return Value

Implements

ICustomerGateway..::..AuthorizeAndCapture(String, String, Decimal, Decimal, Decimal)

See Also