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

    Parameters

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