Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / PaymentEngine Class / ForceAuthorize Method / ForceAuthorize(Payment,Int32,Boolean) Method
The payment to force an authorize transaction on
Id of the payment gateway used for processing
Indicates whether the authorization succeeded or failed.
In This Topic
    ForceAuthorize(Payment,Int32,Boolean) Method
    In This Topic
    Forces an authorize transaction on a payment. Marks the authorize transaction successful or unsuccessful based on the value of parameter 'successful'.
    Syntax
    public static void ForceAuthorize( 
       Payment payment,
       int paymentGatewayId,
       bool successful
    )

    Parameters

    payment
    The payment to force an authorize transaction on
    paymentGatewayId
    Id of the payment gateway used for processing
    successful
    Indicates whether the authorization succeeded or failed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also