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

    Parameters

    payment
    The payment to force a void transaction on
    paymentGatewayId
    Id of the payment gateway used for processing
    successful
    Indicates whether to mark transaction 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