Rock.Financial.GatewayComponent.Authorize C# (CSharp) Method

Authorize() public method

Authorizes the specified payment information.
public Authorize ( FinancialGateway financialGateway, PaymentInfo paymentInfo, string &errorMessage ) : FinancialTransaction
financialGateway FinancialGateway The financial gateway.
paymentInfo PaymentInfo The payment information.
errorMessage string The error message.
return FinancialTransaction
        public virtual FinancialTransaction Authorize( FinancialGateway financialGateway, PaymentInfo paymentInfo, out string errorMessage )
        {
            errorMessage = "Gateway does not support Authorizations";
            return null;
        }