public static Transaction CreateErrorTransaction( int paymentGatewayId, TransactionType transactionType, decimal amount, string errorCode, string errorMessage, string remoteIP )
Parameters
- paymentGatewayId
- The id of the payment gateway.
- transactionType
- The type of the transaction attempted.
- amount
- The amount of the transaction attempted.
- errorCode
- The error code to report.
- errorMessage
- The error message to report.
- remoteIP
- The IP of the remote user initiating the transaction.
Return Value
A transaction object configured with the error message.