Calls the ProcessPayment method on the appropriate provider to process the payment

Namespace: Asi.iBO.Commerce
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static PaymentGatewayResponse ProcessPayment(
	TransactionType transactionType,
	CPayment payment,
	CAddressBasic billingAddress
)
Visual Basic
Public Shared Function ProcessPayment ( _
	transactionType As TransactionType, _
	payment As CPayment, _
	billingAddress As CAddressBasic _
) As PaymentGatewayResponse
Visual C++
public:
static PaymentGatewayResponse^ ProcessPayment(
	TransactionType transactionType, 
	CPayment^ payment, 
	CAddressBasic^ billingAddress
)

Parameters

transactionType
Type: Asi.iBO.Commerce..::..TransactionType
The type of transaction to perform. e.g., Sale, Authorization, Void, etc.
payment
Type: Asi.iBO.Financials..::..CPayment
A CPayment object with all of the payment details filled in.
billingAddress
Type: Asi.iBO.ContactManagement..::..CAddressBasic
The billing address associated with payment being made. e.g., the credit card's billing address.

Return Value

A PaymentGatewayResponse object containing details about the results of the payment processing.

Exceptions

ExceptionCondition
Asi.iBO..::..PaymentProcessingExceptionThrown if payment is null, or if the payment's PaymentAuthorizationAccount is null, or if the authorization account's AccountCode is null.

See Also