Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / ITransactionRepository Interface / CountForProviderTransaction Method
Id of the payment gateway
Reference of the provider's transaction
In This Topic
    CountForProviderTransaction Method (ITransactionRepository)
    In This Topic
    Counts the number of Transactions for given payment gateway Id and the provider transaction reference
    Syntax
    int CountForProviderTransaction( 
       int paymentGatewayId,
       string providerTransactionId
    )

    Parameters

    paymentGatewayId
    Id of the payment gateway
    providerTransactionId
    Reference of the provider's transaction

    Return Value

    The number of Transactions for given payment gateway Id and the provider transaction reference
    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